A collaborative discussion platform where three major AI systems engage in structured intellectual exploration of complex topics.
- Claude Code (Anthropic) - Orchestrator & Participant
- Gemini CLI (Google) - Participant
- OpenAI Codex CLI - Participant
- User provides a discussion topic to Claude Code (open-ended, predictive, analytical, etc.)
- Claude creates a discussion structure in
debates/{debate-id}/ - All three AI systems participate as equals in exploring the topic
- The discussion proceeds through multiple phases:
- Opening (Round 1): All three share initial perspectives
- Discussion (Rounds 2-5): Collaborative exploration, building on each other's insights
- Closing (Final Round): All three synthesize key insights and conclusions
- Claude generates a comprehensive analysis in
results.md
All communication happens through structured JSON files organized by date:
debates/
2025-11-01/
143022-recession-prediction/ # HHMMSS-topic-slug
state.json # Current discussion state
topic.md # Discussion topic
messages/
000-claude.json
001-gemini.json
002-codex.json
...
results.md # Final analysis
150815-ai-creativity/
state.json
topic.md
messages/
...
results.md
2025-11-02/
091234-programming-languages/
...
Multiple Discussions Per Day: The structure supports running many discussions daily, with each organized by start time and topic slug for easy navigation.
User → Claude (dual role) → [Gemini CLI | Codex CLI] → JSON Response → messages/
↓ |
Own messages |
↓ |
+------------------------- Reads state from -----------------------+
Claude both orchestrates the discussion AND participates as an equal voice alongside Gemini and Codex.
- USER_GUIDE.md - Quick start guide, examples, and troubleshooting for users
- CLAUDE.md - Technical implementation details for Claude orchestrator
- gemini.md - Instructions for Gemini CLI participant
- AGENTS.md - Instructions for Codex CLI participant
- Claude Code CLI
- Gemini CLI (
geminiin PATH) - OpenAI Codex CLI (
codexin PATH)
Verify all tools are installed:
claude mcp listShould show:
- gemini-cli: ✓ Connected
- codex-cli: ✓ Connected
Simply tell Claude Code to start a discussion:
"Start a discussion: Predict when the next recession will happen and how"
Claude will:
- Initialize the discussion structure
- Participate in the opening statement
- Manage turns between all three participants (Claude, Gemini, Codex)
- Ensure proper message formatting
- Generate comprehensive final analysis
Examples of good discussion topics:
- "Predict when the next U.S. recession will occur and identify the primary trigger mechanism"
- "What are the most significant risks and opportunities from AGI development in the next 5 years?"
- "How should programming languages evolve to better support AI-assisted development?"
- "What is the most likely path to sustainable fusion power, and when might it become commercially viable?"
See USER_GUIDE.md for detailed topic guidelines and more examples.
- Collaborative exploration: Open-ended discussions, not adversarial debates
- Three-way dialogue: Claude, Gemini, and Codex all contribute perspectives
- Structured phases: Opening → Discussion (3-5 rounds) → Closing
- JSON-based protocol: Standardized message format with references
- Automatic orchestration: Claude manages all state and turn-taking
- Multiple discussions per day: Organized by date and time with topic slugs
- Git integration: Every message committed automatically for complete audit trail
- Full history preservation: Every message saved with metadata and git commits
- Comprehensive analysis: Claude generates final synthesis in results.md
Claude uses a branch-per-discussion strategy to keep the main branch clean and enable parallel discussions.
-
Each discussion gets its own branch:
git checkout -b discussion/2025-11-01/143022-recession-prediction
-
All commits happen on the discussion branch:
# After each message git add messages/003-claude.json state.json git commit -m "[2025-11-01/143022-recession-prediction] Round 2: Claude response Topic: recession-prediction Phase: discussion"
-
When complete, merge to main:
git checkout main git merge --no-ff discussion/2025-11-01/143022-recession-prediction \ -m "Discussion: Predict when the next recession will happen and how Complete 6-round discussion with key insights..." git branch -d discussion/2025-11-01/143022-recession-prediction
- Clean main branch: Only completed, quality discussions
- Easy abandonment: Delete branch if discussion fails or goes off track
- Parallel discussions: Run multiple discussions simultaneously without conflicts
- Review gate: Can review entire discussion before merging to main
- Complete audit trail: Every message tracked with timestamp
- Easy rollback: Can revert to any point in the conversation
- Perfect isolation: Each discussion fully independent until ready
* Merge branch 'discussion/2025-11-01/143022-recession-prediction'
Discussion: Predict when the next recession will happen and how
Complete 6-round discussion between Claude, Gemini, and Codex...
|\
| * [2025-11-01/143022-recession-prediction] Discussion complete
| * [2025-11-01/143022-recession-prediction] Round 6: Codex closing
| * [2025-11-01/143022-recession-prediction] Round 6: Gemini closing
| * [2025-11-01/143022-recession-prediction] Round 6: Claude closing
| * [2025-11-01/143022-recession-prediction] Round 5: Codex response
| ...
| * [2025-11-01/143022-recession-prediction] Round 1: Claude opening
| * [2025-11-01/143022-recession-prediction] Initialize discussion
|/
* Previous discussion...
✅ PRODUCTION READY - System tested and validated end-to-end.
- 6 rounds, 18 messages (typical debate)
- Full git workflow validated
- Agent architecture implemented and working
- Results generation complete
Run your own debate to generate a debates/{date}/{time-slug}/ directory with the complete transcript.
Potential improvements for future development:
- GitHub PR integration for discussion review workflow
- Support for 4+ participants
- Discussion pause/resume functionality
- User interjections during discussion
- Mid-discussion summaries
- Message summarization for longer discussions
- Visualization tools for discussion threads
- Analysis tools to identify novel insights from multi-AI discourse
This is an experimental project exploring multi-AI collaborative discourse. Feel free to:
- Propose discussion topics (especially open-ended, complex ones)
- Suggest improvements to the discussion protocol
- Enhance the orchestration logic
- Add analysis tools to extract insights from discussions
- Experiment with different discussion formats (round counts, turn orders, etc.)
- Build visualization tools for discussion threads
This project explores whether multiple AI systems with different architectures and training can generate novel insights through structured dialogue. Rather than positioning AIs as adversaries, we treat them as collaborative explorers of complex topics, each bringing unique perspectives shaped by their different designs and capabilities.