8.9 KiB
pi-quorum
Multi-perspective deliberation for the Pi coding agent.
Spawn 3–5 adversarially-roled subagents for 2–3 structured rounds, then synthesize a decision landscape. Human-steered, not automated.
pi-quorum is a prompt-only skill — no script, no runtime, no state file. It orchestrates pi-subagents chain/parallel primitives directly.
What it is not:
- ❌ A reasoning engine. Single frontier/reasoning models now match or beat multi-agent debate on logic at equal compute. The value here is diverse framing and surfaced disagreement, not "smarter answers."
- ❌ A port of a heavy debate engine. No Chair state machine, no factions, no TTS, no HTML deck. The human's own session is the steerer and the Judge.
- ❌ A crew/task orchestrator. Crew is plan → parallel work waves → review. Quorum is debate → cross-examine → synthesis. Different job.
✨ What it does
/quorum "question" runs:
| Phase | What happens | Cost |
|---|---|---|
| 0. Compose | One call designs a roster of 3–5 personas for this specific question — diversity of framing over diversity of title. | 1 call |
| 1. Position | Each agent forms an independent position (parallel, blind to the others). | N calls |
| 2. Probe | Each agent reads all positions and probes the others' reasoning. Probing-for-reasoning is the strongest predictor of group performance gain (R=0.41). | N calls |
| 3. Reflect | Each revises confidence, notes concessions, and what evidence would close remaining gaps. (standard/deep) | N calls |
| 4. Synthesis | Your orchestrating session produces a decision landscape — not a recommendation. | you |
The synthesis output is a map of the disagreement:
- Confidence dispersion (a built-in groupthink detector — rising confidence + narrowing dispersion after debate is a red flag, flagged explicitly)
- Shared concerns · Genuine disagreement · Assumptions per position · Risk vectors · Principal's path
No forced consensus — the tension IS the output.
Between rounds, control returns to your session so you can steer: press a specific argument, reframe, add a constraint, or stop early. That turn-based human checkpoint is the differentiator from a fully-automated debate.
🎯 When to use — and when not to
The baseline is strong. "Ask the main agent, maybe twice" is your real competitor. Quorum only earns its ~13 subagent calls when a single perspective would miss genuine disagreement.
✅ Use it for:
- Architecture or framework forks where you suspect you're anchored
- "Is this whole approach wrong?" sanity checks before committing
- Naming, scoping, or design decisions under genuine uncertainty
- Stress-testing a plan before handing it to a worker
⛔ Don't use it for:
- Pure reasoning, math, or debugging a known error
- Implementing an approved plan
- Anything where asking your main agent twice already gets you the answer
vs. roast — gate vs. lens
The closest neighbor in your toolbox is roast. They share the council metaphor but solve different jobs:
roast |
pi-quorum |
|
|---|---|---|
| Question | An idea you're about to commit to | A decision or fork you're undecided about |
| Output | A verdict: GO / RESHAPE / KILL | A decision landscape — no forced verdict |
| Agency | One-shot, fire and forget | Human-steered, checkpoints between rounds |
| Roles | Fixed personas + a Judge who decides | Composed per-question, you are the Judge |
| Cost | ~5 calls, one pass | ~13 calls, 2–3 rounds |
roastdecides for you.pi-quorummaps the decision so you decide.
roast is a gate — should I even do this? It wants a yes/no and a cheapest test; the value is not building the wrong thing.
pi-quorum is a lens — I have a real fork, show me the shape of the disagreement. It refuses to force consensus because on a genuine decision the unresolved tension is the most valuable output.
- Have an idea you might be wrong about? →
roast - Have a fork where both paths are defensible? →
pi-quorum - Already decided and want validation? → Neither — you're seeking approval, not deliberation.
They compose. A natural pipeline: roast kills the obviously-bad version of an idea (RESHAPE), then pi-quorum deliberates the reshaped fork before you commit.
vs. brainstorming — neither one ideates
Neither roast nor pi-quorum generates ideas. roast needs an idea as input to attack; pi-quorum's convergent disagreement-mapping fights divergent generative work. For ideation, use a brainstorming skill. The three compose into a funnel:
brainstorming → roast → pi-quorum
(generate) (cull) (decide)
Generate widely, kill the weak fast, deliberate the surviving fork.
📦 Install
This is a skill, not an extension. Drop it into a location Pi scans:
# clone
git clone https://github.com/<you>/pi-quorum.git
cd pi-quorum
# user scope (available everywhere)
ln -s "$(pwd)" ~/.pi/agent/skills/pi-quorum
# OR project scope (after the project is trusted)
ln -s "$(pwd)" .pi/skills/pi-quorum
Requires: pi-subagents (for chain/parallel spawning).
Optional: pi-intercom / pi-messenger — only if you later want multi-session room transport. Not needed for the default in-session flow.
Then invoke:
/skill:pi-quorum "Should we migrate from SQLite to Postgres?"
…or just describe a council-worthy decision in natural language and the agent will load the skill.
🧭 Effort modes
| Mode | Agents | Rounds | Calls | Use case |
|---|---|---|---|---|
quick |
3 | position → probe | ~7 | low-stakes sanity check |
standard (default) |
4 | position → probe → reflect | ~13 | normal decisions |
deep |
5 | + assumption-map round | ~16 | architecture, high-friction |
Default to standard. Reach for deep only on architecture or when the question genuinely warrants the extra round.
🧠 Why this shape
Three forces shaped the defaults:
- Value saturates fast. Round 1 = breadth, round 2 = collision, round 3 = refinement. Past that, marginal value dies unless a human steer changes the state. → Default 2–3 rounds, not 15.
- LLMs agree too easily. Adversarial stances are structural, not hoped-for. → The compose phase assigns roles; the dispersion diagnostic catches collapse to mush.
- The baseline is strong. → Quorum must beat "ask twice," or don't run it.
Grounded in collective-intelligence research: probing-for-reasoning (Karadzhov et al. 2024, R=0.41), diversity-of-position over expertise, and the inverted-U of cognitive diversity. See references/composition-guide.md for worked roster examples.
📁 Project structure
pi-quorum/
├── SKILL.md # protocol, prompts, synthesis format
├── README.md # this
├── LICENSE.md # GPL-3.0
└── references/
└── composition-guide.md # worked roster examples, anti-patterns
No scripts/, no runtime, no state file. Deliberate.
🚧 Status
48-hour-test version. This is a v0 designed to validate the riskiest assumption: does anyone — including the author — reach for it a second time on a real decision?
The real test: after installing it, wait one week and notice whether you actually use it. If you don't, the habit doesn't exist and no polish creates it. If you do, that's the signal to add the v2 richness (room transport via pi-messenger, richer artifacts, custom roster templates).
What's deliberately not here (yet)
- Chair state machine, faction tracking
- TTS narration, HTML deck, Excalidraw argument map
- Persistent room / presence (that's
pi-messenger's job — quorum's protocol can layer onto its transport in a future version) - New runtime / extension package
Ship the protocol; add richness only if a real user asks.
🤝 Contributing
PRs welcome. The bias is toward less: if a feature can be expressed as a prompt change rather than code, prefer the prompt. See SKILL.md for the design constraints.
📄 License
GNU General Public License v3.0 © Alexander Kucera