Agents & automation
Runs
Runs is the one place that answers three questions: what needs me, what is working, and what finished while I was away. It lists every kind of run together: your chats and code sessions, background sessions, Fleet lanes, loop runs, and sessions driven from a phone. It replaces the Fleet pill, the Loops pill and the Runs Inbox pill that used to sit in the top bar.
The four sections
| Section | What is in it |
|---|---|
| Needs you | Runs that are blocked on a person. Each row says why, in words, on the right (see the next block). |
| Working | Runs that are going now, with what they are doing (Thinking, Running command, Editing file) and how long they have been going. A run with sub-runs shows 2 of 3 done. |
| Done | Runs that finished while you were not looking and that you have not opened yet. The row says where it ran (Local, Worktree, Fleet, Telegram), how it ended (Finished, Failed or Stopped, with a symbol) and carries a verification chip. |
| Recent | Everything else, newest first, 50 at a time with a Show more button. A run that ended in failure or was stopped says so here too, so it never looks finished. |
Sections can be collapsed, and Runs remembers which ones. A section with nothing in it keeps its header and says so (Nothing needs you.), so the four words are always in the same place. Every state is written as a word in the row, never only as an icon or a colour.
Why a run is in Needs you
A run is in Needs you only while something real is blocking it, and it leaves the moment that thing is decided, by you, by another device, or by a timer.
| Row says | What is waiting |
|---|---|
Approve shell, Approve edit, Approve plan |
A tool or plan approval. The command or file is in the row's tooltip, not in the row. |
2 questions (1 question) |
A clarification the agent asked, or a question it posted with ask_user. |
Review diff |
A finished run in its own worktree whose changes you have not applied or discarded. |
Loop parked |
A loop run that stopped for your review. |
Loop failed |
The loop's latest run failed. It stays until a newer run of that loop replaces it, or you archive or delete that session. |
Below the bar |
The loop's latest run finished but missed its verification bar. Same rule. |
Choose winner |
Every lane of a parallel run finished and none has been picked. |
Merge conflict |
A sub-run could not merge. |
App access: Finder |
Desktop control is waiting on your permission for an app. |
The list is computed from what is actually blocking, not from a label a run last wrote, so a run that crashed with an old "waiting" label does not sit in Needs you forever. Approving from the Agent panel removes the row immediately, without a refresh.
Queued: waiting for the GPU or a slot
Every run asks Bodega's scheduler for a turn before it starts: chats, background runs, Fleet, Loops, follow-ups, sub-agents and asides. A run that has to wait is Queued in Working, with the reason in words:
Waiting for a GPU slot · 1 ahead: another run is using the model on this computer.Not enough VRAM free: a second local model would not fit beside the one in use.Background slots full · 2 ahead: as many background runs as allowed are running.Cloud limit reached · 2 ahead: as many runs as allowed are using that cloud provider.Spending cap reached: your cloud spending cap is reached.Waiting for the other local run: a sub-agent waits for the local model.
A queued run starts on its own when its turn comes; nothing is cancelled for waiting. A chat you are typing in goes ahead of background work but never stops anything already running. A run that waits for the same model it just used gets it back first if it asks again within two seconds, so the model does not have to re-read the conversation. A background run that has waited longer than Mark a long wait after (Settings, Automations, Background runs) adds waiting N min to its row.
When a model on this computer is configured, the bottom of Runs shows GPU: 2 slots busy · 1 queued · 9.1 GB free; Details lists what is running and what is waiting. The line is absent when you only use cloud models. If you asked for more llama.cpp slots than the loaded model was started with, a second line says a model reload is needed.
Seen, and what "Done" means
Done is "finished while you were not looking". A turn you watched finish, in the window you were using, never appears there: it goes straight to Recent.
Opening a Done run (or keeping it open for a second) marks it seen. The mark is shared: if you open a run from the phone, it is seen on the desktop too. An opened Done row stays where it is, with a check and the word Seen, until you next come back to Runs (the next time it is shown, or the window regains focus). Then it moves to Recent. Nothing ever moves out from under your cursor.
Press M on a Done row to mark it seen without opening it.
Opening Runs
- Code mode: the tray icon in the activity bar, or
Ctrl+Shift+U(press it again to close the sidebar). The icon carries one badge: how many runs need you. It does not count working runs. - Chat mode: the Runs tab of the sidebar, labelled
Runs · 3when three need you. The search box at the top of the sidebar searches runs while that tab is open.
Clicking a row opens that session in the Agent panel (Code mode) or the chat (Chat mode). A chat session opens in Chat mode and a code session in Code mode, switching mode if needed.
Runs does not make a sound or show a toast. If you want a desktop notification when a Fleet lane or a loop finishes, that is Settings → Automations → Background runs → desktop notifications, unchanged.
Starting a run from Runs: New ▾
The New ▾ button in the Runs header (Code Mode panel, and the top of the Runs tab in Chat Mode) starts something without the composer:
- Background run…: a task in its own worktree (or this folder, per the project's background defaults). It creates a fresh session in the project.
- Parallel run…: the same task in 2 to 4 lanes, with a model per lane if you want, then compare.
- Loop…: a new loop on a schedule or when a comment keyword appears.
- Fleet dashboard and All loops · n: the Fleet and Loops panels.
The first three need a project folder and say so when there is none. Each sheet reports a problem inside itself; a run that started simply appears in the list.
The verification chip
A finished run shows how its result was checked: Passed, Repaired (it failed a check and was fixed), Unverified (no checks ran, or the checks could not grade it), or Failed. The word is the signal; the dot beside it only repeats it. Hover the chip for the score. These words are the same ones used everywhere Bodega reports a check, which is QEL, the Quality and Evidence Loop; the interface says "verification" and keeps the acronym for this tooltip.
Keyboard
The list is a tree with one tab stop: Tab enters it once and leaves it once.
| Keys | Action |
|---|---|
↓ / ↑ |
Next / previous run, across sections |
Alt+↓ / Alt+↑ |
Next / previous section header |
Home / End |
First / last run |
→ |
Expand a run with sub-runs; on an expanded one, go to its first child |
← |
Collapse; on a child, go to its parent |
Enter |
Open the run |
Space |
Expand or collapse a run, or a section when its header is focused |
A |
Go to the approval of a run that has one waiting |
S |
Stop a working run (no confirmation: sending again resumes the work) |
M |
Mark a Done run as seen |
/ |
Search (Esc clears it and returns to the list) |
Shift+F10 / Menu |
Open the context menu |
Esc |
Return to the editor (Code mode) or the composer (Chat mode) |
Letters typed quickly jump to a run whose title starts with them. A, S and M are commands when they start a word and ordinary letters after that.
The right-click menu
An item that does not apply to a run is not shown, so there is nothing greyed out to explain.
- Any run: Open, Copy session id.
- Waiting on an approval: Approve… (opens the session on the approval card, it never approves from the menu).
- Waiting on a question: Answer….
- A diff to review: Review diff, Apply changes…, Discard worktree… (all open the Fleet panel, where the diff and the confirmation are).
- Working or queued: Stop.
- Finished and unread: Mark seen.
- A Fleet lane or a loop run: Open in Fleet, Open in Loops.
- Finished or idle: Pin or Unpin (pinned runs sort first in their section), Move up and Move down (Done and Recent only; the order is remembered, pinned runs stay above unpinned ones), Reset order (once you have moved a run), Archive (a run with a worktree asks first; see Archive and History).
- Any run: Delete…, which asks first and whose safe choice is Cancel.
Open in a split, Move to background, Run now and Take over here are not in the menu yet.
Archive and History
Archive takes a run out of Runs, Fleet and the sidebar without deleting anything. Its chat stays. If the run has a worktree, Bodega first commits any uncommitted changes to the run's branch (the commit message is WIP: archived from Bodega One), then removes the worktree folder and keeps the branch with all its commits. The menu asks first and names the branch. A run that is still streaming cannot be archived: stop it first.
History is the toggle at the bottom of Runs. It lists archived sessions, newest first, and the search field filters them by title. Each row has Open (the chat, under an Archived banner with a Restore button), Restore and Delete….
Restore brings the session back to its list. The chat was never removed. If it kept a branch, the worktree is re-created on that branch and its Fleet card appears at once. If the branch was deleted, the project folder is gone, or you checked the branch out yourself in your main folder, the session still comes back, without a worktree, and the reason is shown. If Fleet is at its limit, Restore waits until a slot frees up.
Delete… removes the chat for good and asks whether to delete the kept branch too. Branches of archived sessions are never deleted on a timer; Settings → Automations → Background runs → Worktree storage shows how many are kept and has one button to delete the ones Bodega made.
Search
Typing in the search field filters all four sections in place by title, by the kind word (Chat, Fleet, Loop) and by the reason word (approve shell). A section with no match says No matches, and its count reads 2 of 7. Search never changes which run is open and never marks anything seen.
Under the hood, and from the terminal
The list is served by GET /api/sessions/attention and kept current by status frames over the app's single WebSocket, so a status change reaches Runs without polling; once a minute Runs re-reads the list and records a [reconcile] attention_drift line in the developer console if push ever missed one. PATCH /api/sessions/:id/seen is what marks a run seen.
The scheduler's state is GET /api/scheduler/state (and /api/scheduler/queue), pushed as a scheduler_state frame on the same WebSocket.
The bodega terminal client reads the same routes (CLI v0.2.16 and later): bodega sessions lists the runs, bodega sessions --tree shows sub-agents and asides under their session, bodega sessions seen <id> clears unread, and bodega attach <session> follows one. bodega scheduler, for the queue, is available since CLI v0.2.17 and needs app v1.0.0-beta.47 or later.
Your settings
Three settings belong to this view, and all are yours, not the project's: ui.runs.collapsed (which sections you collapsed), ui.runs.pinned (the runs you pinned) and ui.runs.order (the order you gave runs in Done and Recent).
Keyboard shortcuts
| Keys | Action |
|---|---|
| Ctrl+Shift+U | Show or hide Runs |
| ↓ / ↑ | Next / previous run |
| Alt+↓ / Alt+↑ | Next / previous section |
| Enter | Open the run |
| A | Go to the approval |
| S | Stop the run |
| M | Mark as seen |
| / | Search runs |
This page mirrors the in-app docs hub for app version 1.0.0-beta.53.1. Found something unclear or out of date? Tell us on Discord. New here? Download the free beta and follow along.