Three agents must agree.
Or the gate stays shut.
Multi-Agent Consensus is a Claude Code plugin where Lead, Alpha, and Bravo independently validate every gate. Unanimity or nothing — 2-of-3 does not pass. Built from a real session where a single-agent reviewer explicitly approved a P2 streaming bug; three independent eyes catch what one set misses.
One artifact. Three eyes. Zero majorities.
Multi-Agent Consensus is not majority voting. It is not weighted scoring. It is unanimity at every phase gate. The producer never reviews their own work, and a 2-of-3 PASS is treated as a failure to converge.
Add marketplace. Run. Read three votes.
Two distribution channels — a Claude Code plugin (interactive, native slash commands) and a pipx CLI (CI / non-interactive). Pick one; both produce identical evidence on the same target.
# Install via the Claude Code marketplace. $ claude plugin marketplace add krzemienski/multi-agent-consensus $ claude plugin install multi-agent-consensus@multi-agent-consensus # Run the full consensus pipeline against a project. $ /consensus-run --target ./my-project --phases "explore,audit,fix,verify" # Phase explore → Lead, Alpha, Bravo each run independently # evidence/explore/{lead,alpha,bravo}/*.{json,log} # Phase audit → 3 votes merged into evidence/audit/verdict.json verdict: PASS Lead: PASS · Alpha: PASS · Bravo: PASS verdict: PASS Lead: PASS · Alpha: PASS · Bravo: PASS verdict: BLOCK Lead: PASS · Alpha: PASS · Bravo: FAIL — "P2 streaming bug at line 42" # Inspect the dissent. Fix the real system. Re-run. $ /consensus-report --phase audit
# CI-friendly install — no interactive Claude Code session needed. $ pipx install git+https://github.com/krzemienski/multi-agent-consensus.git # Same model prompts, same evidence schema, exit code reflects verdict. $ consensus run --target ./my-project --phases "explore,audit,fix,verify" # Single-gate validation — useful when you only need to re-check one phase. $ consensus validate --target ./my-project --phase audit # View the JSON-schema-validated verdict from the last run. $ consensus show-config → phases: 4 · gates: 4 · quorum: 3/3 · evidence_root: ./e2e-evidence
Three independent paths. One gate.
Each phase ends at a checkpoint where Lead, Alpha, and Bravo each cast a vote. The diagram below shows the structural shape: parallel independent validation, then merge. 2-of-3 does not unlock the gate — only 3-of-3.
Three roles. One protocol.
Each role is a real subagent definition under ./agents/{lead,alpha,bravo}.md. Each owns its own evidence subdirectory and votes blind. The Lead authors the merged report only after Alpha and Bravo have submitted.
The five commands
Five slash commands cover the full lifecycle — from running a pipeline to inspecting a single gate’s verdict. Every command writes evidence to the configured root and emits a JSON verdict against the public schema.
What ships in v0.2.0.
Counts grounded in ~/Desktop/blog-series/multi-agent-consensus/ — the canonical plugin tree. Two distribution channels, identical evidence shape on the same target.
Two channels. Same evidence.
Run as a Claude Code plugin for interactive sessions, or as a pipx CLI for CI. Both produce the same JSON verdicts, the same per-agent evidence directories, and the same exit-code semantics.
# Channel A — Claude Code plugin (recommended for interactive use). $ claude plugin marketplace add krzemienski/multi-agent-consensus $ claude plugin install multi-agent-consensus@multi-agent-consensus # Channel B — pipx CLI (recommended for CI / scripts). $ pipx install git+https://github.com/krzemienski/multi-agent-consensus.git # Verify install. $ /consensus-roles Lead · agents/lead.md loaded Alpha · agents/alpha.md loaded Bravo · agents/bravo.md loaded # First run. $ /consensus-run --target . --phases audit
Read the protocol. Then run it.
Every agent definition, command spec, vote schema, and example is open source. Below: the eight pages worth bookmarking on day one.
A 2-of-3 PASS is not a PASS. It is the shape of disagreement the gate is designed to surface.
From single-validator to 3-of-3 quorum.
Multi-Agent Consensus has shipped on monthly minor versions since launch. Major beats: independent evidence per validator (v0.1), plugin distribution (v0.2).
/consensus-* slash commands. Inherited Claude Code auth. Task-tool agent dispatch.