Swarm
The Swarm pane is the overview of what your agents are doing right now. It lists every agent on this AgentMux instance, with or without a pane, as a tree: under each running agent you see its todo list, subagents, workflow runs, shells, cron jobs, long-running commands and background commands, and agents that aren’t running are listed under Stopped agents. Below them it lists the agents of other AgentMux instances on this machine and your local network. Select agents with the checkboxes, then send one message to all of them from the Broadcast box, or stop them or set their Supervisor mode with the selection controls. The Atlas draws the same agents as a map.

Opening Swarm
Section titled “Opening Swarm”- Press
Ctrl+Shift+OthenS(⌘⇧OthenSon macOS). - Click Swarm (bee icon) in the widget bar. It is pinned by default (
crates/srv-core/src/config/widgets.json,defwidget@swarm). - Command palette (
Ctrl+P): Open Swarm. - Click + on any pane’s tab strip and pick Swarm to add it as a tab in that pane.
- Click the agent count in the status bar (see below).
- In an agent pane, click a subagent or workflow dispatch card (it reads View in Swarm →;
EnterorSpacealso work). Each click opens a new Swarm pane (frontend/app/view/agent/components/tool-renderers/DispatchCard.tsx).
The status bar counts your agents. While at least one agent runs, the status bar shows a robot icon with how many run, and icons with counts for what waits on you (questions and permissions, Browser panes, Vault requests, Kanban tasks). An agent counts as running when it has a process, with or without a pane, so closing a pane doesn’t remove it from the count. While anything waits, a click opens Waiting on you; otherwise it opens the Swarm. See The window.
The command palette lists your agents. Type an agent’s name, its seat or its state (for example limited) in the palette (Ctrl+P); choosing one brings its pane forward, in whichever tab or window it is, or opens it if it has no pane.
With no agent panes open, Swarm shows No active agent panes and “Start an agent session to see it here.”, with any agents of other instances below it. The Broadcast box and the selection controls appear once there is at least one agent, here or on another instance.
Account strip
Section titled “Account strip”At the top of the Swarm, a strip lists each account whose agents are out of quota or signed out. A row reads, for example, “Account Work: out of quota until Sun 7:00 PM · Naki-2, Loap-3 · holding #163, #140”: the account, why, the agents on it and the Kanban tasks they hold. It is gone when nothing is wrong.
- Move these agents to another signed-in account asks which account (the first signed-in one is preselected). Choose Move: the idle agents move at once, and an agent in a turn moves when the turn ends. The strip says what moved. If there is no other signed-in account to move them to, the row says so.
- Sign in again is on the row for a login that expired once AgentMux has moved its agents off it (see Identity & Accounts). It opens Connectors → Accounts.
Layout
Section titled “Layout”From top to bottom (frontend/app/view/swarm/swarm-root.tsx, SwarmView):
- The account strip, when an account’s agents are out of quota or signed out.
- A Clear completed (N) button, shown only when there are finished rows to dismiss.
- The filter bar, shown when the list has agents.
- The Broadcast box.
- A result panel, shown after Stop, a mode change or a broadcast that failed.
- The selection’s row: Select all or Select none, how many agents are selected, Stop {N} and Mode once something is selected (see the selection controls), and a Group by control (None or Lead), shown once an agent here has a seat. Lead groups the agents by whom they report to, including agents on other instances that report a seat.
- The agent list: this instance’s agents and then those of other instances, working agents first and the rest by last activity, with the stopped agents at the end of this computer’s part.
The Swarm has one list and no tabs. The work agents are doing is on the Kanban, a pane of its own: the chip of the task an agent is on, on its row, opens the Kanban with that task shown.
Swarm supports per-pane zoom like other panes, from 50% to 200%: Ctrl+scroll, or Ctrl + / - / 0.
Filtering the list
Section titled “Filtering the list”The filter bar above the list narrows it with one box. Type a word and the list keeps the agents whose name or whose work matches; type several words and every one must appear. Matching ignores case, keeps the list’s order, and highlights what matched in the row.
- What counts as work: the row’s line (its title or status), the in-progress to-do, the tool in flight, and the name of each running subagent, workflow, background shell and cron job. A match in one of an agent’s sub-rows keeps the agent, with all its rows.
- Name only or work only: start with
name:orwork:.name:larkmatches agent names only;work:loginmatches only what agents are working on. - Count: while a filter is on, the bar says how many rows are shown of how many are listed, for example 7 of 24. This counts agents on other instances and stopped agents too; a stopped agent matches on its name only, so a
work:filter shows none of them. - Nothing matches: the list says No agents match “…” with a Clear button.
- Clearing: the clear button in the box, or
Escape(a secondEscapewith the box empty leaves it).Ctrl+F(⌘F) with the Swarm focused moves to the box. - It is kept with the pane, so it is still there after a restart; the bar and its count stay visible while it is set, so a restored filter can’t look like agents that went missing.
- Group by Lead groups what is left: a heading counts the shown agents, and a group with none disappears.
Select all works on what is shown: with a filter on the button reads Select all N shown, and Select none clears the shown ones. An agent you ticked that the filter now hides stays ticked, but the actions skip it: the selection row says 5 selected · 2 hidden by the filter, not included, and Stop, the Supervisor mode and Broadcast reach only the selected agents you can see.
The agent tree
Section titled “The agent tree”Each top-level row is a running agent pane on this AgentMux instance, across all of its windows and workspaces. Agents on other AgentMux instances follow, in a simpler row; see Agents on other instances.
An agent row shows:
| Element | What it shows |
|---|---|
| Checkbox | Selects the agent for a fleet action |
| Chevron (▸ / ▾) | Expands or collapses the row. Shown only when the agent has child rows. |
| Provider logo and name | The pane’s agent name, or “Agent” if it has none |
| Seat tag | The agent’s seat, such as “Leader · product”, in a colour for its role, when it has one, right after the agent’s name. Hover over it for the whole seat. With too little room it is cut with an ellipsis, then dropped, so the status word keeps its room. |
| No pane tag | Shown on an agent that is running with no pane, because closing its pane, tab or window parked it. Hover it for how to bring it back: open the agent from My Agents. My Agents marks its row the same way. See Closing and shutting down |
| Child count | Number of child rows, shown while the row is collapsed |
| Context size | The context-window reading from the agent’s last turn, e.g. 45.2k |
| Status chip | working (red) while the agent is in a turn, including while it runs tools or stops; question while it waits for your answer, with a countdown when the question has a timeout; idle (green) otherwise. An agent that can’t start a turn shows Out of quota (with the time the limit lifts, when the provider gave one) or Signed out in its place, so a resting agent and a stuck one don’t look alike |
| Activity line | A one-line summary of what the agent is doing, when available. The agent sets its own: it writes one short line (5 to 10 words, up to 80 characters) when it starts a task, changes plan, is blocked or waiting for an answer, or is done (Presence status, see MuxAPI). That line comes first, ahead of the generated title; claiming a Kanban task puts the task’s title there until the agent says more. A line older than 30 minutes shows muted, with its age (”· 2h ago”). An agent that can’t work reads Out of quota until … or Needs sign-in; one with a question or approval parked for you reads as waiting on you, even with no pane showing it |
| Notes | Holding the build slot · 12 min · cargo test while the agent holds this computer’s build slot, so other builds wait for it; Running … · 12 min while one tool call runs long; 2 held for messages typed to it that wait to be sent, in order, while its model API is out, its usage limit has a known reset still to come, it needs to sign in, or it isn’t running. Information only |
| Current tool | The tool the agent is running right now, while it is working |
| Quiet note | quiet 22 min (muted) when the agent holds work and has done nothing for that long. Information only: the agent’s state is unchanged |
| Supervisor chip | Claude agents only: the Supervisor mode and what it is doing. Click to change it. |
| Model tag | On a line of its own under the header: the model the agent is running now, as a short label such as “Sonnet 5.5” in a colour for its family. Hover it for the rest. Not shown while the model isn’t known |
Clicking an agent row focuses that agent (frontend/app/view/swarm/swarm-view.tsx, frontend/app/util/reveal-block.ts): AgentMux switches to the agent’s tab, brings its pane tab to the front if the pane has several tabs, and focuses its pane. If the agent is in another window, that window is brought forward. Only the chevron expands or collapses a row, and ticking the checkbox doesn’t move focus. Rows start collapsed. Clicking empty space in Swarm focuses the Swarm pane itself.
Rows use the agent’s own pane-tab color: the row of the currently focused agent pane has a thin border in that color, and hovering a row outlines it in a lighter shade of it. The color is the pane’s Pane Color if you set one, otherwise the agent’s assigned color.
Under an expanded agent, child rows are grouped in this order. A group is hidden when it is empty. A supervised agent’s first group is the Supervisor’s recent decisions.
The agent’s current todo list, read from its transcript every few seconds (crates/srv-core/src/backend/reactive/progress_watcher.rs). AgentMux picks up TodoWrite, TaskCreate and TaskUpdate tool calls, and other tools whose name contains “Todo”.
- The header reads Todos with a done/total count, e.g.
1/3. - Items keep the agent’s own order and are marked ✓ (completed), ▸ (in progress) or ○ (pending).
- At most 24 items are shown, then +N more.
- earlier items may be missing appears when AgentMux started watching the agent partway through its session.
The last list stays visible after the agent goes idle.
Agent Tool
Section titled “Agent Tool”One row per subagent the agent launched with its Agent/Task tool. Subagent tracking is Claude Code only: AgentMux reads the subagent transcripts Claude Code writes under its config directory (crates/srv-core/src/backend/subagent_watcher/mod.rs).
- The label is a short generated name for the subagent, falling back to its slug and ID.
- The status chip reads working or idle, like an agent’s. A subagent whose agent went idle before the subagent finished is interrupted: its chip reads idle, and it has no countdown (see below).
- Click a row to expand its activity feed: text output, tool calls (click to see the input), results and errors (click for a preview), and progress. The feed keeps the latest 500 entries.
Workflow
Section titled “Workflow”One row per Workflow tool run (not one per member), showing {active}/{total} active or {total} retired and an Active or Retired badge. Expand it for a live feed tagged with each member’s short ID.
An Agent Tool row whose subagent finished, and a Workflow row whose members all completed, show disappearing in Ns and remove themselves after 60 seconds. Hovering a row pauses the countdown. These rows, and interrupted Agent Tool rows, have a × button (“Retire”) to dismiss them now. An interrupted row has no countdown and stays until you dismiss it.
Background jobs the agent started with the Terminal MCP tool (run with background: true): title, elapsed time and a Stop button.
Cron jobs the agent created: name, cron expression, when it last fired, fire count and an Active or Paused badge. Read-only. When a fire reached no agent, the row also reads missed N · agent not running (or missed N · no target, or missed N · not delivered), with N the number of fires missed.
Running
Section titled “Running”Long-running Bash tool calls (frontend/app/view/swarm/swarm-longrunning.ts):
- a call that has been running for more than 30 seconds;
- a bare
sleep, from the start, with a “~Ns left” countdown.
Each row shows the command and elapsed time. This group only covers agent panes that are currently open in the same window as the Swarm pane. Commands started in the background are listed under Background instead.
Background
Section titled “Background”Commands the agent started in the background (a Bash call with run_in_background), with the description the agent gave the command, or Bash if it gave none (frontend/app/view/swarm/swarm-background-tasks.tsx, crates/srv-core/src/backend/background_task_feed.rs). A background command a subagent started is shown under that subagent’s row in Agent Tool, whether or not the row is expanded; it moves to this group once the subagent’s row is gone.
Each row shows $, the description, a status and the elapsed time, which stops when the command ends:
- running;
- done, removed after 8 seconds;
- stopped, removed after 3 seconds;
- failed, removed after 15 seconds.
AgentMux reads these statuses from the task reports Claude Code writes to the agent’s output stream, including for commands a subagent started, so a finished command is not left running. Right-click a row for Copy description.
Clear completed
Section titled “Clear completed”Clear completed (N) dismisses every finished or interrupted Agent Tool row and every retired Workflow row. Dismissals are remembered in this machine’s local storage, so they survive reopening Swarm. Nothing is deleted from the agent’s own history, and a dismissed row comes back if it shows new activity. Todos, Shell, Cron, Running and Background rows are not affected.
Registration badge
Section titled “Registration badge”An agent’s row carries a badge when messages to it may be going astray. A healthy row shows nothing. The Swarm checks every 15 seconds while it is shown.
- Another instance claims this agent: another AgentMux instance on this computer also claims the agent’s id, so a message for it may go to whichever instance registered last. Hover over the badge for each claimant’s channel and process, and when it updated.
- A message to it was refused: identity mismatch: a recent message to the agent was refused because the pane it resolved to reported a different live identity. The hover text gives the time, the pane’s block and the error.
On a badged row, the row menu has Stop receiving messages. After you confirm, AgentMux removes the agent’s routing entry on this instance and its entries in the registries other instances on this computer read, stops its MuxBus cloud subscription, and drops its Swarm subagent tracking.
- The agent’s process and pane keep running. Its conversation and data are untouched.
- Messages are no longer delivered to that pane, whether sent from this computer, the LAN or the cloud relay. If the agent has a saved definition, a message sent to it can be held for up to 24 hours and delivered when the agent registers again.
- The agent registers again when its agent process restarts or when you next send it a message from its pane.
Use it to stop an agent receiving messages while you investigate, without killing it. To stop agent processes, use Stop on the selection. Registrations, unregistrations and the messages themselves are in Audit.
Stopped agents
Section titled “Stopped agents”Closing an agent’s pane doesn’t stop it (see Agents keep running without a pane), and an agent you have stopped isn’t forgotten: Swarm lists every agent you have created, so none is missing from the list. An agent that runs with no pane, and that the list above has no row for, appears under Running with no pane, with the count in its heading. Agents that aren’t running appear under Stopped agents, a folded list (open when no agent is running) with the count in its heading. Each row shows the agent’s name, provider and state. A stopped agent has two buttons:
- Start runs the agent with no pane, resuming its session.
- Open starts it in a pane.
A row under Running with no pane has only Open, which shows the agent in a pane. Clicking a row opens the agent’s pane, the same as its Open button; a click on a button in the row is that button’s own.
If srv refuses a start (the limit of running agents, a sign-in or a usage limit), the reason shows under the row. A stopped agent that something wants running, because a message is waiting for it or it was left running, but that a limit would stop from starting, shows can’t start in place of stopped; hover the chip for the reason, for example that memory commitment is over its limit. A stopped agent has no Supervisor, selection or activity: those appear once it runs.
When AgentMux stops an agent with no pane to make room for another’s start (see agents:max_running in Settings), it tells that agent’s leader, if the leader is on this computer with a pane open: the note names the agent, why it was stopped, what it was working on, and that Agents start brings it back once there is room.
An agent also starts when a message, a Job or a Kanban task is sent to it (see Agents keep running without a pane); a message to an agent that is stopped says it is being started and delivered, not that it is held. When a limit would refuse that start, the message is held instead, for up to 24 hours, and the answer says why (HELD … (not_running, capacity)); it is delivered when the agent starts, once you free the room or start it, or when the next message tries again. The state each agent is in, whether or not it has a pane, is stopped, starting, idle, working, waiting_on_user, limited, signed_out or error; the status bar’s count, My Agents and the palette read the same states.
Agents on other instances
Section titled “Agents on other instances”After this instance’s own agents, Swarm lists the agents of other AgentMux instances (frontend/app/view/swarm/swarm-remote.ts, frontend/app/view/swarm/swarm-view.tsx, RemoteAgentRows; backend crates/srv-core/src/backend/swarm_remote.rs):
- Other channels on this machine, such as a dev build running next to the installed one. They come from the registry every instance on the machine shares.
- LAN peers, while LAN discovery is on. They come from its peer list.
- Your account’s other machines that are not on this network, while you are signed in to MuxBus Cloud: the cloud tier, badge cloud. Display only: Broadcast and Stop can’t reach them. See the cloud tier.
Once other instances have agents, the list is cut into parts, each under a heading with the place and the number of its agents: this computer first (its name, with the channel when other channels run on it too), then the others. A filter that hides every row of a place hides its heading too. Inside the parts, the order is this machine’s other channels first, then LAN peers, then the cloud tier, then by machine and by name. Swarm loads them when it opens and again every 12 seconds.
Each is one row with no children:
| Element | What it shows |
|---|---|
| Checkbox | Selects the agent for a fleet action |
| Provider logo and name | The agent’s name, and its provider when its instance reports one |
| Seat tag | The agent’s seat, such as “Worker”, when its instance reports one (LAN peers do). Hover over it for the whole seat. |
| Where | The machine’s name, with the channel when that machine runs more than one instance (for example “laptop · dev”); a badge, this machine, LAN or cloud; and the platform (Windows, macOS or Linux) when the instance reports it |
| Status chip | The state its instance reports: working, waiting for an answer, idle (also for a stopped agent) or an error. Hover it for the exact state. No chip when the instance reports no state. |
| Summary line | The agent’s one-line summary, when its instance shares it. Each instance decides with Share what my agents are working on (swarm:sharesummaries); see Swarm summary lines. |
A LAN peer also shares, for an agent whose usage limit has a known reset, when the limit lifts: that time only, never the account, the title or the error text.
An instance that hasn’t been heard from for 60 seconds is shown as stale: its rows say when it was last seen (“seen 2m ago”), have no status or summary, and can’t be selected. Another channel on this machine that hasn’t been heard from for 10 minutes is left out.
With Group by: Lead, an agent that reports a seat sits under its lead, matched by name among the agents of the same machine and channel, so a worker follows a lead on its own machine. A lead that machine couldn’t name heads a group called “an agent on another machine”. Agents that report no seat, and this machine’s other channels, stay under Other instances.
Clicking one of these rows doesn’t focus the agent: its pane is in another instance. They can be selected for a Broadcast, and agents on this machine’s other channels for a Stop too.
What you can’t do from a row, an agent can do with the host argument of its tools: start, open or stop an agent on a LAN peer, set its seat or environment, file a task on its Kanban, list or switch its accounts. See Remote operations. A seat’s lead can be an agent on another machine (Name@host, for example Lead@laptop); with Group by: Lead such a worker sits under that lead.
Copy menus
Section titled “Copy menus”Right-click a row for a menu of values to copy (frontend/app/view/swarm/swarm-view.tsx). Entries with no value are left out.
| Row | Menu entries |
|---|---|
| Agent | Copy agent name, Copy block ID |
| Todo item | Copy todo text |
| Agent Tool | Copy name, Copy slug (when it differs from the name), Copy agent ID |
| Workflow | Copy name, Copy workflow ID |
| Shell | Copy command, Copy title (when it differs from the command), Copy shell ID |
| Cron | Copy name, Copy schedule, Copy target agent, Copy cron ID |
| Running | Copy command |
| Background | Copy description |
Broadcast
Section titled “Broadcast”The Broadcast box sits under the filter. Select agents in the list, type, and press Enter to send (Shift+Enter adds a line). The box reads “Broadcast to agents”, or “Broadcast to N agents” once agents are selected; hover it for the keys. There is no send button. With nothing selected, Enter sends nothing and says “Select the agents to message first”, so a broadcast never goes to everyone by accident.
One line under the box says how it went: “Sent to N agents”, progress such as “Sent 4 of 10…” while a large broadcast goes out, how many selected agents it can’t reach and why, and how many are “hidden by the filter, not included”. If every delivery fails, your text is put back in the box and the line reads “Not sent: none of the N agents could be reached”. The draft is kept while the pane is open; a restart clears it.
A broadcast goes to each selected agent with no confirmation step. On this machine it arrives as your own message, under a one-line header that only AgentMux writes: [BROADCAST:FROM=user VIA=swarm TO=<agent> RECIPIENTS=<n> MSGID=<id> TS=<time>] (crates/srv-core/src/backend/reactive/sanitize.rs, broadcast_turn_message). An agent on another channel of this install gets it as your own message when this AgentMux confirms that your window sent it, and as an ordinary message from an agent otherwise. An agent on a LAN peer gets it instead as a jekt signed by this AgentMux, which starts “Swarm broadcast from” and this computer’s name. It is not its own user’s message there, so it carries no user authority (crates/srv-core/src/backend/lan/swarm_broadcast.rs). An agent that is not live and registered for messages fails with an error in the result panel.
Selection controls
Section titled “Selection controls”The controls act on the agents whose checkboxes you tick (frontend/app/view/swarm/swarm-fleet-toolbar.tsx). There is no separate scope picker: they see the agents Swarm lists, this instance’s and those of other instances that aren’t stale. With agents on other machines selected, the count adds ”· N on other machines”. When some selected agents can’t be reached by an action, the row says how many and why, for example “1 of 3 can’t be stopped: stopping an agent on another machine isn’t supported yet” (frontend/app/view/swarm/swarm-fleet-targets.ts).
| Control | What it does |
|---|---|
| Select all / Select none | Ticks or clears every agent, or, with a filter on, every agent shown (Select all 7 shown). Beside it, N selected says how many are ticked |
| Select all on host | Ticks only the agents of this computer. Shown while some listed agent is on another machine |
| Stop {N} | Stops the selected agents, after a confirmation dialog. Shown once something is selected |
| Mode | Opens a menu to set the Supervisor mode (Off, Steady or Drive) for the selected agents of this AgentMux, with no confirmation step. Shown once something is selected |
To message the selected agents, use the Broadcast box.
Stop opens a dialog titled “Stop N agents?” (or “Stop 1 agent?”) listing the selected agents by name, with the computer and platform each is on and, for one it can’t reach, why, with a Stop {N} button. With 5 or more agents selected you can tick Staged rollout to stop them in batches (Batch size, default 3) and abort if a batch’s failure rate exceeds a percentage (default 50). Stopping ends each agent’s CLI process; the pane stays open. Because you are the one stopping them, the agents stop right away, without the 30-second override window an agent-initiated stop gets (see below). The selection is cleared afterwards. If an agent belongs to another AgentMux instance on the same machine (for example, a different channel), the stop is forwarded to that instance. Agents on LAN peers can’t be stopped from here yet. Every stop is recorded in the Audit feed.
After a stop or a Supervisor change, the result panel shows a summary such as “Bulk stop — 3 succeeded, 1 failed” (with ”— staged rollout aborted early” if that happened), and one row per agent with its error, if any. Dismiss it with ×. A clean broadcast shows no panel: the line under the Broadcast box says it was sent.
From an agent
Section titled “From an agent”Agents can do the same through MuxAPI (crates/mcp/src/tool_schemas.rs; backend crates/srv/src/server/app_api/fleet.rs):
Agentslistlists every agent reachable from the calling agent, with the IDs the other two calls expect.Messagebroadcastsends one message to many targets. Each message is signed and delivered exactly likeMessagesend, so it reaches agents on this machine by block ID and agents on LAN peers or the cloud relay by name. Large broadcasts go out in chunks of 10, about a second apart.Stopagentsstops agent panes by block ID, on this instance or another instance on the same machine. Each target running on this instance first gets its user’s 30-second override window, all in parallel, so the call takes at least 30 seconds; a target the user chooses to keep running is reported as kept and failed. The optional staged rollout applies only to the other targets (crates/srv/src/sagas/pending_shutdown.rs).
See MuxAPI for the full tool reference.
Supervisor
Section titled “Supervisor”The Supervisor keeps an agent working until it is done or needs you. Agents often end a turn with “shall I continue?”, or stop short of work they had planned, and then sit idle until you notice. With the Supervisor on, each time the agent ends a turn AgentMux reads the end of its conversation, asks a small model (Haiku) whether it should go on, and either sends the agent a message to continue or stops and tells you why. You turn it on in Settings, and set each agent’s mode and watch it in Swarm (frontend/app/view/swarm/); the decisions are made by AgentMux’s server.
Turning it on
Section titled “Turning it on”The Supervisor is off until you turn it on. The Supervisor switch is the first row of the Supervisor section of the Settings pane (the setting is supervisor:enabled, off by default), above the limits and notices. While it is off, nothing is judged or continued, and Steady and Drive are greyed out in the mode menus, whose header says “The Supervisor is switched off in Settings, so Steady and Drive can’t be chosen.” Off is always available, and every row’s Supervisor chip shows a person with a slash. While agents are selected and the switch is off, the selection’s row says “Supervisor is off.” with a Turn it on in Settings. link. Every mode menu ends with Supervisor settings…, which opens that section.
With the switch on, the mode is set per agent, and every agent starts Off. Each Claude agent’s row has a Supervisor chip (a shield icon). Click it and pick a mode:
| Mode | What the menu says |
|---|---|
| Off | “Leave the agent to stop when it stops.” |
| Steady | “Keep it going when it stops only to check in. Pause for real questions.” |
| Drive | “Keep it going through open questions on its own best judgement. Pause for what only you can provide.” |
To set several agents at once, tick their rows and choose Mode on the selection’s row, which offers the same three modes under the header “Supervisor mode for 3 agents”. There is no confirmation step; the result panel reports each agent, as for Broadcast and Stop.
- Claude agents only. Other providers’ rows have no chip. If AgentMux can’t supervise a pane, the chip’s tooltip says “the Supervisor works with Claude agents only for now”.
- This AgentMux’s own agents only. Each AgentMux supervises its own agents, so Mode leaves out selected agents of another instance.
- Only you set it. No MuxAPI tool sets the mode, so an agent can’t put itself, or another agent, in Drive.
Setting a mode starts a new run and is recorded in the agent’s history. If the agent is idle at that moment, its last turn is judged at once: turning on Drive for an agent that just asked “shall I continue?” gets it going without waiting for another turn.
What it does when an agent stops
Section titled “What it does when an agent stops”When a supervised agent ends a turn, the Supervisor checks these in order:
- You pressed Stop in the agent’s pane (within the last 15 seconds): nothing is judged or sent. It records “You stopped it; it waits for your next message.”
- The turn ended in a question tool (
AskUserQuestion, orExitPlanMode’s plan approval): it pauses for you without asking the model, with “It asked you a question.” - Your last message has no answer yet: nothing is judged.
- The agent has background commands still running: it waits. Those commands wake the agent when they finish, and that turn is judged instead.
- Otherwise the judge reads the end of the conversation and answers continue, done, needs you or blocked, with a one-sentence reason.
AgentMux’s own hidden turns are never judged. A turn started by another agent’s message, a service or a schedule is judged like any other.
The judge follows the mode:
- Steady continues an agent that stopped only to check in, or stopped short of work it had already planned or been asked to do. A real question, a choice only you can make, or an open question it can’t settle from the conversation pauses it.
- Drive also continues through open questions the agent can research or decide itself, and suggests a next step. It pauses only for what only you can provide: a credential, a sign-in, a payment, or a product decision with no sensible default.
- In both modes, done needs evidence in the conversation: tests passing, a pull request opened or merged, the result shown. A bare claim is not enough: Drive asks the agent to show the evidence, and Steady pauses for you. A turn that ends by asking you to approve, choose or decide something is never done.
- In both modes, a risky, irreversible or outward-facing next step pauses for you, even when the agent proposes it: deleting data, force-pushing, deploying, spending money, publishing, or messaging people outside the team. When the judge is unsure whether to continue, it pauses.
After a verdict of continue, the Supervisor waits before it sends the continuation: 30 seconds by default (supervisor:cooldown). A turn that starts in that time (your message, a jekt, a job) or a Stop cancels it. While it waits, the chip shows waiting and its reason reads “Continuing after a 30 s wait: …”. If AgentMux restarts during the wait, the reason reads “Not continued: AgentMux restarted.” and nothing is sent.
The judge runs on the agent’s own CLI and sign-in, and has 90 seconds per verdict. A call that fails or times out is tried once more, while the turn is still the latest and the agent still idle. If there is still no usable answer, nothing is sent and you get the ordinary “finished” notification: the Supervisor never continues on a guess. If the agent starts a new turn while the judge is working (you reply, or a message arrives), that judgement is dropped.
The continuation
Section titled “The continuation”To keep an agent going, the Supervisor sends it a message like this one:
[SUPERVISOR:MODE=drive N=3 OF=15]Keep going without waiting for confirmation. Research open questions thoroughly, choose the best option on your own judgement, and say what you assumed. Stop and ask only for something irreversible or outward-facing, for something only the user can provide, or if you are blocked. If the work is done, say so and show the evidence.Why: <the judge's reason>Suggested next step: <the judge's next step>In Steady the instruction is “Continue the task you were already doing. Ask the user only if something truly needs them. If the work is done, say so and show the evidence.”, with no suggested next step.
- In the agent pane the header is replaced by a label, Supervisor · Drive · 3 of 15, and the turn’s footer reads “Worked on a Supervisor continuation”.
- Only AgentMux writes the header. A
[SUPERVISOR:header inside a jekt or a broadcast is quoted, so one can’t be forged. The judge’s reason and next step are flattened to one line and cut at 300 characters. - It is not your message. It arrives as automated input, so it can’t authorize anything that needs your own word, such as an agent quitting itself or an AgentMux upgrade.
- It goes only to a running agent. If the agent’s process isn’t running, the Supervisor doesn’t start it; it pauses with “Couldn’t continue it: the agent isn’t running”.
Limits
Section titled “Limits”| Limit | Steady | Drive |
|---|---|---|
| Continuations in a row since you last sent the agent a message | 5 | 15 |
| Time since the run’s first continuation | none | 2 hours |
| Continued turns in a row in which the agent used no tool | 2 | 2 |
| The same final message twice in a row after a continuation | pause | pause |
Reaching a limit pauses the agent for you, with the reason, for example “5 continuations in a row; over to you.” A message you send, typed in the pane or broadcast from Swarm, starts a new run and resets the counts, and so does changing the mode. A message from another agent doesn’t.
The Supervisor also keeps a fleet budget: at most 30 continuations an hour across all agents (supervisor:hourly). At the cap the agent pauses with “Fleet budget reached: N continuations in the last hour (the cap is 30). It can continue again in about M min.”
The table shows the defaults. Change them in the Supervisor section of the Settings pane, or with the supervisor:* keys in Supervisor Settings. The section sets the continuations and minutes for Steady and Drive, the number of continued turns in a row without a tool, the wait before continuing, the fleet budget (0 for no cap), and four switches for the notifications: when it needs you, when it hits a limit, when it couldn’t continue and when it finds the work done. The rows and the decision list show every stop whatever the notification switches say.
The Supervisor never:
- answers an
AskUserQuestionor approves a permission prompt; - gives an agent new work: it only continues the task the agent already has;
- starts an agent that isn’t running;
- continues a turn you stopped.
Watching and stopping it
Section titled “Watching and stopping it”- The chip shows the mode and what the Supervisor is doing: judging, waiting (for background work, or for the wait before a continuation), the count so far such as 3/15, and, while the agent is idle, paused or done. A paused chip is highlighted. Hover it for the mode, what the mode does and the last reason.
- The row’s line reads Needs you: and the reason while a paused agent is idle, and the row ranks like one with a pending question. When the agent starts a turn again, the pause is over.
- The Supervisor group, first under an expanded row, lists the last 10 decisions, newest first: the time, what it did (continued, paused, done, waiting, no verdict, set, stopped by you) and the reason. They are kept in the pane’s metadata (
supervisor:state), so they survive a restart of AgentMux’s server. The group is hidden while the mode is Off. - Notifications: when it pauses, you get a notification that the agent needs you, “Supervisor paused:” and the reason. When the judge finds the work done, or can’t judge, you get the usual “finished” notification. A continuation, and a turn you stopped, send none. A supervised agent never gets the generic “finished” notification on top of these.
- Stats: each verdict is a small model request, counted under Supervisor verdicts in the token popover’s AgentMux internal row (see The token pill).
To turn it off for one agent, or for a selection with Mode, set the mode to Off; to turn it off for every agent, switch Supervisor off in Settings. To halt a single run, press Stop in the agent’s pane: the Supervisor waits for your next message, which starts a fresh run.
Tokens and cost per agent
Section titled “Tokens and cost per agent”Swarm shows each agent’s context size, not its spend. Per-agent token counts and cost are in the status bar’s Token Usage popover (frontend/app/statusbar/TokenBreakdownPopover.tsx), and in an agent pane, clicking the context reading in the composer strip (e.g. 104k / 200k) opens a popover with that session’s cost, turns, duration and token totals (frontend/app/view/agent/components/AgentSessionStats.tsx).
Swarm itself spends a small number of tokens: when you open it, AgentMux asks a small model to name up to 20 unnamed subagent rows.
What Swarm doesn’t do
Section titled “What Swarm doesn’t do”- No history or search. Swarm shows live state only. Subagent activity is held in memory; when an agent pane is reopened, AgentMux reloads that session’s subagent activity from Claude Code’s transcript files.
- Little about other instances. Their agents are listed by name, place, status and summary line only: no subagents, todos or commands, and no Supervisor. For the instances themselves, see the network pill.
- No subagent tracking for providers other than Claude Code.
- No count of AgentMux’s own model requests. AgentMux’s own requests appear only as the AgentMux internal row of the token popover (see The token pill).
See also
Section titled “See also”- Pane Types — every pane type, including the agent pane’s dispatch cards
- Kanban — the work agents are doing
- Audit and Conversation history — the delivery feed, and agents’ kept conversations
- Interagent Communication — how jekts are delivered