Production-ready orchestration system that coordinates multiple AI coding assistants (Claude, Codex, Gemini, Copilot) to collaborate on software development tasks
Features β’ Quick Start β’ Documentation β’ Architecture β’ Setup Guide β’ Feature Docs β’ Add New Agents β’ Deployment
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
- π€ Multi-Agent Collaboration - Coordinate multiple AI assistants in intelligent workflows
- π¬ Interactive Shell - REPL-style interface with natural conversation flow
- π Web UI - Modern Vue 3 interface with real-time updates and Monaco editor
- π Conversation Mode - ChatGPT-like experience with context preservation
- πΎ Session Management - Save and restore conversation history
- βοΈ Configurable Workflows - Define custom collaboration patterns (default, quick, thorough)
- π§ Extensible Architecture - Easy to add new AI agents
- π‘οΈ Security - Input validation, rate limiting, secret management, audit logging
- π Monitoring - Prometheus metrics, structured logging, health checks
- π― Reliability - Retry logic, circuit breakers, graceful degradation
- β‘ Performance - Async execution, caching, connection pooling
- π Code Quality - Type hints, comprehensive tests (>80% coverage), linting
- π’ Deployment - Docker, Kubernetes, systemd support
- π CI/CD - Automated testing and releases via GitHub Actions
- Python 3.8 or higher
- At least one AI CLI tool installed (Claude Code, Codex, Gemini, or Copilot), authenticated, and accessible from INSIDE the
venvwhere the orchestrator runs (if you run it inside a virtual environment) - Node.js 20+ (for Web UI)
- Docker (optional)
# 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 quickThe 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:
- Smart auto-detection of follow-up messages
- Full context preservation across conversations
- Readline support (arrow keys, history, tab completion)
- Commands:
/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.shUI Features:
- Real-time progress tracking
- Monaco code editor (same as VS Code)
- Conversation mode toggle
- File management and downloads
- Syntax highlighting
- Iteration details view
| 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 infoAI-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:latestPrometheus 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 performance
Health 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- ARCHITECTURE.md - System architecture and design patterns
- FEATURES.md - Comprehensive feature documentation
- SETUP.md - Installation and setup guide
- ADD_AGENTS.md - Guide for adding new AI agents
- DEPLOYMENT.md - Deployment strategies and configurations
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes with tests
- Run checks:
make all - Commit:
git commit -m "feat: add amazing feature" - Push and create a Pull Request
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:
- Click - CLI framework
- Rich - Terminal formatting
- Pydantic - Data validation
- Vue 3 - UI framework
- Flask - Backend framework
- Monaco Editor - Code editor
- Prometheus - Metrics and monitoring
- Repo Maintainer: @hoangsonww
- Issues: GitHub Issues
- Discussions: GitHub Discussions
If you find this project useful, please consider giving it a star!
Made with β€οΈ for the AI development community


