Cocobox

Agents opening tabs

An agent can split a job into tabs of its own: each task gets its own branch in its own worktree, a tab on the provider and model it named, and its instructions as the first message. Those tabs answer to the agent that opened them, not to you. It collects their reports, answers what it can, and only brings you what it cannot decide. In its chat, one block shows every tab it is coordinating.

Ask an agent to split the work

  1. In any agent tab, ask for it in plain words, for example: “Build Checkout v2: the payments API, the new checkout UI, and end-to-end tests. A branch and a tab each.” You can name a provider and model per task and mix providers in one request. If you name no provider or model, the agent asks.

  2. The agent opens the tabs, all started at once. Its turn lists them, and the coordinator block appears under it.

    A coordinating agent's chat: three tabs open, then their reports land in one block as each finishes, asks or fails
    Reports arrive in the block as each tab asks, finishes or fails.

An agent cannot open tabs with more permissions than it has, and cannot change a tab's permissions. That stays with you, in the app. It also cannot open a second tab for a task one of its tabs is already working on: it is told to message that tab instead.

Find the tabs it opened

  1. In the sidebar, tabs an agent opened sit under it, whatever space they work in. Tabs in another space are grouped under a chip naming that space. Click the arrow beside the parent to fold the family to a count.

    The Agents sidebar: Checkout v2 with three child tabs nested under it, each with its own agent name and provider
    agent-1 with the three tabs it opened. A failed child shows a red mark.
  2. In the tab strip, the children fold into a badge on their parent (↳ 3), with a dot when one is waiting on you or failed. Click the badge to see their cards, and click a card to switch to that tab. Pin to strip puts them back in the strip as ordinary tabs; Fold into badge folds them again.

    The tab strip badge open: Opened by agent-1, three cards for agent-12, agent-13 and agent-15, and Pin to strip

Read the coordinator block

  1. In the parent's chat, the block's top line says how things stand: “agent-1 is coordinating 3 tabs · 1 finished, 1 failed, 1 waiting on you”, what the family spent today, and Show N messages. Below it, one row per tab, the ones that need you first.

    The coordinator block: agent-13 asks a question, agent-15 failed, agent-12 finished; each row with plan progress, spend, time and actions
    Each row: the tab, its provider, what it last did (asks, failed, finished, working on), its plan progress, its spend and when.
  2. Flags a child raised (what it assumed, skipped or did not test) show on its row and stay until you press Got it. See Flags and Worth knowing.

  3. Click a row, or the top line for all of them, to open it: the child's plan as a checklist (done, in progress, to do), then the messages between it and the parent, with its progress updates folded.

    An open row: a five-step checklist with three done, one in progress and one to do, then the messages between agent-1 and agent-13
    “3 of 5 steps” opened: the agent's own to-do list.

Plan progress only shows for a tab whose agent keeps a to-do list. A tab with none shows no step count.

Answer a child's question

  1. A question goes to the parent first. If the parent cannot decide, it passes it to you and the row shows asks: with an Answer button. Only a question actually sent to you counts as waiting on you.

  2. Click Answer to open the child's tab with the message box ready. Open tab on any row opens it too.

  3. A child's own chat says once, at the top, who opened it and why, with a link back to the parent's tab.

    A child tab: agent-1 opened this tab for Checkout UI. It answers to agent-1, not to you. Then the instructions and the child's turns

Steer a child from its row

You do not have to leave the parent's chat to step in. Each row shows only the actions that fit it.

  1. ■ stops a child while it works. ↻ restarts one that failed or was stopped: it is told to pick up where it stopped and finish the task.

    The block with agent-12 working (a stop button on its row) and agent-15 failed (a restart button on its row)
  2. ✎ opens a note box on the row. Type and press Enter (or Send): the note goes to that child as your message and shows in its chat.

    A note box open on agent-13's row with the text Drop the old coupon field
  3. When a child has edited files, its row shows N files changed. Click it to open that tab's review, where you can comment on lines like a pull request (see Review a diff like a PR).

    agent-13's row with a 1 file changed link next to Answer
    The child's Git tab opened on Changes, showing the diff of config/payments.yml with Send review at the bottom
    The child's changes, ready for line comments.

See what the family spent

  1. The block's top line shows what the coordinator's tabs spent today, and the cap per tab when one is set (“$1.84 today · cap $5.00 a tab”). Each row shows its own spend. A tab whose model has no price shows nothing rather than $0.

    The block header with $1.84 today and cap $5.00 a tab, and per-row costs of $0.14 and $1.20
  2. Dollars are a list-price estimate, not a bill. To set caps, see Spend caps.

Who approves a child's requests

When a tab an agent opened needs an approval, it asks that agent first, whatever the parent’s own permission level. While a child waits for you, the parent is told so and hears your answer. The parent can approve once, never “always”. A protected list always comes to you: database writes outside the child's own copy, permission changes, force-pushes, policy files. So does anything the parent does not answer within 90 seconds, or within two minutes while the parent is still in the middle of a turn. Anything the parent could do itself is approved at once and logged; the rest reach the parent together in one message. A waiting child says who it waits on, on the Mac and on the phone. Every decision is in the Audit panel. Details and the setting that limits parents are on Approvals and decision cards.