项目简介
这是一个命令行工具,集结18个著名AI角色(如亚里士多德、费曼等)进行结构化多轮审议,利用多家LLM提供商提供多元推理,揭示分歧与隐藏假设,帮助用户做出更明智的决策。
README 预览
# Council of High Intelligence\n\n\n \n\n\n\n 18 AI personas deliberate your hardest decisions across multiple LLM providers. One command.\n\n\n\n \n \n \n \n \n \n\n\n\nTable of Contents\n\n- [Quickstart](#quickstart)\n- [Why This Works](#why-this-works)\n- [The 18 Council Members](#the-18-council-members)\n- [Three Deliberation Modes](#three-deliberation-modes)\n- [Multi-Provider Auto-Routing](#multi-provider-auto-routing)\n- [Deliberation Protocol](#deliberation-protocol)\n- [Installation](#installation)\n- [Requirements](#requirements)\n- [Contributing](#contributing)\n- [Support the Project](#support-the-project)\n\n\n\n## Quickstart\n\n### Claude Code\n\n```bash\ngit clone https://github.com/0xNyk/council-of-high-intelligence.git\ncd council-of-high-intelligence\n./install.sh\n```\n\nThen in Claude Code:\n\n```\n/council Should we open-source our agent framework?\n/council --quick Should we add caching here?\n/council --duo Should we use microservices or monolith?\n```\n\n### Codex\n\n```bash\ngit clone https://github.com/0xNyk/council-of-high-intelligence.git\ncd council-of-high-intelligence\n./install.sh --codex\n```\n\nThen in Codex:\n\n```\n/council Should we open-source our agent framework?\n/council --quick Should we add caching here?\n/council --duo Should we use microservices or monolith?\n```\n\n## Why This Works\n\nA single LLM gives you one reasoning path dressed up as confidence. Ask it a hard question and you get a fluent, structured, wrong answer. The council gives you structured disagreement instead:\n\n- **Get genuinely different perspectives** — polarity pairs force real tension (Socrates destroys assumptions; Feynman rebuilds from first principles). Multi-provider routing spreads members across Claude, OpenAI, Gemini, and Ollama so you get actually different reasoning, not costume changes on one model\n- **Catch wrong questions early** — the Problem Restate Gate makes every member reframe the question before analysis begins. If 3 memb
常见问题 (5)
故障排除为什么 install.sh 在 CHANGELOG.md 缺失时会立即退出,而不是使用 0.0.0 回退值?
在 set -euo pipefail 下,文件缺失会导致 sed 失败,而 pipefail 会使包含 head 的管道在 ${PROJECT_VERSION:-0.0.0} 执行之前就失败。请在命令替换后追加 || true:
PROJECT_VERSION="$(sed -nE 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/p' "${SCRIPT_DIR}/CHANGELOG.md" 2>/dev/null | head -1 || true)"
PROJECT_VERSION="${PROJECT_VERSION:-0.0.0}"
或者,在运行 sed 之前检查文件是否存在,若文件缺失则赋值为 0.0.0。此修复已在 PR #60 中跟踪。
故障排除如何修复在 Windows 上使用 strftime('%b %-d, %Y') 时出现的 Python ValueError: Invalid format string 错误?
将不可移植的 glibc/BSD %-d 指令替换为显式的日期格式化。在 scripts/gen-star-history.py 中,将:
updated = pts[-1][0].strftime("%b %-d, %Y")
修改为:
d = pts[-1][0]
updated = f"{d:%b} {d.day}, {d.year}"
%-d 不受 Windows Python 支持,而 d.day 能够以可移植的方式生成相同的不补零的日期数字。
故障排除如何修复 detect-providers.sh 在未安装任何模型时将 Ollama 报告为可用的问题?
升级到包含 PR #61 的版本,该版本要求 Ollama 的可用性以解析出的模型列表非空为前提。如果手动修补 scripts/detect-providers.sh,请先解析 ollama list,并且仅当存在至少一个模型行时才设置 ollama_available=true:
if model_list="$(run_with_timeout ollama list 2>/dev/null)"; then
ollama_model_names="$(printf '%s\n' "$model_list" | tail -n +2 | awk 'NF {print $1}')"
if [ -n "$ollama_model_names" ]; then
ollama_available=true
ollama_models="$(printf '%s\n' "$ollama_model_names" | head -5 | sed 's/.*/"&"/' | paste -sd ',' -)"
fi
fi
作为临时解决方法,拉取至少一个模型,并验证 ollama list 显示的是数据行而不仅仅是表头:
ollama pull llama3.2
ollama list故障排除如何跟踪 Session Metadata 中缺失的 STEP 4 和 STEP 6 强制执行调用?
升级到包含 feat: add enforcement call tracking to session metadata 变更的 skill 版本。该修复在 Session Metadata 中新增了两个字段:enforcement_calls,即正常轮次之外的 enforcement 模型调用总数;以及 enforcement_breakdown,即按触发器划分的计数。保持 rounds_run 不变,因为 enforcement 探测不属于轮次。示例输出:enforcement_calls: 2 和 enforcement_breakdown: { agreement_check: 2 }。如果你固定在 commit 0f63c19,这些调用不会被记录,因此基准测试中的 token 节省量可能被高估;请更新版本,或手动统计来自 dissent quota、novelty gate、agreement check、anti-recursion 以及缺失/可解析的 STANCE: 处理的 enforcement 调度。
故障排除当 SKILL.opencode.md 缺少 E3、E7 和 E9,且各主机之间的 council 投票计数不一致时,如何修复 SKILL.opencode.md 漂移问题?
应用或合并 PR #48,以实施 drift-guard 和过时文档修复,然后确保 SKILL.opencode.md 与 SKILL.md v1.2.0 保持一致。所需的内容修复:从提交 cbc2ac0 添加 E3 按成员的 reasoning_method 注入;从提交 4ce07d0 添加 E7 ./.council.yaml Project Overrides 和 E9 置信度加权计票;并恢复 Asset Resolution 部分。对于 E9,投票权重按 base weight × confidence factor 计算,使用 high=1.0、med=0.75 和 low=0.5,而 W_total 按基础权重报告。通过以下方式扩展防护:在 scripts/council-simulation-checklist.sh 中添加 SKILL.opencode.md 存在性检查和 install.sh --dry-run --opencode 检查,在 .github/workflows/lint.yml 中将该文件加入 markdownlint,并在 PR 模板中添加第四个协调器文件一致性复选框。同时更正 CLAUDE.md,并向 Demo E 添加缺失的 Vote Tally 字段。使用以下命令验证:grep -c reasoning_method SKILL.md SKILL.opencode.md、grep -ci council.yaml SKILL.md SKILL.opencode.md、sed -n '456,470p' SKILL.opencode.md 以及 grep -rn opencode scripts/council-simulation-checklist.sh .github/workflows/lint.yml .github/PULL_REQUEST_TEMPLATE.md。