musterd
OfficialSummary: Use musterd as a local-first team coordination server for humans and agents: manage membership and presence, route typed messages and work items, and keep a durable record of who did and accepted what.
Join/leave the team, claim a seat by name or role, wait for approval, and set availability (
available/away/dnd).Send typed Acts to a member,
@team,@broadcast, or 2–4 names; use threads/replies and acts likemessage,status_update,request_help,handoff,accept,decline,wait,resolve,steer,challenge,defer,ask,insight.Check a durable inbox (unread, full, by ids, blocking wait), read wake context, and inspect team status, members, roles, model, and presence.
Ask humans questions with options/blocking/anyone semantics; humans can configure how seats talk to them.
Save/read seat-private working memory and save/search team-wide insights.
Manage shared Seeds (ideas): list, read, claim, ask/answer, submit, promote.
Manage lanes/work: open, claim, release, board search/filter, update state/scope/dependencies/branch/metrics/evidence, hand off with note/branch, submit PR/SHA evidence, resolve and attest merges.
Declare/list/retract Goals, link lanes to goals, record goal outcomes, and get derived goal status.
Get orientation via
team_nextand coordination reports at IC, team, or exec altitude.It does not run agents or sandbox their tools; it is the coordination membrane over MCP/HTTP/WS with local SQLite storage.
Agents that work as a team alongside you.
Agents and the people they work with are named members of one team. The record shows what landed and who stands behind it: every piece of work names who did it and who accepted it.
Your agents and the people you work with join one team as named members — across any harness, framework, model, or surface. Humans are first-class members, not approvers. Every act on the roster carries a member's name, and who occupies a seat is what the harness observed, not what the agent declared. A member can decline, and a lane records who claimed it, which model did it, and who accepted it. The record shows the chain. musterd names the work that goes through the team; it does not contain the agent.
· Contributing · Code of Conduct · Security · Privacy · SPEC · Roadmap · Architecture
Status: v0.3, designed in the open. Packages ship on their own semver (
npm view @musterd/cli version) — the protocol version names the trust model, not the package release. Local-first. No account, no cloud, no phone-home. See PRIVACY.md.

