meshctl

Orchestrate a mesh of parallel Claude agents. Seven specialized roles, worktree isolation, file locks, live telemetry — the glue that makes multi-agent coding actually work.

source → · Rust · MIT · bundled with reverie

The seven roles

Seven-role mesh anchor opus orchestrator builder sonnet implements memory haiku custodian release sonnet reviewer research sonnet explorer security sonnet auditor steward haiku groomer opus sonnet haiku dashed lines = coord-send dispatch
Seven-role mesh. Anchor (opus) dispatches to six specialists over the coord filesystem-backed inbox. Color = model tier.

A mesh has exactly one anchor and six specialist workers. Each role has its own capabilities, hard boundaries, and model tier — anchors use opus for orchestration, memory uses haiku for lightweight custodial work, builders use sonnet for code.

anchor opus · orchestrator

Dispatches work, monitors health, cherry-picks to main.

builder sonnet · implementor

Writes crate code. Uses file locks for shared files.

memory haiku · custodian

Runs dream cycles, dedup, consolidation, context quality.

release sonnet · reviewer

Linear triage, PR review, CHANGELOG, release cuts.

research sonnet · explorer

External research, prior art, codebase exploration.

security sonnet · auditor

Secret scanning, dep audits, permission review.

steward haiku · groomer

Periodic backlog grooming, terminology drift, roadmap coherence.

Task flow

Fan-out task flow anchor opus Redis stream tasks:queue:default builder-q1 XREADGROUP builder-q2 XREADGROUP builder-q3 … autoscaled pool tasks:results XADD on exit XADD cherry-pick to main
Anchor XADDs to tasks:queue:default; queue-drain workers XREADGROUP, ACK after execute, and post to tasks:results. Anchor cherry-picks to main.

Coordination primitives

Dashboard

meshctl dash gives you a live, full-screen view: service health (reveried, redis, memcache), offload chain (ollama, openrouter), peer table with per-worker heartbeat and task phase, GPU sparklines, queue depth, dead-letter counts, and an event feed streaming every XADD and completion.

Keybindings include filter, sort, jump-to-peer-detail, pause, theme cycle, and a vim-style command mode for dispatch without leaving the TUI.

Quick start

cd ~/projects/reverie
make release && make install-all
meshctl init           # cold-boot the mesh
meshctl dash           # live telemetry
meshctl execute "task" # route to the right worker