Skip to main content
Glama

blessthis-llm-council

Blind multi-model councils, and direct seat chat, as a local MCP server.

Ask one question — get N independent answers from N different LLMs, each running as a real agent CLI on your machine, each answering anonymously so no model can bandwagon another's take. A synthesizer merges the answers, the council scores them blind, and only then are the hats lifted. When you don't need a whole council, open a direct 1:1 chat with any seat over the same MCP connection. You bring your own models, gateways, and credentials — the package is pure orchestration.

How it works

 you (via your agent host)
        │  brief
        ▼
  council_start ──► N anonymous seats (hat_1 … hat_N)
        │            each seat = one LLM family, spawned as a
        │            headless CLI subprocess (claude / pi / codex)
        ▼
  council_poll  ◄── watch seats work (live progress)
        │
        ▼
  council_answer / council_ask ──► collect answers, cross-examine
        │
        ▼
  synthesis ──► council_score (blind: hats still on)
        │
        ▼
  council_reveal ──► hats off: which model wrote what
        │
        ▼
  council_close

The conductor (your agent host: Claude Code, pi, Cursor, …) talks to the MCP server. The server spawns the seat CLIs, tracks per-(seat, model) health and cooldowns, and persists councils, scores, and chat sessions in a local SQLite database. No seat ever sees another seat's answer before scoring.

Related MCP server: conclave

How the council works: blind synthesis

The diagram above compresses the flow; here is what actually happens and why it is built that way. The full step-by-step procedures live in the ready-made council agents under agents/ — start with agents/pi/blessthis-council-architect.md.

Hat blindness. Every seat gets an opaque label — hat1, hat2, … — and the hat→model map stays hidden on the server until you call council_reveal. The orchestrating agent (and the human reading its output) therefore collects, cross-examines, and synthesizes answers blind: model identity cannot bias scoring or synthesis. Scores are attached to models server-side only at reveal time, feeding the historical per-model leaderboard (model_scores).

The loop is agent-driven, not server-driven. The MCP server is deliberately dumb — start / poll / answer / ask / reveal / score / close and nothing else. It makes no hidden LLM calls and applies no judgment. All thinking lives in the council agent (shipped for claude/codex/cursor/copilot/gemini/pi), which runs the loop:

 council_start ─► council_poll ─► council_answer ×N ─► council_ask? ─►
                  (long-poll        (fetch each hat's   (cross-examine
                   until done)       full proposal)      conflicts)

        ─► verify + synthesize ─► council_score ─► council_reveal ─► council_close
           (mechanical checks,     (1–10 per hat,     (hats off,           (records
            ONE coherent answer)    hats still on)     de-anonymized)       kept)
  1. Collect all hat answers, treating every hat as equally credible until assessed.

  2. Cross-examine conflicts with council_ask — probe a specific claim against a specific file or constraint; never nudge seats toward consensus.

  3. Verify each proposal on four axes: requirements coverage, codebase fit, trade-off soundness, and a method-driven failure-path sweep — reading the real code, not trusting the seat's self-assessment.

  4. Synthesize ONE coherent answer: the strongest proposal as the spine, verified compatible ideas grafted from the others, then an omission audit — every point raised by a non-chosen proposal is either included or explicitly excluded, never silently dropped.

  5. Score blind (1–10 per hat) before council_reveal, then close out.

Choosing the best is not a vote. Agreement is not evidence — models share biases, so a popular answer can be systematically wrong. The agent mechanically verifies each option's claims against the real codebase and the stated requirements, and labels every option SOUND, FLAWED (with the specific violation), or UNPROVEN (carried forward as an explicit risk). One seat with a verified trade-off outranks three that merely converge. Where a load-bearing trade-off is genuinely balanced, both options are surfaced with the deciding question — that call stays with the human.

Quick start

Requirements: uv, and at least one seat CLI installed (claude, pi, or codex) with credentials. Linux/macOS first-class; Windows untested (best-effort). Tip: see seats.example.yaml in the repo for a commented full example.

uvx blessthis-llm-council

That's it. The interactive wizard will:

  1. Build your seats.yaml (seat templates for common setups, per-seat env prompts, optional 1-token probe per seat).

  2. Ask about telemetry (on by default; opt out anytime).

  3. Wire up one host of your choice (MCP registration + council agent files). Re-run blessthis-llm-council install to add more hosts.

