AI Development Workflow Orchestration System
Project description
Mission Control
AI Development Workflow Orchestration System
Mission Control is a Python package that orchestrates AI agents to improve development workflows. It implements a human-in-the-loop terminal interface that acts as the communication point to a root agent, which builds detailed project plans, manages parallel and dependent tasks, and coordinates specialized agents.
Features
- Root Agent Orchestration: Intelligent project planning and task allocation
- Specialized Agent Profiles: Architecture, Development, Testing, Debugging, DevOps, and Security agents
- Memory Management: Individual and collective knowledge bases using Mem0
- Parallel Execution: Smart dependency analysis and parallel task execution
- Human-in-the-Loop: Interactive terminal interface for mission control
- Error Recovery: Automatic bug detection and specialized debugging agents
- Local Testing Environment: Automated setup for human review
- Flexible Model Support: Use Anthropic, OpenAI, or local models via Ollama
- Token Management: Configure limits and budgets for API usage
Architecture
Mission Control follows a staged execution model inspired by SPARC:
- Analysis Phase: Analyze project requirements and identify components
- Planning Phase: Create detailed project plan with task dependencies
- Execution Phase: Deploy specialized agents in parallel groups
- Validation Phase: Comprehensive testing and security audits
- Deployment Phase: Setup local testing environment
Installation
pip install mission-control-ai
Or install from source:
git clone https://github.com/bluearchio/mission-control.git
cd mission-control
pip install -e .
Quick Start
1. Initial Setup
After installation, configure Mission Control with the interactive setup:
mission-control config
This will guide you through:
- Setting up API keys (Anthropic, OpenAI, Mem0)
- Configuring local models (Ollama)
- Setting token limits and budgets
- Customizing agent profiles
- Choosing memory storage options
2. Initialize a Project
mission-control init my-project
cd my-project
3. Start Mission Control
mission-control run
Configuration
Using the Configuration UI
Mission Control provides an interactive configuration interface:
mission-control config
Available configuration options:
- API Keys: Configure Anthropic, OpenAI, and Mem0 API keys
- Local Models: Set up Ollama for local inference
- Token Limits: Set max tokens per request and total budgets
- Memory Service: Choose between local storage, Mem0, or vector databases
- Agent Profiles: Customize agent models, temperature, and capabilities
- Import/Export: Save and share configurations
Using Ollama for Local Models
To use local models instead of API-based services:
- Install Ollama from https://ollama.ai
- Pull a model:
ollama pull llama2 - Configure in Mission Control:
mission-control config - Select "Configure Local Models"
Environment Variables
You can also configure Mission Control using environment variables:
export ANTHROPIC_API_KEY=your-key
export LLM_PROVIDER=ollama
export OLLAMA_MODEL=llama2
export MAX_TOKENS=8192
export TOKEN_BUDGET=1000000
Usage
CLI Commands
mission-control --help # Show all commands
mission-control config # Interactive configuration
mission-control init <project> # Initialize new project
mission-control run # Start Mission Control
mission-control agents # List available agents
mission-control version # Show version
Terminal Commands
Once Mission Control is running:
new- Start a new missionstatus- Show current mission statushistory- Show mission historyagents- Show agent profilesmemory- Show memory statisticshelp- Show help informationexit- Exit Mission Control
Example Mission
mission-control> new
Mission description: Build a REST API with authentication, database integration, and comprehensive tests
Mission Control will:
1. Analyze your requirements
2. Create a detailed project plan
3. Deploy specialized agents to implement
4. Run tests and security audits
5. Setup local testing environment
Agent Types
Root Agent
- Project analysis and planning
- Task dependency analysis
- Agent assignment and orchestration
Architect Agent
- System design and architecture
- Technical specifications
- Design patterns and best practices
Developer Agent
- Code implementation
- API development
- Database integration
Tester Agent
- Unit test generation
- Integration testing
- Test coverage analysis
Debugger Agent
- Error analysis
- Bug fixing
- Performance optimization
DevOps Agent
- Environment setup
- Docker configuration
- CI/CD pipeline setup
Security Agent
- Security audits
- Vulnerability scanning
- Best practices enforcement
Memory System
Mission Control uses a dual-layer memory system:
Individual Agent Memory
- Each agent maintains its own knowledge base
- Learns from past experiences
- Improves decision making over time
Collective Memory
- Shared knowledge across all agents
- Best practices and patterns
- Cross-project learning
Configuration
Create a config/mission_config.json file to customize:
{
"project_name": "my-project",
"orchestrator": {
"max_concurrent_agents": 10,
"task_timeout": 3600
},
"agent_profiles": {
"architect": {
"name": "System Architect",
"model": "claude-3-sonnet-20240229",
"temperature": 0.7
}
}
}
Development
Project Structure
mission_control/
├── agents/ # Agent implementations
├── core/ # Core orchestration logic
├── memory/ # Memory service
├── terminal/ # Terminal interface
└── utils/ # Utilities and monitoring
Running Tests
pytest tests/
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
License
MIT License - see LICENSE file for details
Acknowledgments
- Inspired by the SPARC framework
- Memory system powered by Mem0
- Built with LangChain and LangGraph
Support
- GitHub Issues: https://github.com/bluearchio/mission-control/issues
- Documentation: https://github.com/bluearchio/mission-control/wiki
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mission_control_ai-0.2.0.tar.gz.
File metadata
- Download URL: mission_control_ai-0.2.0.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3a363e8fe49727efa27d77747710b1ab4e6349e0f8c0019ab16885db293d7c0
|
|
| MD5 |
6f5afffd7e9aab2fbd85b7ae3f34fce7
|
|
| BLAKE2b-256 |
b9394ae9818f3f1083d628d7007ac478d52212d8ffea991e00e2ca05e34bcf02
|
File details
Details for the file mission_control_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mission_control_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
782da49d53150c6b5a4836b7118b0070200b6acfde4b082d82599bc17beadee7
|
|
| MD5 |
3b3d903f62dac317c0515f74db8a90e0
|
|
| BLAKE2b-256 |
ee01f6b7eae3f808e9444dd1fb9b18da28114581136400cfc61d09dbacb4a7b5
|