Skip to content
docs/guides
Get started

Running many agents at once

The dashboard scales further than your attention does. This is about the second constraint.

The pattern that works is one session in front of you and the others getting on with theirs. The sidebar is how you keep them in view without having them on screen: sessions that need you are pinned to the top, and each row carries its state and the sentence the agent wrote about what it is doing.

You are not supposed to read every session’s output. If you are, there are too many of them or they are not reporting well enough.

State What it means for you
needs input Stop and answer. This is the only state that is actually urgent
working Nothing to do
idle The agent finished its turn and is waiting for a prompt
done It considers the task complete
errored The process failed. The transcript will say why

The distinction between idle and needs input is worth internalizing: idle is an agent that has stopped and will wait indefinitely without telling you, needs input is an agent that explicitly asked. A fleet full of idle sessions is a fleet you forgot to give more work to.

The sidebar lists one bucket at a time, with a rail of bucket buttons beside it. Switching to a bucket reopens the session you last had open there. A button shows:

  • an amber ring when one of its sessions needs you, pulsing until you have seen it
  • a blue dot while one of its sessions is mid-turn
  • a green dot for a finished turn you have not viewed

Press /, or use the rail’s search button, to find a bucket or a session in any bucket. Collapse the session list to the rail with the button at its top, or with ⌘\ (Ctrl+Shift+\ on other systems).

A supervisor can give its bucket’s button its own letters, emoji, color or picture when you ask it to. Settings → Appearance switches the rail back to a bucket menu, saved to your account.

While the dashboard is open in front of you, alerts show as cards stacked at the top right instead of desktop notifications. Each card shows the kind of alert, the session’s name and its question or message. Click a card to open its session, or × to dismiss it. Cards hide on their own unless the pointer rests on the stack. When you are away, the same alerts reach your desktop or phone.

A worker’s question goes to its supervisor first. While the supervisor runs, the question stays out of the rail, the bucket counts and the needs-you list, and the worker’s row reads “waiting on its supervisor”. If the supervisor ends, the question counts for you again.

Tell an agent to let you know when something finishes:

let me know when the deploy to staging is done

It calls notify_user when it happens, and the message arrives as a card or a notification like any other alert. A notification can link to a page or port the session published, or to an item on the board. Agents send one only when you asked, and a session can send at most one every ten seconds.

A session holds conversational context, which makes it good at a second task related to the first and bad at a second task unrelated to it. Two unrelated jobs in one session produce an agent that keeps dragging the first into the second.

Spawn a new session instead. They are cheap.

Use the board for anything that outlives a session

Section titled “Use the board for anything that outlives a session”

Work you are not doing right now should not live in a session’s prompt or in your head. Put it on the board and spawn from the item when you get to it — the session links to the item, and what it did stays on the item afterwards.

An agent that runs a test suite, a build, or a dev server competes with you for the machine you are typing on. Give that work its own worker — a container with your project mounted in is one command — and the only thing that reaches your laptop is the terminal stream.

Two honest signals:

  • The needs-input list is never empty. You have more agents than you can answer, and the cost is agents sitting blocked, which is worse than not having started them.
  • You have stopped reading what they report. A fleet you are not reading is a fleet producing work nobody has reviewed.

Neither has a number attached. Both are visible in the sidebar if you look.