Then restart/reload your host and either ask the installed council agent ("run a council on …") or call the tools directly (e.g. mcp__llm-council__council_start).

Useful CLI commands (same binary):

blessthis-llm-council seats list|add|edit|remove|probe   # manage seats.yaml
blessthis-llm-council doctor                             # full diagnostics
blessthis-llm-council status                             # fast wiring overview
blessthis-llm-council uninstall                          # clean removal

Two console scripts ship in the package: blessthis-llm-council is the installer/management CLI; blessthis-llm-council-server is the MCP server your host launches (you never run it by hand — the wizard registers it).

seats.yaml

All seat topology and secrets live in one file: ~/.blessthis-llm-council/seats.yaml, mode 0600, never committed anywhere.

telemetry:
  enabled: true          # explicit; ON by default (Decision #22)

seats:
  fable:
    models: [claude-fable-5, claude-opus-4-8]   # preferred first
    agent:
      bin: claude
      args: ["-p", "{prompt}", "--output-format", "json",
             "--dangerously-skip-permissions",
             "--model", "{model}", "--add-dir", "{workdir}"]
      env:
        ANTHROPIC_API_KEY: __REPLACE_ME__

  glm:                       # pi reads its own models.json — no env needed
    models: [glm-5.2]
    agent:
      bin: pi
      args: ["--mode", "json", "--no-extensions", "--no-skills",
             "--no-prompt-templates", "--no-context-files",
             "-p", "{prompt}", "--model", "{model}"]
      env: {}
      # add --tools <allowlist> to sandbox this seat (cuts off MCP
      # servers + extensions)

  gpt:                       # codex runner via an OpenAI-wire gateway
    models: [gpt-5]
    agent:
      bin: codex
      args: ["exec", "--json", "--skip-git-repo-check", "-s", "read-only",
             "--color", "never", "-m", "{model}", "-C", "{workdir}", "{prompt}"]
      env:
        OPENAI_BASE_URL: https://your-gateway.example/v1
        OPENAI_API_KEY: __REPLACE_ME__

A seat is an LLM family, not a runner — the same binary can back several seats with different credentials (e.g. native API + gateway fallback as two seats, preferred-first). args is a pure exec-array (one argv token per element, {prompt} / {model} placeholders required). The wizard writes this file for you; edit later with blessthis-llm-council seats edit <name>.

Codex seats are OpenAI-wire. Non-OpenAI models behind a codex seat need an OpenAI-compatible gateway — set OPENAI_BASE_URL (plus the key) in that seat's agent.env — because the codex CLI only speaks the OpenAI protocol. Codex authentication itself (codex login or OPENAI_API_KEY) is your own concern and is never managed by the council: a missing/failed login simply surfaces as a seat error (nonzero exit with stderr, e.g. codex auth failed), where you can inspect it via seat_health or the error response.

Tools reference (17)

Council (10)

Tool

What it does

council_start

Start a blind council: brief + seat roster → hat assignments, spawns seats.

council_poll

Check progress of running seats (turns, tokens, done/error).

council_answer

Fetch a finished seat's answer (still anonymized by hat).

council_ask

