Skip to main content

A terminal UI that runs Claude, Gemini, and Codex side-by-side in parallel deliberation

Project description

AI Roundtable

让 Claude、Gemini、Codex 围坐一桌,就任意议题展开真正的多轮辩论。

效果

🔵 CLAUDE                        🟢 GEMINI                        🟡 CODEX
─────────────────────────────    ─────────────────────────────    ──────────────────────────
── 快问 ──                        ── 快问 ──                        ── 快问 ──
大模型的核心竞争力在于推理能力,     我认为数据飞轮才是护城河所在,      工程落地能力被严重低估……

两种模式

快问(默认)

三个 AI 并行回答同一个问题,适合快速对比不同视角。

  • /compare — 让三个 AI 互评彼此的回答
  • ^t — 将当前问题升级为深度讨论

深度讨论

主持人轮换制(Gemini → Codex → Claude → …),每轮结束后主持人分析矛盾点、分配行动类型,推动讨论深入。

行动类型:陈述立场 / 反驳 / 补充 / 追问 / 挑战前提 / 综合

轮次指令

输入 作用
开始下一轮
结束会话并生成总结
深入此节 不推进轮次,围绕当前矛盾点再挖一层
@claude 你的看法? 单独问某个 AI

安装

前置条件:已安装并登录 claudegeminicodex CLI。

git clone https://github.com/yourname/ai-roundtable
cd ai-roundtable
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
chmod +x bin/roundtable

使用

./bin/roundtable          # 快问模式启动
./bin/roundtable --deep   # 直接进入深度讨论

快捷键

快捷键 功能
Ctrl+T 切换模式
Ctrl+Y 复制当前面板内容(先点击面板)
Ctrl+E 导出会话为 Markdown
Ctrl+N 新建会话
Ctrl+Q 退出

配置

config.yml 可调整:

ais:
  claude:
    cmd: "claude"
    flags: ["--dangerously-skip-permissions"]

deep:
  moderator_rotation: ["gemini", "codex", "claude"]  # 主持人轮换顺序
  speaking_order: ["claude", "codex", "gemini"]       # 嘉宾发言顺序
  full_rounds_kept: 3                                  # 保留完整的最近 N 轮
  timeout_seconds: 30                                  # 每个 AI 的超时时间

history:
  save_dir: "~/.ai-roundtable/history"   # 会话记录保存位置

会话记录

每次会话自动保存到 ~/.ai-roundtable/history/,JSON + Markdown 各一份,也可按 Ctrl+E 随时导出。

项目结构

ai-roundtable/
├── bin/roundtable        # 启动脚本
├── config.yml            # 配置文件
├── prompts/              # Prompt 模板
│   ├── opening.md        # 开场(第0轮)
│   ├── guest.md          # 嘉宾发言(深度模式)
│   ├── guest_quick.md    # 嘉宾发言(快问模式)
│   ├── moderator.md      # 主持人综述
│   ├── compare.md        # 互评
│   └── compress.md       # 上下文压缩
├── src/
│   ├── main.py           # 入口
│   ├── tui.py            # 终端界面
│   ├── orchestrator.py   # 深度讨论状态机
│   ├── quick.py          # 快问模式
│   ├── cli_caller.py     # AI CLI 调用
│   ├── context_manager.py# 上下文压缩管理
│   ├── history.py        # 会话历史
│   └── prompt_loader.py  # Prompt 加载渲染
└── requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_roundtable-0.0.38.tar.gz (69.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_roundtable-0.0.38-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file ai_roundtable-0.0.38.tar.gz.

File metadata

  • Download URL: ai_roundtable-0.0.38.tar.gz
  • Upload date:
  • Size: 69.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ai_roundtable-0.0.38.tar.gz
Algorithm Hash digest
SHA256 091cffd1a9d449dfa9ea820ea9f5051a24a46123e78b1ab58059eee588c162a9
MD5 0b12f5a8f30624ce40542fca4ef368a4
BLAKE2b-256 55ba91b507cab2ad84dc1349f0111e344f01b13992c72d906dd3af80a83981e6

See more details on using hashes here.

File details

Details for the file ai_roundtable-0.0.38-py3-none-any.whl.

File metadata

  • Download URL: ai_roundtable-0.0.38-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for ai_roundtable-0.0.38-py3-none-any.whl
Algorithm Hash digest
SHA256 1fbc35b3e6bc44b3bdd7611c0237acbc2db6a5a115e7a61b96ade09378d70d96
MD5 548b028529df3bac5d5094ddc4e18277
BLAKE2b-256 abe441f38c2e792e204f9eb8160c4ab54a55776fd5907de41bb0af5b9f1476dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page