Agent session
One conversation with an agent: a transcript of bubbles, tool rows and run cards that opens at its newest row, over a message composer.

The session screen is the conversation. The person writes a message, watches the reply stream in, sees which tools the agent used and how its run is going, and steps in when the agent stops to ask. Its screen component is AgentSessionScreen. This page covers the frame, the states and the actions. Each kind of row has its place on Session timeline.

At a glance

Tab

Agents

Route

session, path /s/:id

Presentation

Pushed

Title

Inline (aria-level=2): the conversation's title, "Conversation" until it has one

How you get here

A conversation row or "New conversation" on Agent detail; a child link in a tool row or run card; "Earlier conversation"; the parent link of a child session

Where it leads

Another session (child, parent or earlier), the Document screen for hm:// links, the browser for web links

My message on the right on the brand fill, the reply on the left, a tool row ("Read", "Hypermedia Schemas", "hm doc", "Done"), the finished run card with its "Done" badge and "2s · 2.1k tokens", and the focused composer above the keyboard.
Two run cards: one "Done", one "Canceled" with its three plan steps (a check mark for the finished step, circles for the others).
An empty conversation: the "New chat" empty state fills the transcript area and the composer waits at the bottom.

Anatomy

    Navigation bar. Back button, the title, and one trailing action: the refresh symbol (symbol:refresh, accessibility label "Reconnect").

    Transcript. A plain, virtualized list that opens at its end and follows the end as rows arrive. It holds, oldest first: chat messages, AgentToolRow, AgentContextRow and finished AgentRunCard rows in time order; then, always last, my message that is still being sent, the reply being streamed, the runs still in progress, a failure line, and the status line. The full order is on Session timeline.

    Status line (last row while the agent is working): "Thinking…", "Running a tool…" or "Replying…" in -exact-footnote, secondary colour, with a "Stop" button on the right.

    Bottom bar. The Agents composer: a rounded field with the placeholder "Message" and a filled circular send button (symbol:send). In a child session the composer is replaced by one line, "Driven by a parent conversation. Open it to intervene.", which is a button.

    The tab bar stays under the composer and is covered by the keyboard.

States

State

What is shown

Loading

"Loading conversation…" in secondary colour, padded 16

Empty

EmptyState with the messages symbol, title "New chat", message "Say something to start this conversation."

Sending

My text appears at once as a bubble at the end of the transcript; the send button is disabled until the server answers

Send failed

The draft stays in the composer, the bubble goes away, and an AgentError line appears at the end with the reason and "Retry"

Agent working

The reply grows in a left bubble, a live run card is pinned near the end, the status line with "Stop" is last

Waiting on me

A run card labelled "Waiting" with a note and an "Answer" or "Resume" button

Reply failed

A red error row with "Retry reply" when it is the last row and nothing is streaming

Disconnected

The app reconnects by itself, waiting 1 second and doubling up to 10. If run updates drop, the failure line reads "Run updates disconnected. Reconnect to refresh."

Child session

No composer; the parent link takes its place

Actions

Action

Result

Type in the composer

The field grows with the text up to 140 points; the border turns brand colour while focused

Tap send

Sends the trimmed text. The keyboard stays up and focus stays in the field. On success the draft clears and the transcript scrolls to its end

Tap "Stop"

Stops the agent's current turn

Tap "Retry reply"

Asks the agent to answer the last message again, without repeating my message

Tap "Answer" or "Resume" on a run card

Lets a waiting run continue

Tap "Cancel" on a run card

Cancels that run (red, destructive)

Tap a tool row or context row

Expands or collapses its detail

Tap a child row, "Open conversation", "Earlier conversation" or the parent line

Pushes that session

Tap "Open source" in a tool row

Opens the document or web page the tool touched

Tap an hm:// link in a reply

Opens the document in the app

Tap the Reconnect action, or "Retry"

Reconnects and reloads the conversation and its runs

Components used

Component

Kind

What it does here

AgentToolRow

Named

One tool call, expandable

AgentContextRow

Named

Trigger context and structured parts, expandable

AgentRunCard

Named

A run with badge, plan steps, children and actions

AgentChildRow

Named

Child runs, inside the run card

AgentError

Named

The failure line at the end of the transcript

Badge

Platform part

The run's status, inside the run card

EmptyState

Platform part

"New chat"

Chat messages and the streaming reply

Inline part

My bubbles, the agent's bubbles, the streaming and sending bubbles

Agents composer

Inline part

The message field and send button

list and section

Primitive

The plain virtualized transcript

header, footer and nav

Primitive

The navigation bar

button

Primitive

Reconnect, Stop, Retry reply, Earlier conversation, the parent line, send

input, textarea, select and label

Primitive

The composer's textarea

text

Primitive

Bubbles (Markdown), status, system and error lines

image and symbols

Primitive

refresh, send

row, column and view

Primitive

Bubble alignment, the status line, the composer frame

Why it is designed this way

    It follows the platform's chat recipe. The transcript and composer are Exact's chat thread recipe: a plain list that starts at its end, bubbles with an 18 point radius, a pill shaped field, a filled send button that keeps the keyboard up. DESIGN.md names it: "Session: chat-thread recipe". See Composers and How the framework shaped the design.

    Status lives in the transcript, not in a bar. The contract says why: "Runs and status belong in the transcript so they remain reachable with the keyboard open." A banner above the keyboard would steal the little space left, so "Stop", "Cancel" and "Answer" scroll with the content.

    My message appears immediately. The bubble is shown before the server confirms and is removed if the send fails, while the draft is kept. Nothing typed is lost and nothing is shown twice. This is Honest state: the screen never pretends a failed send went through.

    Brand colour means "mine". Only my bubbles, the send button and the badge use the brand; the agent's side stays on system greys (Color and tokens).

    A child session is read only. Its agent is driven by another conversation, so the screen sends the person to the parent instead of offering a composer that would confuse the two (inferred from the string "Open it to intervene").

DESIGN.md says "Streaming: poll task while a run is active". The built screen streams live. DESIGN.md also calls tool rows "compact disclosure rows", which matches. The first screenshots in final/ show an older tool row with centred text; the code and the later agents3/ screenshots are left aligned.

User stories

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

Related

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

Unsubscribe anytime