Cross-examine a hat (resumes that seat's CLI session with a follow-up).

council_is_model_replied

Blind boolean: has a given model answered yet?

council_reveal

Lift the hats: map each hat → seat/model. Use after scoring.

council_score

Record blind scores (1-10 per hat) + notes — the mandatory end step.

council_close

Close the council; records are kept for history.

model_scores

Leaderboard: aggregated historical scores per model.

seat_health

Per-(seat, model) health/cooldown status.

Direct seat chat (6)

Tool

What it does

chat_start

Open a 1:1 chat session with a named seat. Optional resume_session attaches to an existing CLI session id.

chat_send

Send a message (async; returns a task_id immediately).

chat_poll

Long-poll for the turn's reply (+ usage; first turn yields the resume id).

chat_history

Read back a chat session's messages.

chat_list

List chat sessions (optional working_dir filter); rows carry cli_session_id for resume_session.

chat_close

Close a chat session (history preserved).

Discovery (1)

Tool

What it does

list_seats

List configured seats (name, models, runner kind) from seats.yaml.

Host support

Host

Agent files

MCP registration

Claude Code

~/.claude/agents/blessthis-council-*.md

claude mcp add --scope user (CLI)

Gemini CLI

~/.gemini/agents/

gemini mcp add -s user (CLI)

pi

~/.pi/agent/agents/blessthis-council-*.md

file-merge into ~/.pi/agent/mcp.json

Codex

~/.codex/agents/ (TOML)

file-merge into ~/.codex/config.toml

Cursor

.cursor/agents/blessthis-council-*.md

file-merge into ~/.cursor/mcp.json

GitHub Copilot / VS Code

.github/agents/blessthis-council-*.agent.md (+ conductor orchestrator) — per-project

file-merge into .vscode/mcp.json (top-level key servers)

Everywhere the server is registered under the canonical name llm-council as { "command": "uvx", "args": ["blessthis-llm-council-server"] } — a non-destructive merge that never touches your other servers or agents (we only ever write/remove entries matching our fingerprint and blessthis-council-* files).

Philosophy

  • Why blind? Models bandwagon. Show an LLM another model's answer and you get agreement theater, not independent judgment. Hats stay on until scoring is done, so scores reflect the answer, not the author.

  • Why real CLIs instead of API calls? Your seat CLIs already have working auth, tooling, session resume, and model routing. The council spawns the same claude / pi / codex binaries you use interactively — headless, with your config — so there's no second credential store to break and no reimplemented client to drift. This package never makes a direct LLM HTTP call.

  • BYO everything. Models, gateways, API keys, base URLs — all yours, all in seats.yaml. No hosted component, no account, no lock-in.

Telemetry

When enabled, we send only anonymized scoring events: {model, kind, score, usage, tool_version, ts, council_uuid, agent}. agent is which agent CLI hosted the council (claude/pi/codex/cursor/copilot/gemini), "unknown" if undetectable.

We never send: your code, file paths, briefs, answer content, notes, seat names, credentials, or seat-health data.

Uninstall & privacy

blessthis-llm-council uninstall            # removes MCP entries + agent files
blessthis-llm-council uninstall --purge    # also deletes seats.yaml + state.db

Everything lives under ~/.blessthis-llm-council/ (seats, SQLite state) plus the llm-council entry and blessthis-council-* files in your host configs. Nothing else on your system is touched. seats.yaml contains your API keys — keep it 0600 and never commit it.

License

AGPL-3.0-or-later. Fork it, improve it — but improvements to this package must be shared back under the same license.

Available Tools

17 tools
chat_closeB

Mark a chat closed. History is KEPT; a running turn is cancelled.

Inputs: chat_session_id (required).

chat_historyC

Message-level history of a chat: [{role, content, ts, usage}, ...].

Inputs: chat_session_id (required). Returns: result

chat_listA

List chat sessions (closed included, marked), optionally filtered to a single working directory.

Inputs: working_dir. Returns: result

chat_pollB

Long-poll a queued chat turn; returns early when the turn completes: {status, reply?, usage?, progress?}.

Inputs: task_id (required), wait, timeout.

chat_sendA

Send a message to the chat's seat — ASYNC; returns immediately with {task_id}. Poll the turn with chat_poll.

Inputs: message (required), chat_session_id (required).

chat_startA

Open a direct 1:1 chat with one seat (seats.yaml key). Returns {chat_session_id, seat, model}. model defaults to the seat's first healthy model.

Inputs: seat (required), model, working_dir, system_prompt.

council_answerA

Fetch ONE seat's FULL answer text by blind hat label (e.g. 'hat2') — the content council_poll deliberately omits to keep your context lean. Call once a hat shows status=done in council_poll. Never reveals the model.

Inputs: hat (required), council_id (required).

council_askA

Cross-examine ONE seat by its blind hat label (e.g. 'hat2') within a council. Runs a follow-up turn on that seat's session (it may re-read files) and returns its reply synchronously. Never reveals the model. Use to probe disagreements before you synthesize.

Inputs: hat (required), message (required), council_id (required).

council_closeA

Mark a council closed. Records are KEPT (council, hats with answers/errors, and seat sessions) for history/debugging — nothing is deleted. Score the seats with council_score FIRST if you haven't.

Inputs: council_id (required).

council_is_model_repliedA

Blind check: has model finished answering (status=done) in this council? Returns True/False only — never the hat label or answer — so you can confirm a model participated without breaking hat blindness for scoring/synthesis.

Inputs: model (required), council_id (required). Returns: result

council_pollA

Poll a council for seat STATUS ONLY (blind — no model names, no answer bodies, so it never bloats your context). Each hat returns its status; a DONE hat returns answer_chars (size hint); a RUNNING hat returns live progress {turns, output_tokens} read natively from its transcript so you can tell it's advancing vs wedged. With wait=True this long-polls up to timeout seconds, returning early as soon as a new seat finishes or all are done.

FIRST poll: use timeout >= 360 — seats take minutes, and a short first poll just burns turns on no-op status checks (the long-poll returns EARLY the moment any seat finishes, so a big timeout costs nothing). Subsequent polls can be shorter. Call repeatedly until done=true, THEN fetch each answer with council_answer(council_id, hat).

Inputs: council_id (required), wait, timeout.

council_revealA

De-anonymize a council: return the hat->model mapping and per-seat status. For human/debug insight AFTER synthesis — do NOT use this to weight the diagnosis.

Inputs: council_id (required).

council_scoreA

Score each seat's reply — the MANDATORY end step of every council, AFTER your synthesis and BEFORE council_reveal (so scores can't be biased by model identity). scores: [{"hat": "hat1", "score": 7, "notes": "verified root cause, thin on fix"}, ...] score is 1-10; judge correctness against the verified code, depth, and actionability. The server resolves hat->model itself, feeding the per-model quality leaderboard (see model_scores).

