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 分