feat: Add autonomous vibe mode and enhance TUI with live reasoning di…#29
Open
kahmahMaxi wants to merge 1 commit intoAnimusUNO:masterfrom
Open
feat: Add autonomous vibe mode and enhance TUI with live reasoning di…#29kahmahMaxi wants to merge 1 commit intoAnimusUNO:masterfrom
kahmahMaxi wants to merge 1 commit intoAnimusUNO:masterfrom
Conversation
…splay - Add /vibe command to trigger autonomous background process - Create vibe_mode.py script for scheduled autonomous agent interactions - Add environment variables: VIBE_MODE_PROMPT, VIBE_INTERVAL_SECONDS, VIBE_CONTROL_FILE - Implement file-based IPC for vibe mode control (start/stop/status) - Enhance TUI reasoning display to show reasoning blocks live when enabled - Improve letta_api.py to handle reasoning chunks with better chunk structure detection - Add reasoning toggle support (respects /reasoning command) - Update README.md with vibe mode documentation and configuration - Add vibe_mode.py with logging and graceful shutdown handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature: Autonomous Vibe Mode & Enhanced TUI Reasoning Display
🎯 Overview
This PR adds autonomous vibe mode functionality and enhances the TUI with live reasoning display capabilities, allowing users to see the agent's thinking process in real-time when enabled.
✨ New Features
1. Autonomous Vibe Mode (
/vibecommand)/vibe- Start autonomous vibe mode/vibe stop- Stop the autonomous process/vibe status- Check if vibe mode is running.vibe_control.jsonfor reliable inter-process communicationvibe_mode.log) for monitoring autonomous operations2. Enhanced Reasoning Display
/reasoningtoggle/reasoningcommand📝 Configuration
Add these optional environment variables to your
.envfile:Default Values
VIBE_MODE_PROMPT: Uses a default trading-focused promptVIBE_INTERVAL_SECONDS: 180 seconds (3 minutes)VIBE_LOG_FILE:vibe_mode.logVIBE_CONTROL_FILE:.vibe_control.json🚀 Usage
Starting Vibe Mode
This will:
Stopping Vibe Mode
Checking Status
Enabling Reasoning Display
Type
/reasoningagain to disable.📁 New Files
vibe_mode.py- Autonomous background script for vibe modeanimaos/- Enhanced TUI module structuretests/test_knowledge_base.py- Knowledge base teststests/test_transcript.py- Transcript handling tests🔧 Modified Files
config.py- Added vibe mode configuration variablestui_app.py- Added/vibecommand handler and enhanced reasoning displaysimple_chat.py- Added/vibecommand support for simple interfaceletta_api.py- Improved reasoning chunk detection and handlingREADME.md- Updated documentation with vibe mode commands and configurationenv.example- Added vibe mode environment variable examples🧪 Testing
All existing tests pass. New functionality has been tested with:
🔒 Safety Features
📚 Documentation
/vibecommands🎨 UI/UX Improvements
.vibe_control.json) should not be committed (add to.gitignoreif not already)vibe_mode.log) should not be committed/reasoningtoggle - it's opt-in by default✅ Checklist
Ready for review and merge 🚀