Documentation Index
Fetch the complete documentation index at: https://mintlify.com/QuantaAlpha/RepoMaster/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Backend modes provide direct command-line access to RepoMaster’s specialized AI agents. Each mode offers unique capabilities optimized for specific task types.Unified Mode (Recommended)
Description
Fromlauncher.py:9 and 372-435, the unified mode provides intelligent multi-agent orchestration with automatic task routing.
Key Features:
- 🧠 Automatic agent selection based on task analysis
- 🤝 Seamless coordination between multiple agents
- 🎯 Context-aware routing for optimal performance
- ⚡ Zero configuration required
Launch Command
Welcome Screen
Fromlauncher.py:394, unified mode displays a custom welcome panel with:
- Working directory information
- Available capabilities
- Usage instructions
- Interactive command prompt
How It Works
Fromlauncher.py:372-435, the unified mode:
- Creates RepoMasterAgent with LLM and execution configs
- Initializes ConversationManager for context tracking
- Displays welcome message via
print_unified_mode_welcome() - Enters interactive loop:
- Accepts user task description
- Optimizes prompt with conversation context
- Analyzes task intelligently
- Selects and coordinates optimal agents
- Returns comprehensive results
Task Processing
The unified mode usessolve_task_with_repo() method (launcher.py:423):
- Analyzes task requirements
- Selects appropriate agent(s)
- Coordinates multi-agent workflows
- Synthesizes final results
Example Session
Interactive Commands
| Command | Action |
|---|---|
quit, exit, q | Exit the program |
history, h | Display conversation history |
clear, c | Clear conversation context |
Use Cases
Best for:- General programming tasks
- Complex multi-step workflows
- Tasks requiring multiple agent types
- When you’re unsure which specific agent to use
DeepSearch Mode
Description
Fromlauncher.py:10 and 154-215, DeepSearch mode provides direct access to advanced web search and information synthesis capabilities.
Key Features:
- 🔍 Advanced search query optimization
- 🌐 Real-time web information retrieval
- 📊 Information synthesis and analysis
- 🎯 Research-focused outputs
Launch Command
Implementation Details
Fromlauncher.py:154-215, DeepSearch mode:
- Imports AutogenDeepSearchAgent from
src.services.agents.deep_search_agent - Creates agent with LLM and execution configurations
- Initializes conversation manager for context
- Displays welcome message with features:
- ”🔍 Advanced search & query optimization”
- ”🌐 Real-time web information retrieval”
- Processes queries via
agent.deep_search()async method
Search Processing
Fromlauncher.py:209-212:
Example Session
Use Cases
Best for:- Research tasks requiring web search
- Information gathering and synthesis
- Technical documentation lookup
- Market research and competitive analysis
- Fact-checking and verification
General Assistant Mode
Description
Fromlauncher.py:11 and 217-284, General Assistant mode provides direct access to programming assistance capabilities.
Key Features:
- 💻 General purpose programming assistance
- 🔧 Code writing, debugging and optimization
- 📚 Algorithm implementation & debugging help
- 🎓 Educational programming support
Launch Command
Implementation Details
Fromlauncher.py:217-284, General Assistant mode:
- Creates RepoMasterAgent with configurations
- Initializes conversation manager for “general_assistant” mode
- Displays welcome with features:
- ”💻 General purpose programming assistance”
- ”🔧 Code writing, debugging and optimization”
- ”📚 Algorithm implementation & debugging help”
- Processes tasks via
run_general_code_assistant()method
Task Processing
Fromlauncher.py:275-278:
Example Session
Use Cases
Best for:- Algorithm implementation
- Code debugging and optimization
- Programming concept explanations
- Code refactoring
- Learning programming patterns
Repository Agent Mode
Description
Fromlauncher.py:12 and 286-370, Repository Agent mode provides direct access to repository exploration and task execution.
Key Features:
- 📁 Repository analysis & structure modeling
- 🔧 Autonomous code exploration and execution
- 🏗️ Multi-repository coordination
- 🎯 Task-oriented repository interaction
Launch Command
Implementation Details
Fromlauncher.py:286-370, Repository Agent mode:
- Creates RepoMasterAgent with configurations
- Initializes conversation manager for “repository_agent” mode
- Displays welcome with features:
- ”📁 Repository analysis & structure modeling”
- ”🔧 Autonomous code exploration and execution”
- Accepts task description AND repository path/URL
- Optionally handles input data files
- Processes via
run_repository_agent()method
Input Workflow
Fromlauncher.py:322-367, the agent prompts for:
- Task Description: What you want to accomplish
- Repository: GitHub URL or local path
- Input Data (optional): Additional data files needed
Task Processing
Fromlauncher.py:360-364:
Example Session
Use Cases
Best for:- Repository exploration and understanding
- Code analysis across multiple files
- Automated task execution in repositories
- Documentation generation from code
- Cross-repository operations
Conversation Management
All backend modes include conversation management fromlauncher.py:
ConversationManager
Each mode creates a conversation manager:Context Optimization
All modes optimize prompts with context:- Multi-turn conversations
- Context-aware responses
- Conversation history tracking
- Prompt optimization
Configuration
LLM Configuration
All modes use configuration fromModeConfigManager:
Execution Configuration
Includes:- Working directory
- Code execution settings
- Timeout values
- Resource limits
Best Practices
Mode Selection
Performance Optimization
Error Handling
Advanced Usage
Scripting with Backend Modes
You can script backend modes using input redirection:Custom Work Directories
API Provider Selection
Comparison Table
| Feature | Unified | DeepSearch | General Assistant | Repository Agent |
|---|---|---|---|---|
| Web Search | ✅ Auto | ✅ Primary | ❌ | ✅ Auto |
| Code Generation | ✅ Auto | ❌ | ✅ Primary | ✅ Auto |
| Repo Analysis | ✅ Auto | ❌ | ❌ | ✅ Primary |
| Multi-Agent | ✅ | ❌ | ❌ | ❌ |
| Auto-Routing | ✅ | ❌ | ❌ | ❌ |
| Best For | General Use | Research | Pure Coding | Repo Tasks |
See Also
- Web Interface - Streamlit dashboard
- CLI Interface - Command-line reference
- Agent Architecture - Agent design details
- Configuration - Configuration options