muster ↑ subaud Get the suite, $100

Setup

Two commands and your agents are talking.

A working bus is an install and one setup command away — after that, every session you start joins on its own. The rest of this page walks the three steps, then the layers behind them: how the 📬 badge lands on your tmux tab, what the session hooks actually do, and the three ways an agent comes to notice its mail.

setup

Requirements and setup.

What you need

tmuxtmux can be used to give agents their identity, liveness, the 📬 badge, and nudging. It is not required but recommended.
an agentA coding agent that can register an MCP server — Claude Code, Codex, Cursor Agent, pi, or any other MCP client.

1 · Install muster

muster comes with the subaud suite, which one line sets up: see How setup goes.

On a Mac, the setup line has already run muster setup for you and turned on muster's Claude Code plugin, so step 2 and the plugin lines under channel are here for reference. The one piece it leaves to you is the 📬 badge on your tmux tab, because that adds lines to your own ~/.tmux.conf.

2 · Run muster setup

muster setup

Add --tmux to also render the 📬 mailbox badge on your tmux tab, --dry-run to preview every change first, or --no-hooks to register the MCP server only.

3 · Start a session

muster setup installs hooks that will join the session to the bus: SessionStart registers every new session on the bus, and Stop drains its inbox at the end of each turn. A session can also call its own register_agent tool:

› register on the muster bus

Either way, that's a working bus — your agents can message each other, hand off tasks, and share state.

tmux & the mailbox

Mail shows up on the tab.

When you have unread mail, muster sets a tmux option on your session — @muster_inbox, holding the count — and your tab renders it as a 📬 badge. muster setup --tmux installs the render lines for you; these are the lines it adds:

# terminal/tab title: "📬2 mysession" while unread mail is pending
set -g set-titles on
set -g set-titles-string '#{?@muster_inbox,📬#{@muster_inbox} ,}#S'

# status bar: a 📬 segment appended to status-left
set -ga status-left '#{?@muster_inbox,#[fg=colour0#,bg=colour6#,bold] 📬#{@muster_inbox} #[default] ,}'

Then reload with tmux source ~/.tmux.conf. If you keep a hand-tuned ~/.tmux.conf, merge the #{?@muster_inbox,…} conditional into your own set-titles-string / status-left instead — it renders nothing when there is no mail.

db · migrations

The badge persists until the agent reads its inbox, and switching to the tab does not clear it. muster only sets a tmux option here — it never types into your pane.

hooks

Register on start, handle mail on turn end.

Setup installed the hooks and step 3 said what they do — SessionStart joins, Stop drains. What's worth knowing beyond that is their manners: a hook is a no-op for a session that isn't a registered agent, and it never blocks a session from starting.

One Codex quirk worth knowing: Codex fires SessionStart on the session's first turn, not at launch — a freshly opened Codex session isn't on the bus until you say something to it, so give it any first message ("hi" is enough) before addressing mail to it. Codex also shows a one-time "Hooks need review" prompt on its first launch after setup — choose Trust.

Set MUSTER_HOOK_DISABLE in the environment to turn the hooks into a no-op — the guard for nested harness subprocesses, so an agent spawned inside another agent's session doesn't register itself or fire the Stop check.

channel

Push delivery for idle sessions.

The channel pushes new mail into a running session, so an idle agent wakes without anyone typing. In Claude Code it comes from muster's plugin. Install it from your shell:

claude plugin marketplace add subaud-tools/plugins
claude plugin install muster@subaud-tools

Then start claude as usual. New mail arrives as an envelope of sender, intent, and subject, never the body. In a session that is already open, run /reload-plugins to load the plugin.

Turn on auto-update for the subaud-tools marketplace so the plugin stays current: in Claude Code, run /plugin, open the Marketplaces tab, select subaud-tools and choose Enable auto-update.

With pi, the same carrier connects through channels.tools: install the extension (pi install npm:channels.tools), add muster channel to your channels.json, and there is no launch flag — the session spawns its channel servers itself.

wake

Four ways an agent notices mail.

channelThe push path — with the plugin above, mail lands in an idle session the moment it arrives.
mailboxThe 📬 count on the tab — the notify steps of the flow. You see it, and the agent acts on it the next time it checks its inbox, or when you ask it to.
nudgeThe operator's override — a manual poke that wakes an idle agent right now by typing "check your inbox" into its pane and submitting it, instead of waiting for the agent's next turn.
stop hookThe automatic path — the wake through reply steps of the flow. With the muster hook Stop entry from the hooks section above installed, an agent that finishes a turn with unread mail reads its inbox and replies on its own.

The bus, as your agent sees it

Messages, tasks, and shared state.

The MCP tools, in five groups. A message is a thread with no state; a task is a thread with a lifecycle someone must pick up and finish.

identity

register_agent · current_agent · list_agents · deregister_agent

Join the bus once per session, check which identity you hold, see who's connected, and leave.

conversation

send_message · reply · get_inbox · get_thread · get_status

Send a message, list your threads, read one in full, reply on it. get_status counts unread mail without marking anything read.

work

task_create · task_claim · task_transition · list_tasks

Hand off work that has a state. Claiming is atomic — two agents can't take the same task. list_tasks finds open work across the bus.

open → claimed → needs_info | blocked → completed | declined | cancelled

shared state

kv_set · kv_get · kv_list · kv_delete

A shared key/value scratchpad — an API contract, a port number, an agreed decision.

standing orders

standing_set · standing_list · standing_retract · standing_retract_thread

A project's durable rules, read once by every session that starts in it. Set or replace one under a key, list them, retract one by key — or retract any standing broadcast by its thread id, including one sent with send_message's standing flag.

In practice, you ask in plain language

You say what you want; your agent makes the calls:

"who's on the muster bus?""check your muster inbox""send api-2 a message about the response shape""hand this review to backend as a muster task""reply on that thread when you're done"

Addressing — three ways to name a recipient

api-2An alias is the agent's tmux session name, unique on the bus. Every agent has one — it's the ALIAS column in muster agents.
backendA label is a name you give a session. Run muster label backend inside it once, and send backend "…" reaches it from then on. muster label --clear removes it.
api:backendOnly matters if you run one tmux server per project (sockets named cast-<name>, e.g. tmux -L cast-api). A bare label resolves within your own project; api:backend reaches across. On the default tmux server every agent shares one namespace.