See what the agent is doing
An agent user wants to see the tools, plans, sub-tasks and context behind an agent's reply, without the conversation becoming hard to read.

As an agent user, I want to see which tools my agent used, what plan it follows and what started it, so that I can trust the answer and notice when it is stuck.

Situation

My agent reads documents, searches, runs code or hands work to other agents. The reply alone does not tell me how it got there.

What I do

    Tap a tool card to see what went in and what came out.

    Read the run card to follow the plan and its sub-tasks.

    Tap a sub-task to open its conversation.

    In a conversation started by a trigger, tap the first row to see what started it.

What I should see

    Each tool use is a grey card in the timeline with a short verb ("Read", "Wrote", "Web search", "Execute code"), what it acted on, and a status: "Running", "Done" or "Failed".

    A small label on the card names the kind of source, for example "hm doc" or "web".

    Tapping a tool card opens it in place: "Input" and, once it has finished, "Output" in fixed width text. A failed tool shows "Error" in place of "Output".

    A run is a grey card with a sparkles symbol, a title and a badge: "Queued", "Starting", "Working", "Waiting", "Done", "Failed" or "Canceled". The "Failed" badge is red.

    Plan steps are listed on the run card with a check mark when done, a cross when failed and a circle otherwise. A step the system closed by itself is marked "Auto".

    Sub-tasks appear under the step they belong to, each with its title and status. Tapping one opens that conversation. It has no message field. Its line "Driven by a parent conversation. Open it to intervene." opens the parent.

    The run card shows how long the run has taken, counting up each second while it works, and the tokens used ("12.3k tokens").

    A waiting run explains itself: "Waiting for an answer.", "Waiting on a timer.", "Waiting on 2 sub-sessions." or "Paused on its budget. Resume to continue." A run that sleeps until a set time shows "Waking in" with a countdown.

    Runs still in progress stay at the end of the conversation. A plan that finished before the closing reply sits above that reply.

    A conversation started by a trigger begins with a row naming the trigger. Tapping it shows its instructions and data.

    Message parts that are neither text nor tools still appear as a row I can open, such as "Message context" or an attachment's name.

When something goes wrong

    If run updates stop arriving, a red line reads "Run updates disconnected. Reconnect to refresh." with "Retry". See Stay connected.

Not included

    Long tool input and output is cut at 4,000 characters and ends with "… truncated".

    Attachments are listed by name, not previewed.

Trace

Story US-AGENT-06, status Shipped. These links are kept in step with the traceability matrix and with the "User stories" section of every page listed here.

Design

Page

Part it plays

Session timeline

Every row kind and the order they appear in

Agent session

The screen that holds the timeline and status line

Agents components

The Agents component set

AgentToolRow

Tool cards: verb, target, status, chip, expandable input and output

AgentRunCard

Run cards: badge, plan steps, note, duration, tokens

AgentChildRow

Sub-task rows under a step or a run

AgentContextRow

Trigger and structured part rows

Badge

The run status badge

StatusLine

Status line conventions

Badges, countdowns and connection status

Badges, the ticking duration and the Waking in countdown

Cards and panels

Grey cards for work, bubbles for speech

Every card surface

Tool and run cards among all card surfaces

Every symbol

Settings, sparkles, check mark, close and circle symbols

Text styles in use

Footnote, caption and monospaced detail text

Honest state: loading, failure and empty

Quiet by default, nothing hidden or dropped

Implementation

Page

Part it plays

Agents: chat rows and run cards

chatRows and runRow: tool rows, context rows, run cards, plan steps, child runs

Agents: providers, models and tool summaries

Tool summaries: verbs, labels and source chips

Agents: WebSocket streams as resources

Session and run streams that keep cards current

Agents: reads, commands and the clock

agentsLoadRuns and the run tree

Agents: screens and components

AgentToolRow, AgentRunCard, AgentChildRow, AgentContextRow

Agents: chat with Seed agents

Package overview

Agents server

Session events, runs, plans and trigger context on the wire

Root declarations: Activity and Agents

agentsRunData, agentsLiveRuns, agentsRuns and the agentsRunClock task

State, refresh and stale-reply patterns

Merging the loaded run tree with the live run stream

Where the app yields for the turn budget

Joining tools to results in linear time

Contract UI tests

The UI tests of tools, runs, plans, child runs and trigger context

Mock agents server

The parity fixtures: nested runs, trigger session, timer wait

Bun unit tests

Unit tests of rows, plans, chips and structured parts

Code

File

What

agents.contract L289-361

AgentToolRow

agents.contract L363-414

AgentChildRow and AgentContextRow

agents.contract L416-468

agentDuration and AgentRunCard

agents.contract L497-506

Pinned runs and the status line at the tail

agents.contract L538-596

The row switch

app.contract L175-179

agentsRunData, agentsLiveRuns, agentsRuns

app.contract L197-198

agentsRunClock

src/agents/model.ts L50-78

runLabel, runIsLive, formatTokens

src/agents/model.ts L111-298

chatRows (tool, trigger, structured rows)

src/agents/model.ts L301-370

runRow

src/agents/sources.ts L350-459

agentsLoadRuns and agentsRunStream

src/agents/tool-summary.ts L397-421

resolveToolRowSummary and toolRowSourceChip

Tests

File

What it checks

agents.test.contract

session opens newest and streams markdown, tool results and run status

agents.test.contract

a completed plan freezes before the closing reply

agents.test.contract

nested runs group by stable plan step and child conversations navigate both ways

agents.test.contract

trigger context, structured parts and source chips retain the message story

agents.test.contract

timer waits show a countdown and budget pauses resume through SignalRun

src/agents/__tests__/agents.test.ts

transcript and run presentation: tools show pending and error, and hidden planning tools stay out of chat

src/agents/__tests__/agents.test.ts

transcript and run presentation: frozen plans settle unfinished steps and respect the owning run

src/agents/__tests__/parity.test.ts

child runs attach by stable step id, then legacy label, and unassigned descendants remain visible

src/agents/__tests__/parity.test.ts

structured parts retain interleaved text and tools, unknown parts, message context and attachments

Delivery

Delivered by #1470.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Attributes
Epic
Agents
name
See what the agent is doing
Story
US-AGENT-06
Status
Shipped
summary
An agent user wants to see the tools, plans, sub-tasks and context behind an agent's reply, without the conversation becoming hard to read.