Run control
Steer agent runs from the Inbox: permissions, mid-run steering, checkpoints and rewind, pause and resume, model switching, and budget recovery.
On this page›
How you, or an agent working on your behalf, steer active runs: answer permissions and questions from the Inbox, send mid-run steering messages, rewind worktree checkpoints, pause or switch models, and recover from budget stops. Every control here works in the desktop app, on mobile at /app, and via MCP and the CLI.
The Inbox
The desktop app opens on the Inbox (/app): everything across the account's runs that waits on you, the item blocking the most agents first. The same permission asked by many runs is one item.
| Kind | What waits | What settles it |
|---|---|---|
| Permission | A run wants to do something its rules do not allow: edit a file, run a command, reach a host, call a connection's tool, spend more | Allow or Deny, and Always allow for a command |
| Question | The agent asked you something | A reply in words, or Let it decide |
| Review blocked | A team's subtask failed its review before merging | Open it; fix or stop the run |
| Budget | A run stopped at its cap | +$5, Cheaper, or dismiss |
| Plan | A run stopped because the account has no plan | Subscribe, then retry (Agent runs) |
| Ended | A run ended needing you, or stuck | Retry with a clearer prompt, or dismiss |
| Rule off | An autopilot rule turned itself off after 3 failures | Fix the cause and turn it on, or delete it |
Above the list, a strip counts what is running, queued and waiting, what succeeded today, the merge rate and today's spend against the day cap.
Keys: j and k move, a allows, d denies, r retries, o opens the run. On an item that covers many runs, Allow and Deny ask twice: the first press says how many it will answer (Confirm: allow 14), the second does it. There, a and d only move focus to the button, so no single key answers many runs.
| Action | MCP | CLI |
|---|---|---|
| Read the Inbox | get_inbox |
codepanel inbox |
| Answer many at once | answer_batch |
codepanel inbox answer allow|deny <runId:interruptId...> |
| Dismiss an ended run's item | dismiss_inbox_item |
codepanel inbox dismiss <runId> [--undo] |
Each item carries a nextAction naming the call that settles it, so an agent can work the Inbox without reading the summaries.
Answer a permission
A permission shows in the thread as a card, and in the Inbox. Allow lets the run do it; Deny refuses it, and the agent is told why and carries on without it. Your local runner picks the answer up at once. A permission with a deadline shows a timer, and is denied when it runs out.
Permission modes
Switch your account or thread permission mode from the thread bar (or Settings → Permissions):
| Mode | Behavior |
|---|---|
| Ask | Asks before every file edit and shell command |
| Auto (default) | Runs allowed rules and checks automatically; asks for everything else |
| Autopilot | Policy answers routine prompts; escalates decisions and exceptions to you |
| Full access | Skips approval prompts while explicit deny rules still hold |
Use the Permission Tester under Settings → Permissions to test any command or path against your current rules before starting a run. A deny rule always wins over an allow.
MCP answer_interrupt with runId, interruptId (from get_run's waiting) and answer allow or deny; CLI codepanel run answer <runId> <interruptId> allow|deny. Answering takes the interrupts:answer scope. A token you make in Settings has it when it has tasks:write, unless you untick it; a tool that signs in (codepanel login, a connector) gets it only if you tick it on the approval page, where it starts unticked. So an agent you let start tasks cannot approve what those tasks ask unless you chose that. Tokens made before 2026-11-21 with tasks:write keep answering, marked in Settings as carried over.
Answer a question
A question takes a reply in words: type it in the card or the Inbox and press Reply, and it goes back to the agent as your answer. Let it decide tells the agent to use its judgment and say in its final reply what it chose.
MCP answer_interrupt with answer: "reply" and text (up to 4,000 characters); CLI codepanel run answer <runId> <interruptId> reply <text>. A reply to a permission, to an interrupt already settled, or to an ended run is refused with the reason.
Always allow
Always allow in <repo>, on a command's permission, keeps that exact command allowed in that repository for every later run. It covers one command, never more: a line of several commands, or one holding *, cannot be made a rule. A deny still wins. The runner reads the repository's allows when a run starts and on every check.
Only you can create one, from the app or with a token holding rules:write. No token gets that scope by default, and an agent's tasks:write token is refused, so an agent cannot widen its own permissions. Removing one only narrows, so tasks:write is enough.
| Action | Where | MCP | CLI |
|---|---|---|---|
| List | Settings → Permissions, Always allowed | list_permission_rules |
codepanel autopilot permissions |
| Create | Always allow on a permission | always_allow (rules:write) |
codepanel autopilot permissions allow <owner/name> <command…> |
| Remove | Remove beside the rule | remove_permission_rule |
codepanel autopilot permissions remove <ruleId> |
Mid-run steering
You don't have to stop a run to course-correct it. Type a message in the thread composer while the agent is running to queue a steering message, which the runner delivers to the agent on its next turn with full conversation context intact. You can also leave inline diff line comments in the Changes tab to point the agent at a specific file and line.
Checkpoints and rewind
The local runner captures a lightweight worktree checkpoint after every turn. In any thread, you can inspect what changed at a given turn and Rewind the worktree back to that checkpoint if the agent took a wrong turn, then send a new instruction to try a different approach cleanly.
Pause and resume
Pause in a thread's bar holds that run without losing its place. The turn in flight finishes and its tool calls settle; then every agent in the run, a team's subagents included, waits at the top of its next turn, with its worktree kept. While paused, the run makes no model calls. Resume goes on from where it stopped. Pausing a swarm parks every subtask and starts none.
A run on an external agent CLI (Claude Code, Codex and the like) cannot be paused, since the runner cannot hold that process between turns: stop it instead.
To stop every run on the account at once, use Stop everything.
| Action | Where | MCP | CLI |
|---|---|---|---|
| Pause | A thread's bar, a swarm's row, Fleet's bulk Pause | pause_run, bulk_tasks |
codepanel run pause <runId>, codepanel task bulk pause <taskId...> |
| Resume | The same, reading Resume | resume_run |
codepanel run resume <runId> |
| Stop | The composer's stop button, pressed twice | stop_run |
codepanel run stop <runId> |
A stopped task is never final: Retry (r in the Inbox), retry_task or codepanel task retry <taskId> queues it again.
Switch model
Switch this run's model, in a thread's bar, moves a running run to another agent's model, or to A cheaper model: your agent one step cheaper for the same work. The turn in flight finishes on the old model, and the next call uses the new one, with the conversation carried over. Every cap on the run still holds. The thread keeps a note of the switch and why. A team run switches its orchestrator; a run on an external agent CLI cannot switch.
MCP switch_model with codingAgentId or cheaper: true; CLI codepanel run switch <runId> <agentId>|--cheaper; for many tasks, Fleet's bulk Cheaper model or codepanel task bulk cheaper <taskId...>.
Budget stops
Every model call goes through CodePanel's model proxy, which holds each run to its caps:
| Cap | Default | Where it is set |
|---|---|---|
| Per run | The agent's budget, else $5; a team's cap per run; a rule's taskUsd on a rule's task |
The agent, the team, the rule |
| Per day, every run together | $25 per UTC day, up to $1,000 | Settings → Budgets & limits, Autopilot's Guardrails, set_agent_day_cap |
| A rule's day | dayUsd, $10 |
The rule |
A run that reaches its own cap stops and waits in the Inbox as a Budget item. +$5 raises the cap that stopped it (the agent's budget, or the team's or rule's cap) by $5 and queues the task again as its next attempt; it asks twice, since it spends more. Cheaper moves the task to your agent one step cheaper and queues it again (not for a team's task). Once the day cap is spent, the proxy refuses every run's calls until the next UTC day or until you raise the cap, and rules skip their events.
MCP recover_budget_stop with action raise and usd, or cheaper; CLI codepanel run recover <runId> raise <usd>|cheaper. Raising also needs agents:write, since it changes the agent.
A run stopped because the account has no plan waits as a Plan item instead; see Agent runs for what is charged.