Dissentry

com.lihaila由 lihaila.com 發布官方發布者v0.10.5更新於 Nov 22, 2026

Multi-model AI fact-checker (Community Notes for AI) and second opinion across LLM families.

已驗證Streamable HTTP可網頁執行開發者工具AI 與機器學習

概覽

AI 產生的概覽

Dissentry 讓助理呼叫其他已設定的 AI 模型,對答案、方案與程式碼做事實查核,並跨模型家族取得第二意見。

可以做什麼
  • 列出已設定的模型與查核器,包含供應商、模型 ID 及本機或雲端標示
  • 用查核器模型平行對答案、方案、程式碼或技術論點做事實查核與對抗式審查
  • 向一個或多個模型徵求第二意見,可讓其他查核器附加共識異議備註
  • 讀取由本機 Dissentry 歷史紀錄產生的個人模型可信度統計
適用情境
當助理的答案、架構方案或程式碼片段風險較高、需要獨立模型驗證後再採用時,或想從不同模型家族取得第二意見時使用。
執行需求
可使用託管遠端端點並透過 OAuth 登入,或以 npx 在本機執行(需 Node.js 20+),沿用本機 Dissentry 資料檔中已設定的模型與金鑰。模型已設定時 OpenRouter API 金鑰為選用;否則需要各供應商金鑰或 OpenRouter 登入,並需能連線至模型供應商。
安裝前請注意
託管方式要求在 OAuth 授權頁以 OpenRouter 登入或填寫供應商 API 金鑰,金鑰據稱加密存放於 bearer token 中。請求會送往第三方模型供應商,除非啟用僅本機鎖定,否則提示詞、程式碼與附件會離開本機。模型用量計入你自己的供應商帳戶。本機方式會讀寫家目錄下的資料檔。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Dissentry,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.lihaila%2Fdissentry/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "dissentry": {
      "type": "http",
      "url": "https://dissentry.lihaila.com/v1/mcp"
    }
  }
}

README

[Dissentry: don't take one AI's word for it]

[Dissentry logo] Dissentry

Don’t take one AI’s word for it.
Ask one model. The others fact-check it, and add a note only when it’s wrong.

Try Live App →  ·  Overview  ·  MCP Setup  ·  npx dissentry  ·  Releases

[npm version] [CI status] [MIT license]


Dissentry is an X-style timeline for AI models. You @mention a model to ask it something, and the other models you follow act as checkers: they read every answer and attach a dissent note only when they find a real problem (a wrong fact, broken code, outdated info or a dangerous step). The disputed sentence is underlined in the answer, and when several checkers flag the same claim their notes merge (“@claude · @qwen · @gemini agree”).

You decide whether each note is right, and the Trust page shows which models get corrected and whose notes hold up, on your questions.

https://github.com/user-attachments/assets/0a38fb4d-9615-4770-bb28-a1867de8e7e5

Features

  • Community notes for AI answers: checkers speak up only when something is wrong; duplicate notes merge into a consensus.
  • Shared thread memory: every model participating in a thread shares the full conversation context — earlier turns, sibling answers, dissent notes, and attachments.
  • Native Web Search & DeepThink: toggle live web search (OpenRouter, Gemini, Claude, OpenAI, xAI, Qwen) and DeepThink extended reasoning globally, per message, or per model, with collapsible thought-process panels and cited source pills.
  • Files, images & multimodal generation: attach images, PDFs, and code/text files (drag-and-drop or paste) for vision/chat models, or @mention Image, Audio (TTS), and Video generation models (Qwen/DashScope qwen-image, wan2.7-image, qwen3-tts-flash, wan2.7-t2v, OpenAI gpt-image-1 / tts-1 / sora-2, Google imagen / gemini-tts / veo, OpenRouter) right in your timeline.
  • Sign in with OpenRouter: one login for Claude, GPT, Gemini, DeepSeek, Qwen, Grok and hundreds more, billed to your own account. No keys to copy.
  • Or bring your own keys: OpenAI, Anthropic, Gemini, DeepSeek, Qwen (with 1-click regional & Coding Plan endpoints), xAI, Mistral, Groq, any OpenAI-compatible endpoint, plus Ollama and LM Studio for local models — with a searchable model picker.
  • Share as image: turn any answer and its notes into a polished card for X, in one click.
  • Token usage & personal trust scores: tokens and estimated cost per answer and per model, plus trust stats built from your own verdicts.
  • Local vs. Cloud clarity & Local-only thread lock: every model is clearly labeled Local or Cloud, the composer shows before sending whether a post stays on your device or shares context with cloud checkers, and a 1-click Local only lock enforces a hard privacy boundary across the entire thread (including replies, quotes, and checks).
  • Built-in MCP Server (stdio & Streamable HTTP): expose Dissentry's multi-model fact-checker (dissentry_check, dissentry_ask, dissentry_list_models, dissentry_trust) directly inside Google App (Gemini Desktop), Claude Code, Cursor, Claude Desktop, Antigravity, DSH (DeepSeek Harness), WorkBuddy, and Qwen Work / Qwen Code — reusing your ~/.dissentry/data.json models, keys, and proxies with zero duplicate setup.
  • Private & persistent by design: keys, chats, attachments, generated media, and your custom profile avatar stay on your device. Running npx dissentry automatically syncs to ~/.dissentry/data.json (0600 owner-only permissions) and auto-restores if browser data is cleared; the hosted web app requests browser persistent storage and supports 1-click local JSON file auto-backup. No accounts, no telemetry.
  • Four languages: English, 简体中文, 日本語, 한국어.
  • Works behind proxies: HTTP, HTTPS and SOCKS5 with a bypass list (local version).
