AI Coding Tools Orchestrator is an enterprise-grade system that enables multiple AI coding assistants to work together collaboratively. It provides a unified interface (CLI and Web UI) to coordinate Claude Code, OpenAI Codex, Google Gemini, and GitHub Copilot for complex software development tasks.
graph LR
A[User Request] --> B[AI Orchestrator]
B --> C[Codex: Implementation]
C --> D[Gemini: Review]
D --> E[Claude: Refinement]
E --> F[Final Code]
flowchart TB
subgraph User Interface
CLI[CLI Shell]
WebUI[Web UI<br/>Vue 3 + Socket.IO]
end
subgraph Core Orchestrator
Engine[Orchestration Engine]
Workflow[Workflow Manager]
Config[Config Manager]
Session[Session Manager]
end
subgraph Features
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
venv where the orchestrator runs (if you run it inside a virtual environment)# Clone the repository
git clone <repository-url>
cd AI-Agents-Orchestrator
# Create virtual environment
python3 -m venv venv
# Activate it
# On Linux/macOS:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Make CLI executable
chmod +x ai-orchestrator
# Verify installation
./ai-orchestrator --help
# Start interactive shell
./ai-orchestrator shell
# Or run a one-shot task
./ai-orchestrator run "Create a Python calculator function" --workflow quick
The CLI provides a powerful interactive shell with natural conversation flow:
# Start interactive shell
./ai-orchestrator shell
# Example session
orchestrator (default) > create a REST API for user management
โ Task completed successfully!
orchestrator (default) > add JWT authentication
๐ก Detected as follow-up to previous task
โ Authentication added!
orchestrator (default) > also add rate limiting
๐ก Detected as follow-up to previous task
โ Rate limiting implemented!
orchestrator (default) > /save user-api-project
Session saved!
CLI Features:
/help, /save, /load, /history, /agents, /workflows
Start the Web UI for a visual development experience:
# Terminal 1: Start backend
cd ui
python app.py
# Terminal 2: Start frontend
cd ui/frontend
npm install
npm run dev
# Or use the startup script
./start-ui.sh
Open http://localhost:3000
UI Features:
| Workflow | Description | Use Case |
|---|---|---|
| default | Codex โ Gemini โ Claude | Production-quality code with full review cycle |
| quick | Codex only | Fast prototyping and iteration |
| thorough | Multi-agent with extra review | Mission-critical or security-sensitive code |
| review-only | Gemini โ Claude | Analyzing and improving existing code |
| document | Claude โ Gemini | Generating comprehensive documentation |
# Basic usage
./ai-orchestrator run "task description"
./ai-orchestrator shell
# With options
./ai-orchestrator run "task" --workflow thorough --max-iterations 5
./ai-orchestrator run "task" --verbose --dry-run
# Utility commands
./ai-orchestrator agents # List available agents
./ai-orchestrator workflows # List available workflows
./ai-orchestrator validate # Validate configuration
./ai-orchestrator version # Show version info
AI-Agents-Orchestrator/
โโโ ai-orchestrator # Main CLI entry point
โโโ orchestrator/ # Core orchestration engine
โ โโโ core.py # Main orchestrator logic
โ โโโ workflow.py # Workflow management
โ โโโ shell.py # Interactive shell/REPL
โ โโโ config_manager.py # Configuration handling
โ โโโ metrics.py # Prometheus metrics
โ โโโ security.py # Security utilities
โ โโโ cache.py # Caching layer
โ โโโ retry.py # Retry logic
โโโ adapters/ # AI agent adapters
โ โโโ base.py # Base adapter interface
โ โโโ claude_adapter.py # Claude Code integration
โ โโโ codex_adapter.py # OpenAI Codex integration
โ โโโ gemini_adapter.py # Google Gemini integration
โ โโโ copilot_adapter.py # GitHub Copilot integration
โ โโโ cli_communicator.py # Robust CLI communication
โโโ ui/ # Web UI
โ โโโ app.py # Flask backend with Socket.IO
โ โโโ frontend/ # Vue 3 frontend
โ โ โโโ src/
โ โ โ โโโ App.vue
โ โ โ โโโ components/
โ โ โ โโโ stores/ # Pinia state management
โ โ โโโ package.json
โ โโโ requirements.txt
โโโ config/
โ โโโ agents.yaml # Agent and workflow configuration
โโโ tests/ # Comprehensive test suite
โ โโโ test_orchestrator.py
โ โโโ test_adapters.py
โ โโโ test_integration.py
โ โโโ test_shell.py
โโโ docs/ # Documentation
โ โโโ images/ # Screenshots
โ โโโ ARCHITECTURE.md
โ โโโ FEATURES.md
โ โโโ SETUP.md
โ โโโ ADD_AGENTS.md
โโโ deployment/ # Deployment configs
โ โโโ kubernetes/
โ โโโ systemd/
โโโ Dockerfile
โโโ docker-compose.yml
โโโ Makefile # Development commands
โโโ pyproject.toml # Project metadata
โโโ requirements.txt
โโโ README.md
# Run all tests
make test
# Run with coverage
make test-coverage
# Run specific test suite
pytest tests/test_adapters.py -v
# Run integration tests
pytest tests/ -v -m integration
# Run security tests
make security
# Build and run
docker-compose up -d
# With monitoring stack
docker-compose --profile monitoring up -d
# Build image
docker build -t ai-orchestrator:latest .
# Run container
docker run -it --rm \
-v $(pwd)/config:/app/config \
-v $(pwd)/workspace:/app/workspace \
ai-orchestrator:latest
Prometheus metrics are exposed on port 9090 at /metrics:
orchestrator_tasks_total - Total tasks executedorchestrator_task_duration_seconds - Task execution timeorchestrator_agent_calls_total - Agent invocationsorchestrator_agent_errors_total - Agent error countorchestrator_cache_hits_total - Cache performanceHealth checks available at:
/health - Overall health status/ready - Readiness probe# Install development dependencies
make install-dev
# Format code
make format
# Run linters
make lint
# Type checking
make type-check
# Security scan
make security
# Run all checks
make all
# Install hooks
pre-commit install
# Run on all files
pre-commit run --all-files
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
git checkout -b feature/your-featuremake allgit commit -m "feat: add amazing feature"For security issues, please email security@example.com. Do not open public issues for security vulnerabilities.
See SECURITY.md for our security policy and best practices.
This project is licensed under the MIT License - see LICENSE for details.
Built with:
If you find this project useful, please consider giving it a star!