Debating with people is sometimes impossible, like trying to explain recursion to a cat or exit Vim on your first try. So I built DebateArena—a place where you can make AI models fight each other so you don’t have to.
Want to see Einstein and Newton throw hands over whether Math or Physics is superior? This is the spot. You pick the characters, set their tone, and even steer the conversation mid-talk to keep things spicy.
- Logic: LangGraph (Agent orchestration)
- Brain: Gemma (via Google Gemini API)
- Voice: ElevenLabs (High-quality TTS)
- UI: Streamlit (Clean & simple front-end)
pip install -r requirements.txt
Create a .env file in the root directory and drop your API keys in:
GEMINI_API_KEY=your_key_here
FISH_API_KEY=your_key_here
ELEVENLABS_API_KEY=your_key_here
streamlit run app.py
(Or python -m streamlit run app.py if your path is acting up)
- Select Language: Choose the vibe.
- Pick Your Fighters: Define two characters (e.g., Socrates vs. a Flat Earther).
- Set the Stakes: Give them a topic and a specific point of view.
- Tune the Tone: Make them aggressive, sarcastic, or overly polite.
- Steer: Intervene mid-debate to change the direction of the argument.
Have fun :)