Agent wall

Brief

The agent wall shows every pane in the window as a card. Click the agent counter in the top right of the window, or press Ctrl+Shift+A. Click a card and you're in that pane.

Each card names the agent, the directory it's in, the model and effort it's running, such as OPUS 5.5 · MAX, and what it's doing right now. Cards are grouped the way your tabs are, and the chips across the top narrow them by group, by program and by state, so twelve agents can come down to the two that are blocked.

A Claude agent's card also carries three bars, read from its own transcript: how full its context is, how worn it is, and how much of what it's holding is still about the task. When those add up to STOP or HAND OFF, the card turns up a red CALL chip and a ⚠, because those two need a person to decide.

The counter opens the Threshing Floor instead, and Ctrl+Shift+A is the wall's only door.

Story explains the three bars. Technical has how each is computed.

Story

Three bars

An agent works like someone at a desk. Everything it reads stays in front of it: the files it opened, the command output, your messages. CTX WINDOW is how much of the desk is covered. When it's nearly full, Claude Code clears it and keeps a summary. That's called compacting, and it throws detail away.

A clear desk doesn't make a fresh worker. Someone eight hours into a shift, whose desk has been cleared twice, who keeps rerunning the command that failed and reopening files they read an hour ago, is tired. FATIGUE looks for exactly those signs in the transcript: how long the agent has been going, how many times it was compacted, whether its errors are climbing, whether it repeats itself, whether its answers are getting slower.

The desk can also be full of the wrong things. An agent that spent the morning on the database and the afternoon on the login page is still carrying the database files, and it rereads them every turn. RELEVANCE is the share of the desk that's about what it has been doing since you last spoke to it.

Read together, the bars say what to do next. A worn-out agent should stop, since a new session starts cleaner than this one continues. One whose desk is full of work it's still using should hand off, because compacting would throw that work away. One whose desk is full of old papers can simply compact. Only stopping and handing off are your call, so only those two light up the card.

Technical

Cards, bars and the call

Opening it#

  • The agent counter in the top right of the window.1
  • Ctrl+Shift+A from any pane. The F1 help lists it as MCP — read-only agent-watch surface.
  • AGENTS · MCP in the … menu.

The counter is a robot followed by six cells: ▶ working, ‖ blocked, ✕ error, ✓ finished, ○ idle and ? unknown. A cell lights when its count isn't zero, and only blocked and error get a filled background, because those two need you.3

Esc or a click outside the panel closes it. If something is open on top of the wall, such as the usage card or the graveyard, the first Esc closes that and the second closes the wall. Clicking a card focuses that pane, switches to its tab and closes the wall.

The agent counter opens the Threshing Floor, and so does THRESHING FLOOR in the … menu. Ctrl+Shift+A is the only way to the wall, and the F1 help no longer lists it.4

The counter has eight cells: resting and asleep sit between idle and unknown, for agents that have been put to rest. Hovering it shows how much memory awake, resting and sleeping panes hold.

The header#

AGENT WALL, then Δ (tokens this turn) and Σ (tokens this session) for the whole fleet, and two buttons: </> savings for lean-ctx's token savings and Σ usage for the usage card. Under them, MCP CONTROL — READ ONLY, or READ + WRITE when writes are on.1

Then two groups of controls:

GroupControls
MCP SERVERThe MCP server's switches: server enabled or server disabled; expose: agents only or expose: all panes; stream tool-call events or events off; writes on · agents can restyle or writes off · read-only. Under them, a count such as 5/9 pane(s) exposed.
CARDS◉ images on or ○ images off, and the card-size slider, which scales every card from 0.7 to 1.6 and applies to the graveyard too.

The IMAGES switch takes the picture out of every card, which makes each card shorter so more fit on screen. Its setting is saved with the window; a window where nobody has pressed it shows pictures. The card size goes back to 1 each time the window opens.

Filters#

RowChips
GroupALL, one per tab group, Ungrouped
ProgramANY PROGRAM, then one per program present: CLAUDE, CODEX, SHELL, REMOTE, or the program's name
AGENT STATEANY STATE, then ▶ WORKING, ⏸ BLOCKED, ✕ ERROR, ✓ DONE, · IDLE, ? UNKNOWN; a state with no agents gets no chip

Each chip carries its count. The state chips count only the agents the group and program chips leave in view, and they're the wall's only state tally.1 State comes from the agent's own status line on screen. Blocked and error need you. Unknown means the screen matched no rule, and it's counted apart from idle rather than guessed into it.

