Multi-Agent Collaborative Development Framework - Let AI Teams Code for You in Parallel
- π§ Central Brain Coordination - Brain manages task distribution, context, and Git operations
- π€ Parallel Multi-Worker - Multiple AI Agents develop different modules simultaneously
- π Flexible AI Configuration - Choose different models per task type (cost/performance trade-offs)
- π Standardized Dev Docs - YAML format, can be generated by any AI
- π Safety Audit - Dangerous commands are pre-reviewed to protect your codebase
- π Real-time Monitoring - Dashboard to view each Worker's progress
- π₯οΈ Cross-Platform - Supports Linux, macOS, Windows, and WSL
βββββββββββββββββββββββββββββββββββ
β BRAIN β
β βββββββββββ βββββββββββ β
β β Context β β Model β β
β β Manager β β Router β β
β ββββββ¬βββββ ββββββ¬βββββ β
β ββββββ΄βββββββββββ΄βββββ β
β β Task Scheduler β β
β βββββββββββ¬βββββββββββ β
ββββββββββββββΌββββββββββββββββββ
β ZeroMQ
βββββββββββββββββββββΌββββββββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββ ββββββββββββββ ββββββββββββββ
β Worker 1 β β Worker 2 β β Worker N β
β(Mini-Agent)β β(Mini-Agent)β β(Mini-Agent)β
ββββββββββββββ ββββββββββββββ ββββββββββββββ
pip install oh-my-brainOr with uv (recommended):
uv add oh-my-brain# ~/.oh-my-brain/models.yaml
models:
- name: "deepseek-coder"
provider: "openai"
api_base: "https://api.deepseek.com"
model: "deepseek-coder"
api_key_env: "DEEPSEEK_API_KEY"
cost_per_1k_tokens: 0.001
capabilities: [code]
- name: "minimax-m21"
provider: "anthropic"
api_base: "https://api.minimax.io"
model: "MiniMax-M2.1"
api_key_env: "MINIMAX_API_KEY"
cost_per_1k_tokens: 0.002
capabilities: [code, reasoning, planning]
task_model_mapping:
planning: "minimax-m21"
coding: "deepseek-coder"
review: "minimax-m21"
default: "deepseek-coder"Generate a standardized dev doc using your preferred AI (Claude, DeepSeek, GPT, etc.):
# my_project/dev_doc.yaml
project:
name: "my-awesome-app"
version: "0.1.0"
description: "A sample web application"
tech_stack:
language: "Python"
framework: "FastAPI"
database: "PostgreSQL"
modules:
- id: "mod-auth"
name: "Authentication Module"
description: "User authentication and authorization"
priority: 1
dependencies: []
acceptance_criteria: "Users can register, login, and logout"
sub_tasks:
- id: "task-001"
name: "Implement JWT Login"
type: "feature"
description: "Create login endpoint with JWT token generation"
estimated_minutes: 30
files_involved:
- "src/auth/router.py"
- "src/auth/service.py"
requirements: |
- POST /auth/login endpoint
- Accept email and password
- Return JWT token on successoh-my-brain start --config ./brain.yamloh-my-brain worker --count 4 # Start 4 workersoh-my-brain submit ./dev_doc.yamlThen watch your AI team work in the Dashboard!
| Platform | Status | Notes |
|---|---|---|
| Linux | β Full Support | Recommended for production |
| macOS | β Full Support | |
| Windows | β Supported | Uses TCP transport, slightly lower performance |
| WSL | β Full Support | Recommended for Windows users |
# Clone the repository
git clone https://github.com/zhaofei0923/oh_my_brain.git
cd oh_my_brain
# Install dependencies
uv sync --all-groups
# Run tests
uv run pytest
# Run linters
uv run ruff check .
uv run mypy src/Contributions are welcome! Please read CONTRIBUTING.md
Apache 2.0 - See LICENSE
- Mini-Agent - The foundation for our Worker agents
- MiniMax - AI model provider