🐍 🏠 🍎 🪟 🐧 - AI council: query CLI agents (Claude Code, Codex, Gemini and OpenCode) in parallel with…
Owlex
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**Get a second opinion without leaving Claude Code.**
Different AI models have different strengths and blind spots. Owlex lets you query Codex, Gemini, OpenCode, ClaudeOR, and AiChat directly from Claude Code - and optionally run a structured deliberation where they review each other's answers before Claude synthesizes a final response.
How the Council Works
1. **Round 1** - Your question goes to each agent independently. They answer without seeing each other.
2. **Round 2** - Each agent sees all Round 1 answers and can revise their position.
3. **Synthesis** - Claude reviews everything and outputs a structured answer.
Use it for architecture decisions, debugging tricky issues, or when you want more confidence than a single model provides. Not for every question - for the ones that matter.
Data Flow
Installation
Add to .mcp.json:
Usage
Council Deliberation
Options:
- claude_opinion - Share your initial thinking with agents
- deliberate - Enable Round 2 revision (default: true)
- critique - Agents critique each other instead of revise
- roles - Assign specialist roles (dict or list)
- team - Use a predefined team preset
- timeout - Timeout per agent in seconds (default: 300)
Specialist Roles
Agents can operate with specialist perspectives that shape their analysis:
| Role | Description |
|------|-------------|
| security | Security analyst - vulnerabilities, auth, data protection |
| perf | Performance optimizer - efficiency, caching, scalability |
| skeptic | Devil's advocate - challenge assumptions, find edge cases |
| architect | System architect - design patterns, modularity, APIs |
| maintainer | Code maintainer - readability, testing, tech debt |
| dx | Developer experience - ergonomics, documentation, errors |
| testing | Testing specialist - coverage, strategies, edge cases |
| neutral | No role injection (default) |
**Assign roles explicitly:**
**Auto-assign from list (in agent order: codex, gemini, opencode, claudeor, aichat):**
Team Presets
Predefined role combinations for common scenarios:
| Team | Codex | Gemini | OpenCode | ClaudeOR | AiChat |
|------|-------|--------|----------|----------|--------|
| security_audit | security | skeptic | architect | dx | testing |
| code_review | maintainer | perf | testing | dx | security |
| architecture_review | architect | perf | maintainer | dx | skeptic |
| devil_advocate | skeptic | skeptic | skeptic | skeptic | skeptic |
| balanced | security | perf | maintainer | dx | testing |
| optimal | maintainer | architect | dx | skeptic | perf |
Individual Agent Sessions
| Tool | Description |
|------|-------------|
| start_codex_session | New Codex session |
| resume_codex_session | Resume with session ID or --last |
| start_gemini_session | New Gemini session |
| resume_gemini_session | Resume with index or latest |
| start_opencode_session | New OpenCode session |
| resume_opencode_session | Resume with session ID or --continue |
| start_claudeor_session | New Claude via OpenRouter session |
| resume_claudeor_session | Resume with session ID or --continue |
| start_aichat_session | New AiChat session |