A scripted walkthrough — real server, protocol, presence, and CLI rendering; the agents' lines are scripted. See docs/demo.md for the full cut and how to record the real 3-pane version.
The wedge nobody else covers
MCP connects an agent to tools.
A2A connects an agent to another agent, per request.
Neither models a persistent team with identity, presence, and humans as peers. That's musterd.
A Member is an identity, not a session. Presence is where that member is currently attached — a Claude Code session, a Codex session, a CLI, later an app — like a person on desktop + phone. The team server routes messages to wherever members are present; offline members get a durable Inbox. Coordination outlives any single task or session.
Related MCP server: Morion AI MCP
Quickstart
You need Node 22 or later, and an agent tool you already use.
# 1. Install the command line tool.
npm install -g @musterd/cli
# Or with Homebrew: brew install SandRiseStudio/musterd/musterd
# 2. Run it in your project’s folder.
cd your-project
musterd init
# 3. Start a chat with your agent there, then take the tour.
musterd tourThe install is about 61 MB (ADR 846 and
ADR 854, checked in CI). A native resident seat, which runs a model inside musterd itself, needs one add-on that the
plain install leaves out: npm install -g @earendil-works/pi-ai@1.2.0 @earendil-works/pi-agent-core@1.2.0.
Seats in Claude Code, Codex or Cursor need nothing more. Exporting musterd's own traces and metrics
over OTLP, which is off by default, needs the OpenTelemetry SDK add-on
(ADR 854); musterd prints the
install line when an endpoint is set without it.
musterd init is the one-command path: it finds the agent tools you already use (Claude Code, Codex, Cursor, OpenCode, Grok), asks if it can configure the musterd MCP server for you, then shows a live spinner that flips to ● Ada is online via claude-code the instant your agent connects. Then it offers a five-minute tour (musterd tour): you give your agent a small lane, judge what comes back, and read the record it leaves.
Then bring your work in: ask your agent to "bring this repo's work into musterd". Its musterd-import skill reads the repo (and its GitHub issues, if gh is signed in), writes a file of goals and lanes, and shows you musterd import's preview. Nothing is created until you say yes and it runs musterd import save. You can also fill in a CSV yourself — see musterd help import.
To give each member a job, from a built-in role like designer or one you build yourself, see Give your agents a role.
Claude Code is registered at its project-local scope (keyed by the folder), so it works whether you use the terminal (
claude) or the editor extension in VS Code / Cursor — just open that same folder and start a new chat (reload the window if it was already open; check with/mcp).
Any MCP-capable harness joins by running the @musterd/mcp adapter with the member's environment (musterd init writes it for the harnesses it finds) — its agent becomes a Member with the team tools — the six core (team_join, team_leave, team_send, team_inbox_check, team_status, team_members) plus the lane, goal, seat-memory and report tools (18 total). The adapter is dormant until it calls team_join (explicit activation), and acting (team_send/team_inbox_check) is gated on having joined. Harness-agnosticism for free.
Collaboration acts
Messages carry a typed Act, grounded in the Co-Gym collaboration-act taxonomy — not ad-hoc text:
message · status_update · request_help · handoff · accept · decline · wait · resolve · steer · challenge · defer
resolve closes a thread when its work is done — the open-vs-done axis that makes threads computable as work items. Typed acts and durable inboxes are the point: MAST found ~79% of multi-agent failures are coordination failures — lost context in handoffs, misalignment — not capability failures. musterd is exactly that coordination layer: explicit identity, durable inboxes, typed acts instead of improvised handoffs.
Principles
The bet that agents-as-teammates beats agents-as-tools is empirical, not just stylistic: in controlled study, collaborative agents beat fully autonomous ones on real-user preference (86% / 74% / 66% across three tasks), and removing the notification protocol — forcing turn-taking — more than halves the win rate. See
research-foundation.md(Co-Gym, arXiv:2412.15701).
Humans are members, not approvers. Same envelope, same acts, same inbox as agents — no bolted-on "human-in-the-loop" mode.
An agent is an identity, not a session. Sessions come and go; the member persists. Presence is where you are, not who you are.
Teams are persistent. Coordination outlives any single task or session.
Protocol over framework. We don't run your agent — we connect it. Small core, adapters at the edge.
One member does the work; the team does the coordination. Multi-agent isn't magic — gains over a single strong agent are often marginal, and most failures are coordination failures. musterd never forces decomposition: a team of one agent (plus optionally a human) is first-class, even default. Add members for true parallelism, separate surfaces, or human collaboration — not to split tasks for its own sake.
Local-first. SQLite + a local daemon. No account, no cloud required to use it. Telemetry is off until you point an OTLP endpoint; the product does not phone home (PRIVACY.md).
Secure by default. Identities are claimed, not assumed: occupying a seat takes an authorized, audited step, and the safe defaults (live approval, least-privilege credentials, dormant sessions) are the defaults — convenience is an explicit opt-in. (The seat/grant model — agent key + admin grants + human credentials — shipped in v0.3:
membership-model.md,security.md, SPEC Appendix A.)The boundary is explicit: musterd does not yet sandbox agent tools, encrypt its SQLite database at rest, use mTLS, or sign its audit log. See SECURITY.md for supported versions, private vulnerability reporting, and the current security boundary.
How it fits with MCP, A2A, Fleet, CrewAI
what it is | musterd's relation | |
MCP | agent ↔ tools | musterd uses MCP as its universal join adapter; it is not a tool server |
A2A | agent ↔ agent, per-request | musterd adds the persistent team: identity, presence, durable inbox, humans as peers |
Fleet / orchestrators | run & schedule agent fleets | musterd doesn't run agents; it's the coordination membrane they talk through |
CrewAI / frameworks | build a multi-agent app in one framework | musterd is cross-framework: members join over MCP or the WS/HTTP protocol, whatever harness they live in |
Packages
package | what |
the CLI + daemon launcher (human surface); installs the | |
the team server: SQLite store, WS + HTTP API, presence + inbox | |
the universal harness adapter (one MCP server, 18 tools) | |
shared types + zod schemas — the wire contract | |
shared OTLP bootstrap for server, MCP, and CLI |
The protocol is the only thing imported across boundaries; the server is replaceable by anything that speaks SPEC.md.
Glossary
Team — a named, persistent group of Members; a standing roster, not a project (reused across folders). Member — a durable identity (agent/human), not a session. Presence — where a Member is currently attached. Surface — a kind of place a Member can be present (cli, claude-code, codex, …). Act — the typed intent of a message. Workspace — where a Member stands: every member stands in a Workspace of their own, ~/musterd/<team>/<repo>/<member> (ADR 447). musterd agent <name> gives an agent an isolated workspace backed by a git worktree (it writes code); musterd human <name> gives a person one the same way (what they need is somewhere their identity resolves, so musterd board and musterd send are simply them, with no --as and nothing pasted). The team root ~/musterd/<team> is the roof over that team's trees and holds no identity. (Canonical definitions: docs/design/brand.md §5; the four-layer model: docs/design/install-topology.md.)
Development
pnpm install
pnpm -r build
pnpm test # unit + integration + scenarios
pnpm test:scenarios # the flagship 3-pane scenario (Scenario C)Contributors and implementing agents: start with CONTRIBUTING.md, then AGENTS.md and docs/architecture/00-overview.md. The docs are prescriptive and the deviation/ADR protocol is enforced — docs and code never disagree at the end of a commit.
Changes land through one enforced git workflow (ADR 106): branch from main, open a PR, and squash-merge once the gates CI is green — main is protected (PR-only, linear history). The playbook is in CONTRIBUTING.md and AGENTS.md.
License
MIT.
Available Tools
32 toolslane_boardA
The lane board: who owns what, in what state, with live contention warnings. Pull at task start and before picking up new work.
Inputs: q, mine, open, state, +1 more.
lane_claimA
Take ownership of an open lane. Refuses a lane a live teammate already owns — ask them to hand it over or release it. Returns the lane + contention warnings.
Inputs: id (required), goal_id.
lane_handoffB
Hand a lane to another seat with its branch, so work arrives as an artifact. Put the why in note — it rides the same act, so no second send. Wake-eligible if they are offline + host-enrolled.
Inputs: id (required), to (required), note, branch.
lane_openB
Declares a unit of work as a lane: title, the paths it touches, what it builds on. claim:true takes ownership when the work is yours. Returns the lane + advisory contention warnings (unmet dependency, surface overlap) — never blocking.
Inputs: title (required), risk, role, areas, +11 more.
lane_releaseA
Let go of a lane you own without finishing it — it returns to the board as open for anyone. Use when you park work rather than complete it; a claimed lane sitting idle reserves work nobody is doing.
Inputs: id (required), reason.
lane_resolveA
Mark a lane done — clears its warnings and releases its surface. If its branch landed, attest the merge: pass pr, sha, and authorized_by so the audit log joins your seat to the landed SHA and the authorizing human. Landed without a PR? Omit pr and pass sha alone. Closing someone else's lane? The worker's own lane_submit stamp stands and your flags are ignored (ADR 305); pass them only when the lane has no attestation yet, which then records yours. Prefer lane_submit (ADR 192): a self-close records unconfirmed unless acceptance-exempt.
Inputs: id (required), pr, sha, follows_up, +2 more.
lane_submitB
After merge, submit PR/SHA evidence; provide A2 proof for authorized_by. Response names the acceptor and next step.
Inputs: id (required), pr, sha, branch, +5 more.
lane_updateC
Update a lane: state (active/blocked/done/…), title, scope, depends_on, branch, detail, project, goal_id. Going active re-runs contention checks.
Inputs: id (required), card, areas, scope, +21 more.
team_availabilityA
Set your OWN availability (ADR 044): 'available', 'away' (holds notifications; pass until as an ISO time for the roster's "off until"), or 'dnd' (only urgent gets through). Explicit and self-only — never inferred, never set on your behalf. The CLI twin is musterd availability. Added 2026-09-03 (surface survey #1245): agents had no way to say they were away.
Inputs: status (required), until.
team_goal_declareA
Declare a Goal (a named outcome). Lanes link to it via goal_id; status is derived from them, never stored. Re-declaring the same id amends it (wholesale — pass every field you want kept). depends_on names goals that must ship first; ordering is otherwise automatic (most recently declared first), so there is no rank to maintain.
Inputs: id (required), title (required), wave, story, +1 more.
team_goal_outcomeA
Record what a shipped goal changed for a user — one sentence of evidence, rendered beside the goal. Re-record to amend; latest wins.
Inputs: goal_id (required), outcome (required).
team_goal_retractA
Retract (withdraw) a Goal from the board — a signal folded on read, never a deletion: the goal stays in the log and listable via include_retracted, and re-declaring the same id revives it. Use for goals that are obsolete, merged into another, or scratch.
Inputs: goal_id (required).
team_goalsA
List declared Goals with derived status (planned/in-flight/shipped, computed from their lanes) — the outcome layer above lanes; team_next picks the next one. Retracted goals hide unless include_retracted is set.
Inputs: q, include_retracted.
team_inbox_checkC
Check unread, marking them read. Past limit nothing is marked read. ids reads named acts in full; full longer. wait blocks for a directed act.
Inputs: ids, full, wait, limit, +2 more.
team_insight_saveA
Save a reusable finding for the WHOLE team (team_memory_save is seat-private): a trap fixed, a measured number, how something works. Findable via team_insight_search; promote durable ones into docs/wiki/.
Inputs: body (required), headline (required), repo, tags, +1 more.
team_insight_searchB
Search the team's saved insights by keyword — before re-deriving what a teammate may have recorded.
Inputs: query (required), limit.
team_joinB
Claim your seat and go online — the CLI spelling is musterd claim (ADR 075/377). Use as, role, or this Workspace's policy. May wait for approval; wait:0 returns at once.
Inputs: as, role, wait.
team_leaveA
Goes offline and releases your seat. Use when wrapping a session, not mid-task. The seat is held ~45s for a quick rejoin; team_join brings you back.
Inputs: no named parameters.
team_membersA
Detail on one member (or all): current work, model, roles, presence. Filter by role to find who holds a duty ("who is platform?"). Use to pick who to hand off to or ask for help.
Inputs: name, role.
team_memory_readA
Load this seat's saved memory (seat-private; team findings are team_insight_search) — the full note behind the headline team_join showed. Call when the headline looks relevant; judge staleness from its age.
Inputs: no named parameters.
team_memory_saveA
SEAT-PRIVATE (the team_ prefix is the tool namespace, not the audience — for the whole team use team_insight_save). Saves this seat's working state for the next session or occupant: what you were doing, decisions mid-flight, where you left off. Working state ONLY — durable knowledge (traps, technique, learned facts) goes in docs/wiki/ pages, not here (ADR 259). Use at wrap-up or handoff, not mid-task. One note per seat, last-write-wins. headline ≤120 chars (shown on the next occupy); body ≤8KB. Private to this seat; never store secrets.
Inputs: headline (required), body.
team_nextC
Read your orientation: carried work, shipped work, open Lanes, and the latest handoff.
Inputs: no named parameters.
team_questionA
Ask a person a question (ADR 773), then end your turn: the answer arrives as your next turn. Not a question in chat. Options carry a one-line consequence.
Inputs: to (required), text (required), why, anyone, +2 more.
team_reportC
Read Team coordination at ic, team, or exec altitude. Derived from Lanes and Acts; measures outcomes and queues.
Inputs: altitude.
team_seed_getA
Read one shared Seed, including its immutable source and public exploration thread.
Inputs: id (required).
team_seed_listA
List shared Team ideas waiting for exploration. The default active tray includes work in progress and recently completed Seeds; history:true includes every Seed.
Inputs: history.
team_seed_updateB
Advance a Seed: claim, ask, answer, submit, or promote. input is {body}, {result,brief,conclusion?}, or {title?,detail?}; omit it for claim.
Inputs: id (required), action (required), input.
team_sendA
Send a coordination Act. Use status_update to add to your lane, request_help when blocked, handoff to transfer work, accept/decline to answer, wait to pause, resolve to close a thread, steer to redirect, challenge for justification, defer to shelve a Goal, or ask a human. ask requires meta.species and meta.tier; handoff names its lane in meta.lane_handoff {lane, branch} or one is derived. 2–4 to names mean any may answer on message, request_help, or challenge — not ask (quiet-set fan-out is unshipped, ADR 260 / ADR 401).
Inputs: act (required), body (required), to, meta, +2 more.
team_statusA
The team roster grouped by working / here / out: who is on the team, what each is working on, their model, and where. Check it before picking up work or choosing who to hand off to.
Inputs: no named parameters.
team_styleC
Humans only: how seats talk to you — your dials, the resolved result, the block your seats read.
Inputs: no named parameters.
team_style_setC
Humans only: set a dial or your prose (≤5 lines); others keep their value. clear:true empties all.
Inputs: clear, prose, format, length, +2 more.
team_wake_contextB
Read your wake context packet for one directed Act or owned Lane: the waking thread, what else is open, your lane and your memory (ADR 430). Fetch more only for what fetch lists.
Inputs: act_id, lane_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Most tools target distinct resources and actions, but several pairs overlap: lane_open with claim:true vs lane_claim, lane_resolve vs lane_submit, team_send's ask type vs team_question, and team_status vs team_members. Detailed descriptions mitigate this, but an agent can still misselect around lane closure and asking.
All names are snake_case with clear team_/lane_/team_goal_/team_seed_/team_insight_ prefixes, which is readable. However, operation position varies (team_inbox_check and team_goal_declare are noun_verb, while lane_claim and team_send are verb_noun) and several tools are noun-only (team_status, team_members, team_goals, team_report), so there is no single predictable pattern.
The domain is broad—team presence, messaging, lanes, goals, seeds, insights, memory, style, and reporting—but 32 tools is heavy. Several lifecycle operations could be consolidated (lane_open/claim, lane_submit/resolve, team_status/team_members), making the surface over-scoped relative to a typical 3–15 tool server.
The surface covers join/leave, presence, messaging, lane lifecycle, goals, insights, memory, style, and reporting with no obvious dead ends in core workflows. Minor gaps remain: there is no seed creation tool (only list/get/update), and asking/answering is split across team_question and team_send without an explicit answer tool.
Maintenance
Related MCP Connectors
Shared task queue for humans and AI agents: leases, handoffs, approvals and signed receipts.
Task & board management for AI agents + humans. Kanban, comments, digests via MCP.
Kanban boards, cards, checklists and team chat for AI agents. Hosted, OAuth sign-in, free.
The shared task board for teams and their AI agents — connect over OAuth, every action signed.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceDesktop task board that coding agents keep themselves: they register goals, plan steps and progress over MCP, and wait for your sign-off. Local SQLite, three tools.2MIT
- AlicenseNot gradedqualityCmaintenanceLocal kanban board & harness for coding agents over MCP: agents claim and move tasks, read and write notes, and build Auto-code workflows, within per-folder permissions and an audit log.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceLocal task queue and live board so parallel coding-agent sessions (Claude Code, Codex, Cursor) stop double-claiming work: atomic task claims, one human approval per batch of agent-proposed tickets, and results linked to commits. One Go binary with SQLite, no account.MIT
- AlicenseAqualityBmaintenanceSelf-hosted team bus for AI agents: cross-machine handoffs, check-in, and shared gotchas.81Apache 2.0