Three providers, one workflow
Claude Octopus orchestrates Codex (OpenAI), Gemini (Google), and Claude (Anthropic) across every workflow. Each provider has a distinct role designed to leverage its unique strengths.You don’t need all three providers. One external provider plus Claude gives you multi-AI features. No external providers still gives you 33 personas, workflows, and skills.
Provider roles
Each provider is assigned a specific role based on its strengths:Codex
Implementation depth
- Code generation
- Technical analysis
- Architecture patterns
- API design
- Algorithm optimization
Gemini
Ecosystem breadth
- Research synthesis
- Alternative approaches
- Security review
- Best practices
- Community patterns
Claude
Orchestration & synthesis
- Quality gates
- Consensus building
- Strategic synthesis
- Moderation
- Final recommendations
Why these roles?
Role assignment is based on empirical testing and provider characteristics:| Provider | Underlying Model | Key Strength | Role Assignment |
|---|---|---|---|
| Codex | GPT-5.3-Codex | Code generation, structured output | Implementation details |
| Gemini | Gemini 3.0 Pro | Research synthesis, broad knowledge | Ecosystem analysis |
| Claude | Sonnet 4.6 / Opus 4.6 | Nuanced reasoning, code review | Synthesis & moderation |
Role assignment by workflow
Different workflows emphasize different provider strengths:- Discover
- Define
- Develop
- Deliver
- Debate
Discover phase role assignment
Execution: Parallel (fastest)| Provider | Task | Why This Provider? |
|---|---|---|
| 🔴 Codex | Technical implementation analysis | Deep code pattern knowledge |
| 🟡 Gemini | Ecosystem and community research | Broad web knowledge |
| 🔵 Claude | Strategic synthesis | Best at combining perspectives |
Consensus gates
Consensus gates enforce agreement thresholds before work advances.How consensus is measured
Scoring methodology
Consensus score is based on:- Subtask success rate - What percentage of subtasks succeeded?
- Agreement score - How similar are the provider outputs?
- Conflict detection - Are there direct contradictions?
Threshold configuration
Default threshold: 75% Override via environment variable:What happens at gate failure?
Cost transparency
Claude Octopus shows exactly which providers are running and what it costs.Visual indicators
Before every multi-AI workflow, you see:Provider cost breakdown
| Provider | Cost Source | Estimated Per Query |
|---|---|---|
| 🔴 Codex | Your OPENAI_API_KEY | $0.01-0.15 (depends on model) |
| 🟡 Gemini | Your GEMINI_API_KEY | $0.01-0.03 |
| 🔵 Claude | Included in Claude Code subscription | $0 (included) |
- Codex
- Gemini
- Claude
| Model | Input | Output | Use Case |
|---|---|---|---|
| gpt-5.3-codex | $1.75/MTok | $14/MTok | Premium (default) |
| gpt-5.3-codex-spark | $1.75/MTok | $14/MTok | Ultra-fast (1000+ tok/s) |
| gpt-5.2-codex | $1.00/MTok | $8/MTok | Standard |
| gpt-5.1-codex-mini | $0.30/MTok | $1.25/MTok | Budget |
Cost controls
Set spending limit
Set spending limit
Smart cost routing (v8.20.0+)
Smart cost routing (v8.20.0+)
Provider router automatically selects cheapest capable provider:
- Analyzes task requirements
- Matches to provider capabilities
- Selects cheapest option that can handle it
- Falls back if first choice unavailable
Use fewer providers
Use fewer providers
Install only one external provider:
- Codex only: Dual perspective (Codex + Claude)
- Gemini only: Dual perspective (Gemini + Claude)
- Neither: Claude-only mode (personas and workflows still work)
Provider authentication
Claude Octopus supports two authentication methods:- OAuth (recommended)
- API Keys
OAuth authentication
Codex:- Included in existing subscription
- No API key management
- Auto-refresh tokens
Provider detection
Claude Octopus auto-detects available providers:Graceful degradation
| Available Providers | Behavior |
|---|---|
| Codex + Gemini + Claude | Full three-way orchestration |
| Codex + Claude | Dual perspective (Codex + Claude) |
| Gemini + Claude | Dual perspective (Gemini + Claude) |
| Claude only | Single-provider mode (personas still work) |
Security considerations
Environment isolation (v8.7.0+)
External providers run with minimal environment:- API key leakage to external providers
- Access to sensitive environment variables
- Unintended environment pollution
Trust markers
Provider outputs are wrapped with trust indicators:Data flow
Best practices
Trust the roles
Trust the roles
Don’t second-guess role assignment. Codex for implementation, Gemini for ecosystem, Claude for synthesis—each provider does what it does best.
Respect consensus gates
Respect consensus gates
If providers disagree significantly (less than 75% consensus), investigate why. Forcing through disagreements undermines multi-AI value.
Use cost controls
Use cost controls
Set
OCTOPUS_MAX_COST_USD on shared accounts or CI/CD to prevent runaway costs.OAuth when possible
OAuth when possible
Use OAuth authentication instead of API keys—it’s included in subscriptions and requires no key management.
Next steps
Double Diamond
Learn about the four-phase workflow structure
Workflows
Explore workflow patterns and autonomy modes
Provider setup
Configure Codex and Gemini authentication
Cost optimization
Learn to minimize multi-AI costs
