IMPORTANT: Before using the AI Orchestrator, you need to install and authenticate with the CLI tools you want to use.
The AI Orchestrator coordinates these CLI tools:
- Claude Code (command:
claude) - Codex (command:
codex) - Gemini (command:
gemini) - GitHub Copilot CLI (command:
copilot)
You need at least one of these installed to use the orchestrator.
Install:
# Follow Claude Code installation instructions from Anthropic
# Visit: https://docs.claude.com/claude-codeAuthenticate:
claude auth loginVerify:
claude --version
# Should show version info
# Test it works
claude --message "Hello, Claude!"Install:
# Install via pip (if available publicly)
pip install openai-codex
# Or follow OpenAI's installation instructionsAuthenticate:
# Set your OpenAI API key
export OPENAI_API_KEY="your-api-key-here"
# Or configure via their auth command
codex auth loginVerify:
codex --version
# Test it works
echo "Write a hello world function" | codexInstall:
# Install Google's Gemini CLI
# Follow Google's installation instructions
pip install google-generativeai
# Or use their CLI toolAuthenticate:
# Authenticate with your Google account
gemini auth login
# Or set API key
export GOOGLE_API_KEY="your-api-key"Verify:
gemini --version
# Test it works
gemini --prompt "Hello, Gemini!"Install:
# Install Copilot CLI
# Follow GitHub's installation instructions
npm install -g @githubnext/github-copilot-cli
# Or via other methods provided by GitHubAuthenticate:
copilot auth login
# Follow the prompts to authenticateVerify:
copilot --version
# Test it works
copilot "write a function"Run this script to check which tools are available:
#!/bin/bash
echo "Checking AI CLI Tools..."
echo ""
# Claude
if command -v claude &> /dev/null; then
echo "✓ Claude Code CLI: INSTALLED"
claude --version 2>&1 | head -1
else
echo "✗ Claude Code CLI: NOT FOUND"
fi
echo ""
# Codex
if command -v codex &> /dev/null; then
echo "✓ Codex CLI: INSTALLED"
codex --version 2>&1 | head -1
else
echo "✗ Codex CLI: NOT FOUND"
fi
echo ""
# Gemini
if command -v gemini &> /dev/null; then
echo "✓ Gemini CLI: INSTALLED"
gemini --version 2>&1 | head -1
else
echo "✗ Gemini CLI: NOT FOUND"
fi
echo ""
# GitHub Copilot
if command -v copilot &> /dev/null; then
echo "✓ Copilot CLI: INSTALLED"
copilot --version 2>&1 | head -1
else
echo "✗ Copilot CLI: NOT FOUND"
fi
echo ""
echo "Checking AI Orchestrator..."
if [ -x "./ai-orchestrator" ]; then
echo "✓ AI Orchestrator: READY"
./ai-orchestrator agents
else
echo "✗ AI Orchestrator: Not executable. Run: chmod +x ai-orchestrator"
fiSave this as check-tools.sh, make it executable, and run it:
chmod +x check-tools.sh
./check-tools.shOnce you have at least one tool installed:
./ai-orchestrator agentsYou should see:
AI Agents
┏━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Agent ┃ Status ┃ Command ┃ Role ┃
┡━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ claude │ ✓ Available │ claude │ refinement │
│ codex │ ✓ Available │ codex │ implementation │
│ gemini │ ✓ Available │ gemini │ review │
└─────────┴─────────────────┴────────────┴────────────────┘
# One-shot mode
./ai-orchestrator run "Create a hello world function" --workflow quick
# Interactive mode
./ai-orchestrator shell
> Create a hello world functionProblem: Agent 'claude' not available. Command 'claude' not found.
Solution:
- Check if the tool is installed:
which claude - If not installed, install it following the instructions above
- Make sure it's in your PATH
- Verify authentication: Try running the command directly
Problem: Tool is installed but fails with auth errors
Solution:
# Claude
claude auth login
# Codex
export OPENAI_API_KEY="your-key"
# Gemini
gemini auth login
# Copilot
gh auth loginProblem: bash: claude: command not found
Solution:
- Install the tool (see installation instructions above)
- Add to PATH if installed in custom location:
export PATH=$PATH:/path/to/tool
- Restart your terminal
Problem: which claude works but orchestrator says not available
Solution:
- Check config:
cat config/agents.yaml - Make sure
enabled: true - Verify command name matches:
command: "claude" - Run validation:
./ai-orchestrator validate
If a tool uses a different command name on your system, update config/agents.yaml:
agents:
claude:
enabled: true
command: "claude" # ← Change this to match your command
role: "refinement"After installation:
-
Test individual tools:
claude --message "Test" echo "Test" | codex gemini --prompt "Test" copilot "Test"
-
Validate configuration:
./ai-orchestrator validate
-
Check available agents:
./ai-orchestrator agents
-
Try the interactive shell:
./ai-orchestrator shell
-
Read the documentation:
- You don't need all tools - The orchestrator works with whatever you have installed
- Authentication required - Each tool needs to be logged in
- API costs - Some tools (Codex, Gemini) may incur API costs
- Internet required - All tools need internet connection
- Test individually first - Make sure each tool works on its own before using the orchestrator
For the best experience, install all tools:
# Install all tools
claude auth login # Claude Code
# Set up Codex
gemini auth login # Gemini
copilot auth login # Copilot
# Verify all are working
./ai-orchestrator agents
# Start using!
./ai-orchestrator shellBut you can start with just Claude if that's what you have:
# Only Claude installed
./ai-orchestrator agents
# Shows: claude ✓ Available
# Use Claude-only workflow
./ai-orchestrator shell
> Create a REST API
# Works with just Claude!If you run into issues:
- Check tool installation:
which <tool-name> - Test tool directly:
<tool-name> --version - Verify authentication: Run auth command
- Check logs:
cat ai-orchestrator.log - Validate config:
./ai-orchestrator validate - Run in verbose mode:
./ai-orchestrator run "task" --verbose