Inputs: scores (required), council_id (required).

council_startA

Convene a blind multi-model council on a hard problem. Fans brief out to one seat session per model — each an independent file-reading agent bound to working_dir — runs them CONCURRENTLY in the background, and returns IMMEDIATELY with a council_id and blind hat labels (hat1, hat2, ...). The hat->model mapping is hidden (revealed only via council_reveal), so you can synthesize across seats without knowing which model produced which answer. Poll for answers with council_poll.

models: OPTIONAL — omit it (or pass []) to get the default one-seat-per-family roster. working_dir defaults to the server's current working directory.

kind: what this council is FOR, e.g. "bug", "review", "architecture" (default "adhoc"). Purely descriptive record-keeping — never affects routing — but persisted so the council history shows why a council was convened.

Inputs: brief (required), kind, models, working_dir, +1 more.

list_seatsA

List the seats defined in seats.yaml: {seats: [{name, models, runner_kind}, ...], warnings: [...]} (loader warnings surfaced, e.g. a seat skipped for validation errors). A seat is an LLM family served by a local agent CLI (claude/pi/codex).

Inputs: no named parameters.

model_scoresA

Per-model quality leaderboard from all council scores: avg_score, eval count, and the 5 most recent scores per model.

Inputs: no named parameters. Returns: result

seat_healthA

Dump the seat/model availability cache: per-model status (ok/cooldown), the classified reason (balance/quota), the last error, and cooldown expiry. Seats record capacity failures here; council_start skips models in cooldown. (Renamed from model_health, Decision #20; backing table renamed in P2.)

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 17 tools

    Disambiguation5/5

    The tools are clearly separated into council and chat workflows, plus supporting utilities. Within each group, actions like poll, answer, ask, and score are unambiguous. The only near-overlap (council_poll vs. council_is_model_replied) is resolved by distinct purposes—status reporting vs. model-presence check.

    Naming Consistency5/5

    All tools follow a consistent snake_case convention with clear prefixes: council_* for council operations, chat_* for chat operations, and descriptive nouns like model_scores, seat_health, list_seats. The pattern is predictable and uniform across the surface.

    Tool Count4/5

    With 17 tools, the count is slightly above the typical well-scoped range, but the domain spans two distinct workflows (councils and chats) plus seat/quality management, so each tool serves a clear purpose without redundancy. The bulk is justified by the multi-step nature of both workflows.

    Completeness5/5

    The council lifecycle is fully covered from start to poll, answer, cross-examine, score, reveal, and close, including blind checks and persistence. The chat workflow also has full CRUD and history. Seat management and model quality feedback round out the surface with no obvious gaps.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers