Ai Consensus

io.github.TheStevenJohnstone由 GitHub 账号 TheStevenJohnstone 发布v0.12.2更新于 Oct 24, 2026

Standing review layer for coding agents: Claude, GPT and Gemini debate, return consensus + dissent.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

一个本地 stdio 连接器,让编程助手把重要决策交给由 Claude、GPT 和 Gemini 组成的托管评审团,获得共识建议和最强异议。

可以做什么
把决策或任务提交给三模型评审团并等待结果,或先启动运行稍后取回结果,或取消进行中的运行。零成本检查连接与配置,确认服务可达、密钥被接受、提供方密钥齐全。返回一条建议以及评审团交叉质询后得出的最强异议。
适用场景
适合希望为编程助手常设评审层的团队,让架构、设计、实现方案和疑难缺陷在上线前由三个独立模型辩论。不适合偶尔使用或纯机械性修改。
运行要求
通过 npx 以 stdio 进程在本地运行,需要 Node.js。需要在 AI_CONSENSUS_API_KEY 环境变量中提供 AI Consensus API 密钥,密钥需在厂商网站创建。需要访问托管服务的网络;自托管时可指向自定义 API 地址。
安装前请注意
该密钥用于账户认证并按套餐计费,可能是预付额度,也可能是你自己的模型令牌(自带密钥方案每次运行约 0.40–1 美元)。请妥善保管密钥;文档中的 --env 写法会把它留在 shell 历史中。决策和任务内容会发送到厂商的托管评审服务,该服务并非开源。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ai Consensus,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

AI Consensus — coding-agent connector

Make AI Consensus a standing part of your development model. Your coding agent — Claude Code, Cursor, Cline, any MCP client — routes every decision of consequence through three frontier AIs (Claude, GPT, Gemini) that answer independently, then cross-examine each other, and return one recommendation plus the strongest dissent. You keep working inside your agent; the panel reviews as you go.

This is not a tool you reach for occasionally. It's a review layer you switch on once, and from then on everything that matters gets debated by three independent models before it ships. (Honest bill: a run takes a few minutes and, on the bring-your-own-keys plan, costs roughly $0.40–$1 of your own provider tokens.)

Setup — Claude Code (about 2 minutes)

  1. Get an API key: sign in at https://ai-consensus.ai → Developer API → create a key (copy it; it's shown once).

  2. Add the connector:

    bash
    claude mcp add ai-consensus --scope user \  --env AI_CONSENSUS_API_KEY=aic_live_your_key_here \  -- npx -y ai-consensus-connector

    (Self-hosting? add --env AI_CONSENSUS_API_URL=https://your-instance.)

  3. Verify it's connected (free — no run is started):

    "Use the check_ai_consensus_connection tool."

  4. Make it your standing rule — add to your project's CLAUDE.md:

    STANDING RULE: This project develops with AI Consensus as its review layer.Route every decision of consequence — architecture, design, implementationapproach, tricky bugs, anything whose cost of being wrong is real — throughconsult_ai_consensus as a matter of course, and weigh its recommendation andstrongest dissent before acting. Purely mechanical edits (formatting, typos,exact instructed changes) don't need a run. When in doubt, consult.

    Teams that want everything routed can use the strict variant instead:

    STRICT MODE: Consult consult_ai_consensus before every non-trivial change ofany kind, and weigh the dissent before acting.

Setup — Cursor / Cline / other MCP clients

Add a stdio MCP server with command npx -y ai-consensus-connector and the AI_CONSENSUS_API_KEY environment variable. For Cursor, in mcp.json:

json
{  "mcpServers": {    "ai-consensus": {      "command": "npx",      "args": ["-y", "ai-consensus-connector"],      "env": { "AI_CONSENSUS_API_KEY": "aic_live_your_key_here" }    }  }}

Then put the standing rule in your project's agent rules file (.cursorrules, .clinerules, etc.).

Tools

  • consult_ai_consensus — route a decision/task through the panel and wait for the result (a few minutes).
  • start_ai_consensus / get_ai_consensus_result — fire-and-forget + collect later.
  • check_ai_consensus_connection — zero-cost setup check (reachability, key accepted, provider keys present).
  • cancel_ai_consensus_run — stop a run.

Your key authenticates to your account and bills your plan (unlimited on your own keys, or prepaid credits). Keep it secret — and note that pasting the --env form above stores the key in your shell history; use your client's config file if that concerns you.

Open source, hosted service

This connector is open source under the MIT license. It is a thin client for the paid, hosted AI Consensus service — you bring your own AI Consensus API key; the deliberation engine itself runs on our servers and is not part of this repository. The MIT license covers this connector's code only and grants no rights to the AI Consensus name or branding.

Support boundary: connector bugs and setup issues → GitHub issues; account, API-key or billing questions → [email protected].

来源:README.md,提交 7fe1524

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.12.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分