The state row gains ☾ RESTING and z ASLEEP, between idle and unknown.4

A card#

title
◈ if the pane is exposed to MCP, ◇ if not; a red ⚠ when it needs you; the pane's name, else its terminal title; the program.
directory
The last part of its working directory, as project/.
picture
The pane's logo, or a small scene of the tool the agent is using right now with a caption, or the directory's logo. With none of those, the name's initials over the group colour, with the program and its state. Gone while IMAGES is off. With TD_WALL_THEME=1 set when the window starts, each card wears its pane's own theme and the picture is warped like a tiny CRT.
agent chip
AGENT and the model and effort the transcript names, e.g. OPUS 5.5 · MAX. Known model families are shortened to the family and version; a name Terminal Delight doesn't know is shown whole.5 Without a transcript reading, the --model the agent was started with, else the program's name. A shell shows SERVICE and its program.
middle
The three bars, when there are any. Otherwise the agent's latest lines (for an idle agent, the last thing you asked it, marked ❯), or a shell's directory.
corner
Δ and Σ tokens, read from the agent's status line, and the state. When the status line shows no count, Δ currently reads Δ0 rather than unknown (issue 800).

The bars#

Each bar's length is its number; its colour only says which end is bad. Every one is read from the whole transcript, not the tail.2

BarMeasuresTurns red
CTX WINDOWTokens in the context on the latest turn (input plus cache writes plus cache reads) over the model's limit: 1,000,000 for a [1m] model or a session that has already held more than 200,000, otherwise 200,000.from 60%, fully at 98%
FATIGUEA weighted sum: compactions and what they dropped (0.28), tool errors climbing (0.18), repeated calls (0.18), slowing turns (0.14), rereading what it already had (0.12), hours on the clock (0.10). The heaviest part is the reason given.from 55%, fully at 78%
RELEVANCEOf the tool results still in the context, the share about files touched since you last typed. Off-topic results count at 0.35; results superseded by a later read or that errored count at nothing.at 45% and below; green at 65% and above

Relevance is a proxy, and it's labelled as one. A transcript with no answer from the agent yet draws no bars at all, rather than three empty ones.

A session whose turns carry no context figure hasn't been measured. Its CTX WINDOW and RELEVANCE draw as a full-width grey track captioned —, which matches no real reading, and its call is NO READING. FATIGUE still draws, because it counts events that are in the transcript either way.2

The call#

Checked in order; the first that matches wins.

WhenCall
fatigue ≥ 70%STOP
no turn carries a context figureNO READING
window ≥ 85% and relevance ≥ 65%HAND OFF
window ≥ 85%COMPACT
window ≥ 60% and relevance < 45%COMPACT
off-task context ≥ 120k tokens, or a quarter of the limit if that's moreCOMPACT
window ≥ 85% with no tool results to judge it byWATCH
ten turns or fewer before 92% full, at its recent rateWATCH
window ≥ 60% or fatigue ≥ 45%WATCH
otherwiseRUN

The HAND OFF and COMPACT rows need relevance, so they're skipped while the context holds no tool results. Only STOP and HAND OFF show on the card, as a red CALL. 92% is where Claude Code starts compacting on its own. terminal-delight agent-vitals <transcript.jsonl> prints all of it as JSON, with the one-line reason for the call.

When bars don't draw#

  • The bars refresh every ten seconds, and only while the wall is open.
  • A pane draws bars only when Terminal Delight is sure which conversation it's in: the agent said so, or its process started with it, or it's the only one in that directory. A pane matched by a weaker guess shows its latest lines instead.
  • Codex panes have no bars yet.

The same reading also runs once a minute while the wall is closed, so each pane's header can lead with its agent's model and effort. The wall keeps its ten seconds.4

What would prove this wrong#

If a card ever draws bars from a conversation other than the one in its pane, the binding rule above has failed. If an unmeasured session ever draws a short or empty CTX WINDOW instead of the grey track, the unknown has been read as zero. The wall watches panes and never writes to a terminal, as its own footer says: watches agent panes · never writes to a PTY.

Sources

  1. The wall, its doors, header, controls and cards: main.rs; its labels: lang.rs and lang/chrome.rs.
  2. The bars, the call and NO READING: vitals.rs, ported from td-agent-vitals.mjs; the bar and call labels: lang/parts.rs.
  3. Agent states and which ones need you: hud.rs.
  4. 0.5.0: the counter as the Threshing Floor's door, the resting and asleep states and the once-a-minute reading: main.rs and hud.rs.
  5. Model names: model_catalog.rs.