1. Conduid
  2. Agents
  3. Deliberation
MCP server · Agents

Deliberation

Ask Codex, Gemini, Grok, and 400+ OpenRouter models (Qwen, Kimi, DeepSeek) for second opinions or arbiter-mediated consensus. One MCP server for Claude Code, Codex, Cursor, Kiro, OpenCode. Measures the models' usefulness, too.

80Strong

Scored 20 hours ago · breakdown

About Deliberation

Deliberation is an MCP server published by antonbabenko in the Agents category: ask Codex, Gemini, Grok, and 400+ OpenRouter models (Qwen, Kimi, DeepSeek) for second opinions or arbiter-mediated consensus. One MCP server for Claude Code, Codex, Cursor, Kiro, OpenCode. Measures the models' usefulness, too. Conduid read 18 tools from its source: analyze, ask-all, ask-one, codex-login, consensus, consensus-step and 12 more. No package is published for it, so it installs from a source checkout.

The repository has 191 stars and 13 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v4.6.1 (18 Nov 2026): Bug Fixes mcp: refuse calls to a provider disabled in config (#295) (c8cf5f9). It follows v4.6.0 (18 Nov 2026), and the 5 most recent releases go back to v4.3.0 (18 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include ai-coding, claude-code-plugin, code-review, consensus, devtools and grok.

Install

From source
git clone https://github.com/antonbabenko/deliberation

Tools (18)

analyzeAnalyze recent runs from the opt-in debug log (latency/tokens/reasoning-effort per model) plus the session store (verdict agreement rate), and return advisory tuning suggestions (disable a slow/redundant model in ask-all, lower an OpenRouter model's reasoning, adjust maxFanout). Two lenses reported side by side - timing and agreement are NOT joined (no shared run id). Requires `debug.enabled` for the timing lens. Local and read-only (no provider calls, writes nothing); returns a text-wrapped JSON envelope with the two lenses + suggestions. The `/deliberation:analyze` slash command renders this for humans.
ask-allFan out one question to GPT, Gemini, Grok, and any configured OpenRouter models in parallel for independent second opinions, then return all results (advisory, no cross-contamination). Pass `expert` to apply a persona to every delegate. Calls external LLM providers (each needs its key/CLI; provider rate limits apply); returns a text-wrapped JSON envelope { results[], omitted[] } and persists a session record only when sessions.persist is enabled (default off).
ask-oneSecond opinion from ONE named provider in the active panel (e.g. `codex`, `gemini`, `grok`, `openrouter:<alias>` - get the names from `panel`). Issue N in parallel (one per panel name) so each renders independently as it lands. For `codex` with no login, the call itself starts a device login and returns its link + code (errorKind auth): never skip it for that reason. Better: when `panel` lists codex in `needsLogin`, run `codex-login` first so GPT answers from this call. Calls one external LLM provider (needs its key/CLI; rate limits apply); returns a text-wrapped JSON envelope { result }, or { error, panel } when the name is not in the panel. Advisory, single-shot.
codex-loginStart (or join) the ChatGPT device login for GPT (Codex) and return its link + one-time code WITHOUT asking GPT anything. Use it when GPT has no login on this machine (e.g. Claude Code on the web): show the returned `message` to the user as-is; GPT answers once they approve in the browser. A host with MCP elicitation also gets a dialog. At most one `codex login --device-auth` runs per server; credentials are never read or copied. Returns a text-wrapped JSON envelope { status: authenticated|pending|starting|declined|failed|unavailable, message, url?, code?, expiresAt? }.
consensusRun the FULL multi-round consensus convergence loop server-side with a provider arbiter (blind pass + peer fan-out -> adjudicate -> revise) and return the converged verdict. Default depth is `consensus.maxRounds` (config, default 5); pass `maxRounds` to override. Pass `synthesizeAlways:true` for a SINGLE arbiter synthesis pass instead of the loop (best for open questions, not plan convergence): it returns a free-text `synthesis` and `maxRounds` is ignored. Configure the arbiter via `consensus.arbiter` - a concrete provider/openrouter alias runs server-side; `host` mode returns the opinions for YOU to synthesize. Advisory; pass `expert` to apply a persona. Calls external providers (keys/CLI; rate limits apply); returns a text-wrapped JSON envelope (split verdict/synthesis, loop fields nullable) and persists a session record only when sessions.persist is enabled (default off). NOTE (Claude Code): use the `/consensus` slash command for the transcript-visible host-arbiter loop (it drives `consensus-step`); this tool is the provider-arbiter path for any host.
consensus-stepClient-driven consensus loop where YOU (the host model) are the arbiter, one action per call: init (returns sessionId + blind prompt) -> record_blind (your pre-commit verdict) -> dispatch_peers (server fans out to the providers) -> submit_adjudication (your verdict + per-issue accept/dismiss/defer) -> submit_revision (your revised plan), looping until converged or consensus.maxRounds rounds (default 5). Only the dispatch_peers action calls external providers; the others are local transitions on the ephemeral per-session loop store (keyed by sessionId, lost on server restart). Each call returns a text-wrapped JSON envelope with the next status/round (plus blindPrompt, opinions[], or finalReport by action). Advisory to the outside world, but mutates server loop state on every call.
doctorHealth check for this deliberation install: config validity (config/config.schema.json), provider CLIs and keys (codex, agy, XAI_API_KEY, OpenRouter key, local providers), sessions/debug flags, the host tool-call cap, the session store dir and, when `shellSessionsDir` is passed, path drift between your shell and this server. Local and read-only: stat/env probes plus `codex --version`, no provider API calls, no login, writes nothing. Returns a text-wrapped JSON envelope { findings[] (check, status ok|warn|fail|info, message, fix?), summary, paths }. The `/deliberation:doctor` slash command renders this for humans.
geminiStart a new Gemini expert session
ParameterTypeDescription
cwdstringCurrent working directory
developer-instructionsstringExpert system instructions
include-directoriesarrayAdditional workspace dirs; maps to repeated --add-dir on the Antigravity CLI (agy).
modelstringagy path only (the API key path ignores it and uses providers.gemini.apiModel). An agy model id fusing family + effort, e.g. "gemini-3.6-flash-high" (see `agy models`), passed as --model; defaults to providers.gemini.model, then GEMINI_DEFAULT_MODEL, then the "auto-gemini-3" router alias.
prompt *stringThe delegation prompt
recovery-gracenumberExtra ms to keep agy alive after the soft timeout to drain a late answer from streamed stdout. 0..600000. Default 120000. 0 disables drain.
sandboxstring
timeoutnumberSoft timeout in ms. 1..600000. Default 300000. On expiry the bridge drains the streamed stdout and recovers a late answer instead of failing.
gemini-replyContinue an existing Gemini session
ParameterTypeDescription
cwdstring
include-directoriesarrayAdditional workspace dirs; maps to repeated --add-dir on the Antigravity CLI (agy).
prompt *stringFollow-up prompt
recovery-gracenumberExtra ms to keep agy alive after the soft timeout to drain a late answer from streamed stdout. 0..600000. Default 120000. 0 disables drain.
sandboxstring
threadId *stringConversation ID returned by a previous gemini call
timeoutnumberSoft timeout in ms. 1..600000. Default 300000. On expiry the bridge drains the streamed stdout and recovers a late answer instead of failing.
grokStart a new Grok (xAI) expert session. Advisory only (no filesystem editing). Supports attaching files.
grok-replyContinue an existing Grok session (in-memory; lost if the MCP server restarts).
ParameterTypeDescription
cwdstringBase directory for relative file path uploads
filesany
modelstring
prompt *stringFollow-up prompt
reasoning_effortstringReasoning effort; defaults to GROK_REASONING_EFFORT or high. Use 'none' to omit.
rootsarrayOptional absolute directory roots for resolving files[].path and files[].dir.
threadId *stringSession ID returned by a previous grok call
timeoutnumber
openrouterStart an OpenRouter expert session (advisory only). Pick a configured `alias`.
openrouter-listList configured OpenRouter delegates and settings. Pass mode ('ask-all'|'consensus') + optional expert to also get the resolved `selected` delegate set (selection applied server-side from the live config).
ParameterTypeDescription
expertstring
modestring
openrouter-replyContinue an OpenRouter session by threadId (in-memory; lost on restart).
ParameterTypeDescription
aliasany
cwdany
filesany
modelany
presetany
prompt *string
reasoning_effortany
rootsany
temperatureany
threadId *string
timeoutany
panelReturn the names of the providers `ask-all` WOULD dispatch for the current config + expert (enabled built-ins + eligible OpenRouter aliases, fanout cap applied), WITHOUT calling them. Use this to discover the panel, then issue one `ask-one` call per provider in parallel for visible per-provider progress. Pass `for: "consensus"` for the /consensus panel instead. `needsLogin` lists panel members with no login yet (codex on a fresh machine): run `codex-login` and let the user approve BEFORE dispatching, so they answer from the first call. No provider calls and never starts a login; when the dashboard journal is enabled (`dashboard.enabled`) it writes one local journal line opening a fan-out run and returns its `runId` - pass that to every `ask-one`. Returns a text-wrapped JSON envelope { providers[], omitted[], unavailable[], needsLogin[], runId? }.
session-annotateAppend a freeform note to a persisted session's audit trail - an additive local write, no provider calls. Requires sessions.persist. Returns a text-wrapped JSON envelope { session } (the updated record), or { error } when persistence is off or the id is unknown.
session-getFetch a persisted consensus/ask-all session record by id (opinions, verdict, arbiter, annotations). Requires sessions.persist; local and read-only (no provider calls). Returns a text-wrapped JSON envelope { session }, or { error } when persistence is off or the id is unknown.
session-revisitRe-run a persisted session's ORIGINAL question with the CURRENT providers/config, linking the new run to its source by parentId. Requires sessions.persist; re-runs through the original tool path (which dispatches external providers) and persists a linked child record on success. Returns a text-wrapped JSON envelope (the re-run payload + parentId), or { error } when persistence is off or the id is unknown.

Security checks

  • ✓README presentThe repository's README runs to about 5.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionScanned 88 source files and found 2 calls to eval or shell execution, in server/dashboard/stop.js and server/gemini/index.js. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v4.6.1v4.6.1 · 18 Nov 20264.6.1 (2026-11-18) Bug Fixes mcp: refuse calls to a provider disabled in config (#295) (c8cf5f9)
v4.6.0v4.6.0 · 18 Nov 20264.6.0 (2026-11-18) Features kiro: ship the Power in the Agent Plugins format (#290) (046db3e) Bug Fixes release: bump the root plugin.json version in the release commit (#292) (6829173)
v4.5.0v4.5.0 · 18 Nov 20264.5.0 (2026-11-18) Features gemini: default to an AI Studio API key, keep agy as opt-in (#278) (995c34c)
v4.4.0v4.4.0 · 18 Nov 20264.4.0 (2026-11-18) Features mcp: add read-only doctor tool behind /deliberation:doctor (#275) (0eabbce)
v4.3.0v4.3.0 · 18 Nov 20264.3.0 (2026-11-18) Features mcp: add init subcommand that detects credentials, writes the config, pings providers and runs a demo consensus (#279) (f37ec58) openrouter: built-in three-vendor panel from OPENROUTER_API_KEY alone (#274)…

README

The repository's README runs to about 5.9K words, fetched 13 days ago. The original in the repository is authoritative.

Read full README
Questions

About Deliberation

How do I install Deliberation?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Deliberation safe to use with an AI agent?

Its trust score is 80 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Deliberation still maintained?

Yes — the latest release is v4.6.1 (18 Nov 2026), and the last commit was 2 days ago. The repository has 191 stars and 2 open issues.

What tools does Deliberation provide?

Conduid read 18 tools from the source: analyze, ask-all, ask-one, codex-login, consensus, consensus-step, doctor, gemini and 10 more. 5 of them publish their parameters, listed under Tools above.

What license is Deliberation released under?

The repository declares the MIT license. That applies to the latest release, v4.6.1, as well.