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 |
|
Presentation | Pushed |
Title | Inline ( |
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 |
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 | 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 |
|---|---|---|
Named | One tool call, expandable | |
Named | Trigger context and structured parts, expandable | |
Named | A run with badge, plan steps, children and actions | |
Named | Child runs, inside the run card | |
Named | The failure line at the end of the transcript | |
Platform part | The run's status, inside the run card | |
Platform part | "New chat" | |
Inline part | My bubbles, the agent's bubbles, the streaming and sending bubbles | |
Inline part | The message field and send button | |
Primitive | The plain virtualized transcript | |
Primitive | The navigation bar | |
Primitive | Reconnect, Stop, Retry reply, Earlier conversation, the parent line, send | |
Primitive | The composer's | |
Primitive | Bubbles (Markdown), status, system and error lines | |
Primitive |
| |
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).
US-AGENT-05 Chat with an agent: The conversation screen: transcript, status line, composer
US-AGENT-06 See what the agent is doing: The screen that holds the timeline and status line
US-AGENT-07 Steer a run: Stop, Retry reply, Answer, Resume and Cancel, and the child session state
US-AGENT-08 Return to earlier conversations: The conversation opened from the list
US-AGENT-09 Stay connected to a live conversation: The Disconnected state, the Reconnect action and the failure line
US-AGENT-10 Open documents and links an agent refers to: The actions that open documents, pages and conversations
Related
Parent: Agents tab screens. Rows in detail: Session timeline. Previous: Agent detail.
Compare with the comment Thread, which uses the same recipe for people.
Patterns: Composers, Cards and panels, Loading, failure and empty states. Accessibility: Accessibility.
Implementation: Agents: screens and components, Agents: chat rows and run cards, Agents: WebSocket streams as resources.
Source: agents.contract lines 470 to 633.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime