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 分