AgentRunCard
The grey card for one agent run: title, status badge, plan steps, child runs, a wait note, duration and tokens, and the buttons to answer, resume, cancel or open it.

A run is one stretch of agent work, usually the answer to one message. AgentRunCard shows how that work is going and gives the person the controls for it.

Used by

Where

How

Agent session (AgentSessionScreen)

One per run. Finished runs sit in the history at the time they ended; live runs are pinned near the end. See Session timeline

It uses AgentChildRow and the platform Badge.

"Ask me before continuing" with a "Done" badge, and "Plan the summary" with a "Canceled" badge and three plan steps: a check mark for the finished one, circles for the two that never ran. Each card ends with its duration.

Props

Prop

Type

Effect

run

AgentRun

Title, status and its label, plan steps, children, wait note, times, token count

now

number

The current time, so a live duration and a countdown can tick each second

cancel

action

Cancels this run

signal

action

Answers or resumes a waiting run

follow

action

Opens a child's or this run's conversation

Anatomy

A card: margin 4 by 16, padding 12, radius 10, -exact-secondary-background, 8 point gaps (Cards and panels).

    Header. symbol:sparkles in secondary colour, the title in -exact-subheadline (fallback "Agent run"), and a Badge with the status label. The badge wraps under the title when the title is long.

    Plan steps, one line each: a status symbol in secondary colour, the step in -exact-footnote, and "Auto" in caption when the runtime completed the step by itself. Under a step, its child runs as AgentChildRow.

    Other child runs, not tied to a step.

    Note, in -exact-footnote, secondary colour: "Waking in 4m 12s" for a timer, otherwise the run's error or wait note.

    Footer. Duration and tokens in -exact-caption1, for example "2s · 2.1k tokens", then the buttons.

Variants and states

Run status

Badge label

Badge tint

queued

"Queued"

brand.fill

claimed

"Starting"

brand.fill

running

"Working"

brand.fill

waiting

"Waiting"

brand.fill

succeeded

"Done"

brand.fill

canceled

"Canceled"

brand.fill

failed

"Failed"

danger.fill

Step status

Symbol

done

symbol:checkmark

failed

symbol:close

anything else

symbol:circle

When a run ends, a step that was running is shown as done and a step that never started stays a circle.

Wait reason

Note

Button

A question

The question's label, or "Waiting for an answer."

"Answer"

Budget pause

"Paused on its budget. Resume to continue."

"Resume"

Children

"Waiting on 2 sub-sessions."

None

Timer

"Waking in …" countdown (or "Waiting on a timer.")

None

Buttons, right of the duration: "Answer" or "Resume" while waiting on the person; "Cancel" (destructive, red) while the run is live; "Open conversation" when the run is a child with its own session. Durations read "42s", "3m 5s" or "1h 12m".

Rules for use

    One card per run. Do not use it for a single tool call; that is AgentToolRow.

    The badge is the only filled colour on the card. Keep step and child statuses as symbols and words.

    Keep the controls on the card. The contract places runs in the transcript "so they remain reachable with the keyboard open".

Why it looks this way

    Same surface as a tool row, different symbol. Both are "work" cards. The sparkles symbol is also the Agents tab's icon, so the card reads as "the agent itself" while the gear reads as "a tool" (Symbols and icons, inferred).

    A badge for the one status that matters. DESIGN.md asks for "run cards as a secondary card with status badge (Badge)". brand.fill and danger.fill exist in the tokens for this: surfaces under small white text with at least 4.5:1 contrast in both schemes (Color and tokens, Light and dark).

    Only failure changes colour. "Canceled" stays brand coloured because the person chose it. Red is kept for what went wrong (inferred from the tint rule).

    A plan is a checklist. Check marks and empty circles are read without a legend (Honest state: a canceled plan shows exactly how far it got).

Rough edge: "Waiting on 1 sub-sessions." is not singularised.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

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

Unsubscribe anytime

Attributes
name
AgentRunCard
summary
The grey card for one agent run: title, status badge, plan steps, child runs, a wait note, duration and tokens, and the buttons to answer, resume, cancel or open it.