[Share-as-image card][The timeline in Chinese]

[Landing page]
Share as image: a 2400px card ready for XFull UI in Chinese, Japanese and Korean · landing page

Get started

Hosted: open https://dissentry.lihaila.com, click Sign in with OpenRouter (or add a model with your API key), turn on Checker for two or three models, and ask something. Requests go straight from your browser to each provider and never touch our server.

Local (recommended for local models and maximum privacy; needs Node.js 20+):

bash
# Run immediately (no install required)npx dissentry
# Or install globally so you can run `dissentry` anywherenpm i -g dissentrydissentry

This opens http://localhost:4317. The local version adds a built-in pass-through proxy (so every provider works and local models need no CORS setup) and automatically persists your models, API keys, and threads to ~/.dissentry/data.json (0600).

Docker:

bash
docker build -t dissentry . && docker run -p 4317:4317 dissentry

Inside Docker, reach Ollama on the host at http://host.docker.internal:11434/v1.

MCP Server (Google App, Claude Code, Cursor, DSH, WorkBuddy, Qwen Work, Antigravity)

Run Dissentry as a Model Context Protocol (MCP) server — either Hosted Cloud MCP (zero install, OAuth 2.1) or Local MCP (stdio & Streamable HTTP) — so your AI app or coding agent can call your other models to adversarially fact-check plans, code, and claims (dissentry_check), ask other model families for a second opinion (dissentry_ask), list configured models (dissentry_list_models), and read your personal trust stats (dissentry_trust).

  • Official MCP Registry: com.lihaila/dissentry (domain-verified via lihaila.com)
  • Hosted Cloud MCP (zero install, OAuth 2.1): https://dissentry.lihaila.com/v1/mcp — connect directly from Google App (Cloud MCP), Claude, Cursor, ChatGPT, or Qwen Work, sign in with OpenRouter (or bring your own keys) in the OAuth consent page; keys are AES-256-GCM encrypted inside your Bearer token and never stored in a database.
  • Local Stdio: npx -y dissentry mcp (zero daemon required; reuses ~/.dissentry/data.json or env vars; add --local-only for strict Ollama/LM Studio privacy lock)
  • Local Streamable HTTP: automatically available at http://127.0.0.1:4317/mcp while npx dissentry is running, or headless via npx -y dissentry mcp --http (default http://127.0.0.1:4318/mcp)

Claude Code / Qwen Code (CLI):

bash
# Hosted Cloud MCP (OAuth 2.1, zero local setup)claude mcp add --transport http dissentry https://dissentry.lihaila.com/v1/mcp
# Claude Code (Local stdio)claude mcp add dissentry -- npx -y dissentry mcp
# Qwen Code / Qwen Work (Local stdio or Streamable HTTP)qwen mcp add dissentry -- npx -y dissentry mcp# or: qwen mcp add --transport http dissentry http://127.0.0.1:4317/mcp

WorkBuddy / Cursor / Claude Desktop / Windsurf / Antigravity (~/.gemini/config/mcp_config.json):

json
{  "mcpServers": {    "dissentry": {      "command": "npx",      "args": ["-y", "dissentry", "mcp"]    }  }}

Tip (fastest startup & offline-ready): Run npm i -g dissentry once, then use "command": "dissentry", "args": ["mcp"] (or the absolute paths to node and dissentry if you use nvm).

For Qwen Work / Qwen Code (~/.qwen/settings.json) Streamable HTTP mode, use "httpUrl": "http://127.0.0.1:4317/mcp". For WorkBuddy and Antigravity Streamable HTTP mode, use "url": "http://127.0.0.1:4317/mcp".

Google App (Gemini Desktop — Set up a custom connected app):

  • Option A — Cloud MCP (easiest, zero install): Choose Cloud MCP and enter URL https://dissentry.lihaila.com/v1/mcp, then approve with OpenRouter (or your API keys) in the OAuth prompt.
  • Option B — Local MCP (uses ~/.dissentry/data.json & Ollama):
    • Setup method: Local MCP
    • Server Name: Dissentry
    • Description: Multi-model AI fact-checker & second opinion
    • Command: npx -y dissentry mcp (Using nvm? Run npm i -g dissentry once and use absolute paths, e.g. /Users/<you>/.nvm/versions/node/<ver>/bin/node /Users/<you>/.nvm/versions/node/<ver>/bin/dissentry mcp.)
    • Sandbox settings: pick Customize Sandbox (or Full Access), check Allow outbound network access, and add Read (R) for ~/.dissentry (plus Read + Execute (R + X) for ~/.nvm if using nvm; press ⌘⇧. in the macOS folder picker to show hidden dotfiles).

