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 |
|---|---|
Every row kind and the order they appear in | |
The screen that holds the timeline and status line | |
The Agents component set | |
Tool cards: verb, target, status, chip, expandable input and output | |
Run cards: badge, plan steps, note, duration, tokens | |
Sub-task rows under a step or a run | |
Trigger and structured part rows | |
The run status badge | |
Status line conventions | |
Badges, the ticking duration and the Waking in countdown | |
Grey cards for work, bubbles for speech | |
Tool and run cards among all card surfaces | |
Settings, sparkles, check mark, close and circle symbols | |
Footnote, caption and monospaced detail text | |
Quiet by default, nothing hidden or dropped |
Implementation
Page | Part it plays |
|---|---|
chatRows and runRow: tool rows, context rows, run cards, plan steps, child runs | |
Tool summaries: verbs, labels and source chips | |
Session and run streams that keep cards current | |
agentsLoadRuns and the run tree | |
AgentToolRow, AgentRunCard, AgentChildRow, AgentContextRow | |
Package overview | |
Session events, runs, plans and trigger context on the wire | |
agentsRunData, agentsLiveRuns, agentsRuns and the agentsRunClock task | |
Merging the loaded run tree with the live run stream | |
Joining tools to results in linear time | |
The UI tests of tools, runs, plans, child runs and trigger context | |
The parity fixtures: nested runs, trigger session, timer wait | |
Unit tests of rows, plans, chips and structured parts |
Code
File | What |
|---|---|
AgentToolRow | |
AgentChildRow and AgentContextRow | |
agentDuration and AgentRunCard | |
Pinned runs and the status line at the tail | |
The row switch | |
agentsRunData, agentsLiveRuns, agentsRuns | |
agentsRunClock | |
runLabel, runIsLive, formatTokens | |
chatRows (tool, trigger, structured rows) | |
runRow | |
agentsLoadRuns and agentsRunStream | |
resolveToolRowSummary and toolRowSourceChip |
Tests
File | What it checks |
|---|---|
session opens newest and streams markdown, tool results and run status | |
a completed plan freezes before the closing reply | |
nested runs group by stable plan step and child conversations navigate both ways | |
trigger context, structured parts and source chips retain the message story | |
timer waits show a countdown and budget pauses resume through SignalRun | |
transcript and run presentation: tools show pending and error, and hidden planning tools stay out of chat | |
transcript and run presentation: frozen plans settle unfinished steps and respect the owning run | |
child runs attach by stable step id, then legacy label, and unassigned descendants remain visible | |
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