Coordinate multiple AI coding assistants to collaborate on complex software development tasks
Coordinate Claude, Codex, Gemini, and Copilot to work together on your code with intelligent workflows.
Choose between a powerful command-line interface or modern web UI with real-time updates.
Define custom collaboration patterns or use built-in workflows for different scenarios.
Security, monitoring, rate limiting, retry logic, and comprehensive test coverage built-in.
graph LR
A[User Request] --> B[AI Orchestrator]
B --> C[Codex: Implementation]
C --> D[Gemini: Review]
D --> E[Claude: Refinement]
E --> F[Quality Code]
style A fill:#667eea,stroke:#667eea,color:#fff
style B fill:#764ba2,stroke:#764ba2,color:#fff
style C fill:#f093fb,stroke:#f093fb,color:#fff
style D fill:#4facfe,stroke:#4facfe,color:#fff
style E fill:#00f2fe,stroke:#00f2fe,color:#fff
style F fill:#43e97b,stroke:#43e97b,color:#fff
Coordinate multiple AI assistants with specialized roles:
The AI Orchestrator follows a modular, layered architecture with clear separation of concerns. It's designed for extensibility, reliability, and production-grade performance.
flowchart TB
subgraph "User
Interfaces"
CLI[CLI Shell
Click + Rich]
WebUI[Web UI
Vue 3 + Socket.IO]
end
subgraph "Core
Orchestrator"
Engine[Orchestration
Engine]
Workflow[Workflow
Manager]
Config[Config
Manager]
Session[Session
Manager]
end
subgraph "Cross-Cutting
Concerns"
Metrics[Prometheus
Metrics]
Cache[Response
Cache]
Retry[Retry
Logic]
Security[Security
Layer]
end
subgraph "AI
Adapters"
Claude[Claude
Adapter]
Codex[Codex
Adapter]
Gemini[Gemini
Adapter]
Copilot[Copilot
Adapter]
end
subgraph "External AI
Tools"
ClaudeCLI[Claude Code
CLI]
CodexCLI[OpenAI Codex
CLI]
GeminiCLI[Google Gemini
CLI]
CopilotCLI[GitHub Copilot
CLI]
end
CLI --> Engine
WebUI --> Engine
Engine --> Workflow
Engine --> Config
Engine --> Session
Workflow --> Metrics
Workflow --> Cache
Workflow --> Retry
Workflow --> Security
Workflow --> Claude
Workflow --> Codex
Workflow --> Gemini
Workflow --> Copilot
Claude --> ClaudeCLI
Codex --> CodexCLI
Gemini --> GeminiCLI
Copilot --> CopilotCLI
style CLI fill:#667eea,stroke:#667eea,color:#fff
style WebUI fill:#667eea,stroke:#667eea,color:#fff
style Engine fill:#4facfe,stroke:#4facfe,color:#fff
style Workflow fill:#43e97b,stroke:#43e97b,color:#fff
User-facing interfaces: CLI and Web UI
Core business logic and workflow management
Security, caching, metrics, and logging
AI agent integrations with uniform interface
Third-party AI CLI tools
Uniform interface to different AI CLIs
Configurable workflow strategies
Real-time UI updates via Socket.IO
Agent and workflow creation
Config and metrics managers
Retry, cache, and logging decorators
git clone <repository-url>
cd AI-Coding-Tools-Collaborative
pip install -r requirements.txt
chmod +x ai-orchestrator
./ai-orchestrator --help
./ai-orchestrator agents
./ai-orchestrator shell
# Start interactive shell
./ai-orchestrator shell
orchestrator (default) > create a REST API for user management
✓ Task completed successfully!
📁 Generated Files:
📄 api/routes.py
📄 api/models.py
orchestrator (default) > add JWT authentication
💡 Detected as follow-up to previous task
✓ Authentication added!
orchestrator (default) > /save user-api-project
✓ Session saved!
| Workflow | Agents | Iterations | Use Case |
|---|---|---|---|
| default | Codex → Gemini → Claude | 3 | Production-quality code with review |
| quick | Codex only | 1 | Fast prototyping and iteration |
| thorough | Codex → Copilot → Gemini → Claude → Gemini | 5 | Mission-critical or security-sensitive |
| review-only | Gemini → Claude | 2 | Analyzing existing code |
| document | Claude → Gemini | 2 | Generating documentation |
graph TD
START([Start]) --> LOAD[Load Workflow Config]
LOAD --> VALIDATE[Validate Configuration]
VALIDATE --> INIT[Initialize Agents]
INIT --> ITER{Iteration < Max?}
ITER -->|Yes| EXEC[Execute Workflow Steps]
EXEC --> AGENT1[Agent 1]
AGENT1 --> AGENT2[Agent 2]
AGENT2 --> AGENT3[Agent 3]
AGENT3 --> COLLECT[Collect Feedback]
COLLECT --> CHECK{Sufficient
Suggestions?}
CHECK -->|Yes| UPDATE[Update Context]
UPDATE --> ITER
CHECK -->|No| AGG[Aggregate Results]
ITER -->|No| AGG
AGG --> REPORT[Generate Report]
REPORT --> END([End])
style START fill:#667eea,stroke:#667eea,color:#fff
style END fill:#43e97b,stroke:#43e97b,color:#fff
Define your own workflows in config/agents.yaml:
workflows:
custom:
max_iterations: 4
min_suggestions_threshold: 5
steps:
- agent: "codex"
task: "implement"
- agent: "gemini"
task: "security_review"
- agent: "claude"
task: "refine"
Project overview and getting started guide
System design, patterns, and components
Comprehensive feature documentation
Detailed installation and configuration
Guide for integrating new AI agents
Production deployment strategies
git checkout -b feature/your-featuremake allgit commit -m "feat: add amazing feature"$ ./ai-orchestrator shell
Welcome to AI Orchestrator v1.0.0
Type /help for available commands
orchestrator (default) > create a Python REST API with FastAPI
🤖 Executing workflow: default
📊 Step 1/3: Codex (Implementation)
⏳ Processing...
✓ Implementation complete!
📊 Step 2/3: Gemini (Review)
⏳ Analyzing code...
✓ Review complete! Found 3 suggestions:
• Add input validation
• Include error handling
• Add API documentation
📊 Step 3/3: Claude (Refinement)
⏳ Implementing improvements...
✓ Task completed successfully!
📁 Generated Files:
📄 app/main.py (FastAPI app)
📄 app/models.py (Pydantic models)
📄 app/routes.py (API routes)
📄 app/schemas.py (Request/response schemas)
📄 tests/test_api.py (Unit tests)
📄 requirements.txt (Dependencies)
Workspace: ./workspace/session-abc123
orchestrator (default) > add authentication
💡 Detected as follow-up to previous task
The Web UI provides a visual interface with:
Multi-line textarea with syntax highlighting
Socket.IO for real-time progress
Full Monaco editor with IntelliSense
# Run with specific workflow
./ai-orchestrator run "Build authentication system" --workflow thorough
# Custom iterations
./ai-orchestrator run "Optimize database queries" --max-iterations 5
# With verbose output
./ai-orchestrator run "Add caching layer" --workflow default --verbose
# Dry run to preview
./ai-orchestrator run "Refactor code" --dry-run
# Load previous session
./ai-orchestrator shell --load my-project
Join developers using AI Orchestrator to build better software faster