# consensus-coordinator

consensus-coordinator — a Claude subagent that computes distributed consensus: Byzantine fault tolerance, voting and agreement across an agent swarm.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 850 repo stars
- Author: ruvnet
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ruvnet/agentic-flow/tree/HEAD/.claude/agents/sublinear/consensus-coordinator.md
- Updated: 2026-10-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/consensus-coordinator

## What it does

The subagent steps in when several nodes or agents have to settle on a single value. It builds a matrix that models how they interact, passes it to a solver and gives back the agreed result plus iteration count and a reliability estimate.

The file walks through Byzantine consensus with a check on how much the network topology can take, voting where each participant's pull comes from PageRank, and swarm coordination that hands out tasks and surfaces conflicts. There is also a section on hooking it into Claude Flow and Flow Nexus, with the cluster started in a sandbox.

Every tool it calls belongs to the `sublinear-time-solver` MCP server. Connect that server first, otherwise the agent can outline a protocol but has nothing to compute with. The definition itself is a single markdown file at `.claude/agents/consensus-coordinator.md`.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/consensus-coordinator.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/consensus-coordinator.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/consensus-coordinator.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ruvnet/agentic-flow/tree/HEAD/.claude/agents/sublinear/consensus-coordinator.md

## When to use it
- reach one agreed value across nodes when some of them fail
- weight votes by influence instead of counting them flat
- test whether a network topology survives Byzantine faults
- assign tasks across an agent swarm and surface conflicts
- estimate convergence before running the full protocol

## Example prompts
- Build the consensus matrix from these node states and solve for the agreed value.
- Check how many faulty nodes this topology tolerates before the network falls apart.
- Rank voter influence with `pageRank`, then reweight the votes.

## Similar
- [collective-intelligence-coordinator](https://affpapa.org/en/nevibecode/agents/collective-intelligence-coordinator.md) — subagent · ★ 189 repo stars
- [hive-mind-advanced](https://affpapa.org/en/nevibecode/skills/hive-mind-advanced.md) — skill · 1100 installs
- [tribunal](https://affpapa.org/en/nevibecode/skills/tribunal.md) — skill · 891 installs
- [llm-council](https://affpapa.org/en/nevibecode/skills/rohit-ghumare-llm-council.md) — skill · ★ 2966 repo stars
- [research-coordinator](https://affpapa.org/en/nevibecode/skills/research-coordinator.md) — skill · 170 installs
- [multi-agent-coordinator](https://affpapa.org/en/nevibecode/agents/voltagent-multi-agent-coordinator.md) — subagent · ★ 6505 repo stars

From the same set: [ruvnet/agentic-flow](https://affpapa.org/en/nevibecode/by/ruvnet/agentic-flow.md) — 76 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
