Five reviewers pull your draft apart, keep their disagreement visible, and hand you one verdict — for the text you can't un-ship. A runtime-portable 5-agent council that adjudicates text artifacts before they ship.
> /plugin marketplace add Avyayalaya/agent-council> /plugin install agent-council@agent-council
Repo: Avyayalaya/agent-council
What's inside
Five reviewers pull your draft apart, keep their disagreement visible, and hand you one verdict — for the text you can't un-ship.
A runtime-portable 5-agent council that adjudicates text artifacts before they ship. Five role-conditioned LLM deliberators run in a 2-round async protocol with cross-read rebuttal. One verdict — SHIP, REVISE, or HOLD — plus a structured revision brief and a full audit transcript.
No SDK. No API keys. No vendor lock-in. The Council shells out to whatever LLM CLI is configured (claude, lmstudio, ollama, mock). Modularity invariant is CI-tested — the council can be removed and producing agents keep working unchanged.
Personal research, separate from my day-job at Microsoft. MIT-licensed.
Install · How it works · Quickstart · Customize · AGENTS.md · CHANGELOG
claude plugin marketplace add Avyayalaya/agent-council
claude plugin install agent-council@avyayalaya
Then in any Claude Code session: /council-review path/to/artifact.md or /council-sweep.
git clone https://github.com/Avyayalaya/agent-council.git
cd agent-council
pip install -e .
cp council.yaml.example council.yaml # then edit
python -m agent_council review path/to/artifact.md --tier=1
Requires Python ≥3.11 and at least one supported LLM CLI on PATH.
pip install mcp>=1.0
Add to your client's MCP config:
{
"mcpServers": {
"agent-council": {
"command": "python",
"args": ["<absolute-path>/agent-council/mcp/agent_council_mcp_server.py"],
"env": {
"COUNCIL_CONFIG": "<absolute-path>/agent-council/council.yaml"
}
}
}
}
Tool exposed: council_review(artifact_path, tier=1). Full setup: mcp/README.md. council_sweep and council_audit tools land in v0.1.2.
v0.1.1 ships each deliberator as a standalone Skill under skills/ so any APM-compatible harness gets the methodology inline — no Python CLI required for single-perspective review.
apm marketplace add Avyayalaya/agent-council
apm install agent-council --target copilot
Then in the harness, load one Skill at a time:
skeptic-review — adversarial steelman passvoice-identity-review — line-level voice audit + CXO testevidence-calibration-review — per-claim T1-T6 evidence-tier auditstrategy-stakes-review — goal-fit and opportunity-cost checkadjudicator-synthesis — verdict synthesis from 2+ deliberator outputsUse cases per surface:
| Use case | Surface |
|---|---|
| Run full automated Council on an artifact with parallel deliberators + 2-round cross-read + JSONL audit | python -m agent_council review path/to/artifact.md --tier=1 or MCP council_review tool |
| Apply one deliberator role to a doc I am editing right now (the analytics product, Claude, Cursor) | Load the matching Skill |
| Compose 2 or 3 deliberators ad-hoc for a multi-angle ad-hoc review | Load multiple Skills sequentially, then optionally load adjudicator-synthesis |
| Use slash commands in Claude Code | /council-review path/to/artifact.md (Claude Code only) |
The Skills are the interactive single-perspective surface. The CLI / MCP is the automated full-Council surface. They share the same 5-deliberator methodology but trade differently:
| Capability | Compose Skills sequentially | Full Council via CLI / MCP |
|---|---|---|
| One perspective at a time | yes | yes (the deliberators) |
| Parallel deliberator execution | no | yes |
| Round 2 cross-read rebuttal (each deliberator sees the other 3 R1 critiques) | no | yes |
Adjudicator prior-verdict compounding loop on artifact_type | no | yes |
| JSONL audit log, replayable | no | yes |
| Single adjudicated verdict (not 5 separate critiques) | no | yes |
| Structured, persisted verdict record per run | no | yes |
| Cost per review | 1 LLM call per Skill | ~9 LLM calls (4 deliberators × 2 rounds + Adjudicator) |
| Sweet spot | Ad-hoc 1 or 2 perspectives on a doc you are editing | Pre-ship gating in pipelines; structured, persisted audit trail |
Composing 5 Skills sequentially produces 5 independent critiques. That is useful for ad-hoc multi-angle review, but it is not the same artifact as the automated Council. If you need parallel execution, cross-read rebuttal, or a structured, persisted JSONL verdict record, use the CLI / MCP path.
Read the 5 prompts at prompts/. Each is self-contained and explains what the deliberator should produce. Run them in your tool of choice, then merge the verdicts using the policy in src/agent_council/verdict.py.
┌──────────┐
│ artifact │ ───► tier-1? No ───► skip
└────┬─────┘ │
│ Yes
▼
┌────────────────────────────────────────────────────────┐
│ ROUND 1 — 4 deliberators run in parallel │
│ │
│ Skeptic Voice & Evidence & Strategy │
│ (adversarial) Identity Calibration & Stakes │
│ │
│ each → {verdict, scores, would_block, irreducible, │
│ revision_brief} │
└─────────────────────────────┬──────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ ROUND 2 — same 4 deliberators, with cross-read │
│ │
│ Each sees the other 3 R1 verdicts; may update. │
│ Single-deliberator misfires get corrected; indep- │
│ endent first reads preserved. │
└─────────────────────────────┬──────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ ADJUDICATOR (single call) │
│ │
│ Merges 4 R2 verdicts + reads prior verdicts on same │
│ artifact_type from council_log.jsonl (D6 loop). │
│ │
│ Verdict policy: │
│ 3+ block on irreducible → HOLD │
│ 3+ block on reducible + │
│ Adjudicator reasons downgrade → REVISE │
│ otherwise → SHIP │
│ + revision_brief │
└─────────────────────────────┬──────────────────────────┘
│
▼
SHIP / REVISE / HOLD
+ revision_brief
+ audit row → council_log.jsonl
| Deliberator | Concern | Reads |
|---|---|---|
| Skeptic | Adversarial review — catches premature coherence, narrative fallacy, survivorship bias, unstated assumptions | (artifact only) |
| Voice & Identity | Voice DNA, banned-pattern enforcement, channel register, CXO test | Operator's voice corpus + persona DNA |
| Evidence & Calibration | Source verification, evidence-tier classification (T1–T6), confidence levels, base rates | (artifact only) |
| Strategy & Stakes | Goal alignment, stake calibration, opportunity cost vs. operator's active projects | Operator's goals doc + project state |
| Adjudicator | Merge + prior-verdict loop. Final verdict and revision brief | All four above + council_log.jsonl |
LLM-as-judge approaches collapse five distinct concerns into one critic:
A unified judge averages these into one score. The Council keeps them separated. Each deliberator owns one concern, reads one context, surfaces one kind of dissent. The Adjudicator merges them — but you see which deliberator blocked and why, not just the merged number.
This matters for tier-1 artifacts where the cost of shipping a flaw is high (public publish, irreversible commitment, identity-shaping document) and the cost of one more revision pass is low.
After pip install -e . and copying council.yaml.example → council.yaml:
# Single artifact
python -m agent_council review path/to/artifact.md --tier=1
# Daily sweep over watch paths
python -m agent_council sweep --since=24h
# Audit recent verdicts (filter by date/verdict/artifact-type)
python -m agent_council audit --since=7d --verdict=HOLD
Output goes to stdout as JSON; the audit row appends to council_log.jsonl.
examples/demo/ ships a fictional LinkedIn post + the structured verdict the Council produced for it + the extracted revision brief. Read these first to calibrate expectations before running your first real review.
The Council is designed for tier-1 artifacts — the ones where review cost is justified:
Tier classification is rule-based — glob patterns in council.yaml#tier_rules.
The Council was designed to be invoked from outside an agent loop, not from inside it. That's not a stylistic choice — it's a CI-tested invariant:
PYTHONPATH=src python -m unittest tests.test_modularity_invariant -v
The test scans the host operator system's agents/*/prompt.md files and asserts zero references to Council. If a producing agent's prompt starts to know about the gate that reviews it, the build fails.
This means:
AGENTS.md is the machine-readable capability manifest — agent orchestrators read this to route tasks without reading 1,300 lines of source.
FAQ
agent-council is a Claude Code plugin with 5 hand-picked skills for content work, indexed on Flowy. Install it with the command on its page. It includes adjudicator-synthesis, evidence-calibration-review, skeptic-review. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it