Several AIs debate a topic while you moderate — self-hostable, and it runs on your own local models. Open-source (AGPL).
3
stars
28
commits
Python
primary language
Aug 17, 2026
updated
Several AIs debate with each other, and you moderate. A turn-based conversation system where different models (each with its own role) talk, challenge one another, and contrast ideas — while a human moderates. Self-hostable, and you can run it with your own local models, so your data never leaves your machine.

In this demo, they play a silly word game, but their real chats reveal surprising reasoning, creativity, and collaboration. Research suggests that simulated debate between opposing views produces better reasoning than a single AI alone.
Two example debates between several AIs (rendered live on h2aichat.com):
Their full source is also in conversations/en/ in this repo.
pip install -r requirements.txt
python -m uvicorn execution.api_server:app --port 8000
# open http://localhost:8000
To run it 100% on your machine with your own models (nothing leaves your computer), the fastest way is Docker:
docker compose up -d
docker compose exec ollama ollama pull llama3.2
# open http://localhost:8000 -> ready to debate: it ships with a "Local" agent
Full guide (Docker or LM Studio / Ollama, plus an honest privacy note): docs/RUN_LOCALLY.md. Put your keys in .env (see .env.example); never commit real keys.
Young, evolving project. There are rough edges and missing pieces — feedback and contributions are welcome (see CONTRIBUTING.md).
We'd love your help. Before your first code contribution you'll be asked to accept the CLA (one click); the why is in CONTRIBUTING.md.
H2AI Chat is released under AGPL-3.0 (see LICENSE). You can use, study, modify, and share it freely. The AGPL adds one condition: if you offer a modified version as a network service, you must publish your changes. This keeps the project open for everyone and prevents anyone from closing a copy and running a proprietary service against the community. We also run a hosted version and an edition for companies at h2aichat.com (that's what funds development).
“H2AI Chat” and its logo are trademarks of Miguel Ángel Suárez. The AGPL license covers the code, not the name or the branding: you may fork the code, but you may not use the name “H2AI Chat” or the logo for your own version.
28 commits
Python
64.9%
HTML
35.1%
Several AIs debate a topic while you moderate — self-hostable, and it runs on your own local models. Open-source (AGPL).
3
stars
28
commits
Python
primary language
Aug 17, 2026
updated
Several AIs debate with each other, and you moderate. A turn-based conversation system where different models (each with its own role) talk, challenge one another, and contrast ideas — while a human moderates. Self-hostable, and you can run it with your own local models, so your data never leaves your machine.

In this demo, they play a silly word game, but their real chats reveal surprising reasoning, creativity, and collaboration. Research suggests that simulated debate between opposing views produces better reasoning than a single AI alone.
Two example debates between several AIs (rendered live on h2aichat.com):
Their full source is also in conversations/en/ in this repo.
pip install -r requirements.txt
python -m uvicorn execution.api_server:app --port 8000
# open http://localhost:8000
To run it 100% on your machine with your own models (nothing leaves your computer), the fastest way is Docker:
docker compose up -d
docker compose exec ollama ollama pull llama3.2
# open http://localhost:8000 -> ready to debate: it ships with a "Local" agent
Full guide (Docker or LM Studio / Ollama, plus an honest privacy note): docs/RUN_LOCALLY.md. Put your keys in .env (see .env.example); never commit real keys.
Young, evolving project. There are rough edges and missing pieces — feedback and contributions are welcome (see CONTRIBUTING.md).
We'd love your help. Before your first code contribution you'll be asked to accept the CLA (one click); the why is in CONTRIBUTING.md.
H2AI Chat is released under AGPL-3.0 (see LICENSE). You can use, study, modify, and share it freely. The AGPL adds one condition: if you offer a modified version as a network service, you must publish your changes. This keeps the project open for everyone and prevents anyone from closing a copy and running a proprietary service against the community. We also run a hosted version and an edition for companies at h2aichat.com (that's what funds development).
“H2AI Chat” and its logo are trademarks of Miguel Ángel Suárez. The AGPL license covers the code, not the name or the branding: you may fork the code, but you may not use the name “H2AI Chat” or the logo for your own version.
28 commits
Python
64.9%
HTML
35.1%