Cocobox

Agent tabs and providers

Each tab runs a coding agent using your own account or key. You can choose a built-in agent or add one that speaks the Agent Client Protocol (ACP).

The built-in agents

An agent that is not installed is fetched the first time you start it. Every agent tab also gets Cocobox’s own tools: your database connections behind the same approvals, the web, the preview browser, and opening tabs of its own.

For a local model, add an agent that supports local inference and pick it in the tab’s agent menu.

Choose the agent for a tab

  1. Click the agent button at the top right of the chat (or press ⌥⌘A). The list shows every agent on this Mac and whose account it uses.

    The agent list with the current choice selected
    The agent picker. The tick marks who answers here.
  2. Pick one. While the conversation is empty, the tab switches to it. Once a message has been sent, the conversation stays with the agent that has been answering, and picking another opens a new tab for it instead.

  3. To choose who answers in every new tab, open Settings › General › New tabs start with. If that agent is not installed, the first installed agent answers.

Pick the model and mode

  1. Click the model button (◈, “default model” until the agent has started) under the message box, or press ⌥⌘O. The dialog shows the agent’s own choices: its models, and its permission modes.

    The model and permissions dialog
    Options come from the selected agent.
  2. Click a card, or move with the arrow keys and press Enter. Choices apply at once. The dialog shows what the agent actually has after the change, so a mode the agent dropped when you changed model shows as dropped.

  3. Click Refresh models to restart the agent and ask it again, for example after an update brought new models.

  4. While a turn runs, the model running it shows beside Stop. Change it when the turn ends.

When an agent isn’t signed in

  1. If the agent has no login on this Mac, your message comes back as a card saying so.

    A sign-in prompt with Sign in and Try again
    The card names the agent and where it runs.
  2. Click Sign in. Depending on the agent, Cocobox signs in for you, or types the login command into the tab’s Terminal for you to finish.

  3. Click Try again. The agent restarts with the new login and your message is sent again.

Update, add or change agents

  1. Open Settings (the gear in the titlebar) › Agents. Each agent shows whether it is installed, what it runs on, and its version.

    Settings open on Agents: Check for updates, Keep agents up to date, and each installed agent with how it signs in and Edit
    Settings › Agents, in an earlier version.
  2. Keep agents up to date (on by default) installs updates once a day. Check for updates looks now; Update or Update all installs; Roll back returns to the version before. A running tab keeps its version until you restart it.

  3. To run your own agent, click Add agent: give it a name, the command that starts it, and any environment variables, one per line. Any program that speaks ACP works. It is kept in ~/.config/cocobox/config.toml.

    The Add agent form: name, command and environment, with Save
    A custom ACP agent. Edit on a built-in agent changes the command Cocobox runs for it.
  4. Or click Browse the ACP registry, filter, and click Add beside any agent in the public registry.

    The ACP registry list with Add buttons
    The ACP registry, one click per agent.

Name, arrange and split tabs

  1. Every tab has an agent name, like agent-3, separate from its task title. Double-click the title to rename the tab; double-click the agent name, or press ⌘R, to rename the agent. Agents refer to each other by these names.

  2. Drag a tab along the strip to reorder it. Drag it onto the left or right edge of the chat to open it beside the current one, up to three side by side. ⌘\ splits with the tab you were on before.

    The Rate limiter tab opened beside the current tab
    Drag a tab to the edge: Open on the right.
  3. Right-click an agent in the sidebar for a menu: Stop, Summarize for humans, Rename, Mark as read, Copy branch name, Open to the right, its permission level, and the Close options. ⇧F10 opens it from the keyboard.

  4. Right-click a tab for the same moves and more: Open to the left, Open to the right, Move left, Move right, review and check actions, and Close, Close others, Close to the left, Close to the right, Close all.

    The tab's right-click menu
    The tab menu.
  5. From the keyboard: ⌥⌘← / → walks the tabs, ⌥⇧⌘← / → moves the current one, ⌘W closes it. The layout is kept per space.