A Python terminal application that orchestrates structured, truth-seeking discussions between multiple LLMs.
- Structured 4-round Socratic discussions
- Three AI panelists (GPT-5, Claude 4.1, Gemini 2.5 Pro) with a Claude moderator
- Automatic session saving and replay functionality
- Clean terminal UI with rich formatting
- Graceful error handling and interruption support
- Create a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Set up API keys:
cp .env.template .env
# Edit .env and add your API keys
Run the application:
python main.py
- Round 0 - Agenda Framing: Moderator introduces the topic
- Round 1 - Evidence: Each panelist presents initial perspectives
- Round 2 - Cross-examination: Panelists review each other's arguments
- Round 3 - Convergence: Consensus building through mini-Delphi process
- Sessions are automatically saved to the
sessions/
directory when discussions complete - Load and replay previous discussions from the main menu
- Session Replay Hotkeys:
- Space: Continue to next message (single keypress)
- F: Fast forward to final synthesis (single keypress)
- Enter: Return to main menu (from final synthesis page)
- Ctrl+C exits the application
- Python 3.8+
- API keys for Anthropic, OpenAI, and Google AI
- Terminal with Unicode support for best display
If you encounter API errors:
- Verify your API keys in
.env
- Check your API rate limits and quotas
- The app will automatically retry failed requests with exponential backoff
This repository is equipped with automated OpenHands agents that can help fix issues and implement features. Three different agents are available, each powered by different AI models:
- @openhands-claude - Powered by Anthropic's Claude Sonnet 4
- @openhands-gemini - Powered by Google's Gemini 2.5 Pro
- @openhands-gpt - Powered by OpenAI's GPT-5
- @openhands-lambda-deepseek70b - Powered by DeepSeek 70B
To request an agent to work on an issue, simply mention the agent in a comment on any GitHub issue or pull request:
@openhands-claude fix this issue
@openhands-gemini please implement this feature
@openhands-gpt help resolve this bug
@openhands-lambda-deepseek70b please assist with this task
The OpenHands agents can:
- Analyze code and identify bugs
- Implement new features
- Write and run tests
- Update documentation
- Create pull requests with fixes
- Respond to code review feedback
The agents are configured through GitHub Actions workflows located in .github/workflows/
:
openhands-claude.yml
- Claude agent configurationopenhands-gemini.yml
- Gemini agent configurationopenhands-gpt.yml
- GPT agent configurationopenhands-lambda-deepseek70b.yml
- DeepSeek 70B agent configuration
Each agent runs with appropriate permissions to read issues, create branches, and submit pull requests.
- Uses GPT-5 (gpt-5-2025-08-07)
- Gemini 2.5 Pro falls back to Gemini Pro if not available
- Discussion time varies based on API response times (typically 5-10 minutes)