DSH / DeepSeek Harness (@deepseek-ai/dsh-mcp-client / dsh-mcp-center):

yaml
# Stdio (recommended)- id: mcp-dissentry  name: '@deepseek-ai/dsh-mcp-client'  config:    serverName: dissentry    transport: stdio    command: npx    args:      - '-y'      - 'dissentry'      - 'mcp'
# Or Streamable HTTP (while `npx dissentry` or `npx dissentry mcp --http` is running)- id: mcp-dissentry-http  name: '@deepseek-ai/dsh-mcp-client'  config:    serverName: dissentry    transport: streamable-http    url: http://127.0.0.1:4317/mcp

Using a proxy (mainland China, company networks)

Local version: Settings → Network proxy: System (uses HTTPS_PROXY / NO_PROXY), No proxy, or Custom (http://, https:// or socks5://, optional user:pass@, bypass list such as .aliyuncs.com, api.deepseek.com). Test connection checks reachability. Hosted version: requests use your browser’s / system proxy or VPN.

Can I use my ChatGPT Plus or Claude Pro subscription?

No. Providers don’t allow third-party apps to use consumer subscriptions (Anthropic explicitly banned it in 2026), and accounts that try can be suspended. Sign in with OpenRouter is the supported one-login alternative.

How it works

  • React single-page app; all data in the browser. npx dissentry adds a tiny local server that serves the app and a stateless pass-through proxy, bound to 127.0.0.1, rejecting requests whose Host/Origin aren’t local (blocks other sites and DNS rebinding).
  • Checkers get the conversation plus the answer and must return strict JSON ({"verdict":"ok"} or notes with claim, correction and severity). Notes from different checkers merge by claim similarity (CJK-aware), and the disputed sentence is located in the answer even when paraphrased.
  • Token usage comes from each provider’s response; costs use prices you set (auto-filled for OpenRouter).

Self-hosting

npm run build:web and serve dist/web from any static host. See deploy/Caddyfile.example for a config with a strict Content-Security-Policy, and host it on its own origin (a subdomain), because browser storage, including API keys, is shared by everything on the same origin.

Development

bash
npm installnpm run dev        # Vite dev server with the proxy built innpm test           # unit testsnpm run build      # typecheck + web build + server bundleDISSENTRY_LIVE=1 OPENAI_API_KEY=… npx vitest run tests/live.test.ts   # optional live provider test
PathWhat
src/lib/engine.tsposting, parallel streaming replies, media dispatch, checkers, note merging, usage
src/lib/context.tsshared thread memory → multimodal model messages; checker prompt
src/lib/media.ts, src/lib/files.ts, src/lib/persistence.tsimage/audio/video generation; local attachment & avatar processing; disk & file persistence
src/lib/notes.ts, src/lib/claims.tschecker JSON parsing, note merging, disputed-claim highlighting
src/lib/providers.ts, src/lib/openrouter.tsprovider adapters (web search, DeepThink, model picker), OpenRouter sign-in (OAuth PKCE)
src/i18n/UI strings in four languages
server/local proxy and static server

Releasing (maintainers)

npm version patch (or minor), then git push --follow-tags. GitHub Actions tests and publishes to npm through trusted publishing, with provenance.

License

MIT © Lihai La LLC. Provider logos come from @lobehub/icons (MIT); they are trademarks of their owners and are used only to show which model wrote a post.

來源:README.md,提交 345e85a

工具

4

dissentry_list_models

List Configured AI Models

List the AI models and fact-checkers configured in Dissentry (from ~/.dissentry/data.json or environment variables), including each model handle, provider, modelId, checker flag, and whether it runs locally or in the cloud.

輸入參數localOnly

dissentry_check

Fact-Check with Multiple AI Models

Fact-check and adversarially review an AI answer, architecture plan, code snippet, or technical claim using your configured Dissentry checker models in parallel (Community Notes for AI). Checkers stay silent unless they find a concrete error, bug, outdated claim, dangerous step, or critical omission, and duplicate findings merge into consensus notes. Use for high-stakes plans, code/security reviews, and factual verification — not trivial chatter.

輸入參數answer必填authorcheckersquestionlocalOnlywebSearch

dissentry_ask

Ask Another AI Model Family

Ask one or more configured Dissentry models (e.g. gpt, gemini, claude, deepseek, qwen, grok, or local ollama) for a second opinion, optionally letting your other checker models fact-check each answer and attach consensus dissent notes.

輸入參數checkmodelsprompt必填deepThinklocalOnlywebSearch

dissentry_trust

Read Model Trust Statistics

Read your personal model trust statistics computed from your Dissentry history (~/.dissentry/data.json), showing how often each model was corrected and how often its dissent notes were accepted.

無需輸入參數。

版本歷史

1
  1. v0.10.5最新Nov 22, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分