Multi-Model Debate Engine — Run AI Debates


Overview

The Debate Engine is an open-source framework that runs structured AI debates: multiple expert personas (powered by DeepSeek Chat) analyze a question in parallel, then Gemini 2.5 Pro synthesizes their views into a unified recommendation.


When to Use It

  • Complex decisions with no clear right answer (pricing, hiring, market entry)
  • When you want multiple expert perspectives in minutes
  • When you need to stress-test an idea before presenting it
  • Strategy sessions, product prioritization, investor pitch prep

How to Run Locally

```bash

git clone https://github.com/nealkhis/debate-engine

cd debate-engine

pip install httpx

export DEEPSEEK_API_KEY=your_key

export GOOGLE_API_KEY=your_key

python3 debate_engine.py

```


Sample Output Structure

```json

{

"question": "Should we raise prices by 30%?",

"experts": [

{"role": "CFO", "analysis": "..."},

{"role": "Growth Hacker", "analysis": "..."},

{"role": "Customer Success", "analysis": "..."}

],

"synthesis": "Based on all perspectives..."

}

```


Custom Expert Roles

Pass your own list of roles to `run_debate()`. Example: ['Product Manager', 'Legal', 'CTO', 'Sales Lead'].


Cost

Approximately $0.02-0.05 per full debate (4 experts + synthesis).