Two rows carry the Agents tab's lists. The agent row represents an agent on the agents list. The session row represents one conversation on the agent's screen. They share a layout: a strong first line, a quiet second line and a relative time at the trailing edge.
Kind: inline parts. Neither is a named component in code.
Agent row: written inside AgentsScreen, agents.contract lines 212 to 219.
Session row: written inside AgentDetailScreen, agents.contract lines 276 to 282.
Used by
Row | Where |
|---|---|
Agent row | Agents list ( |
Session row | Agent detail ( |
The agent row uses the shared Avatar.
ios-) shows the agent row.Anatomy
Agent row
Avatar at 28 points, drawn from the agent's name (agents have no picture, so it is always the initial on a green disc).
A column with a 4 point gap:
The agent's name in -exact-headline.
"model · provider" in -exact-footnote, secondary colour, for example "mock-1 · Mock provider".
The last active time in -exact-caption1, secondary colour.
Session row
A column with a 4 point gap:
The conversation's title in -exact-headline. Fallback: "Untitled conversation".
A preview in -exact-footnote, secondary colour, only when there is one: the conversation's description, or "Error" when the conversation ended in an error.
The last active time in -exact-caption1, secondary colour.
Neither row has a chevron. The time takes the trailing edge.
Time wording
Age | Text |
|---|---|
Under a minute | "Just now" |
Under an hour | "4m ago" |
Under a day | "2h ago" |
Older | "3d ago" |
This is different from the Activity row, which shows a clock time and groups by day. Agents work is recent and continuing, so age is more useful than a date (inferred).
Variants and states
Row | Variant | Look |
|---|---|---|
Agent | Only one | As above |
Session | With preview | Two lines |
Session | Without preview | One line, vertically centred |
Session | Errored | Preview reads "Error", in the same secondary colour as any preview |
Related rows that are not these parts: "New conversation" (add symbol and a tinted title) at the top of the conversations, "Load more conversations" at the bottom, and "Create an agent" under the empty agents headline. They are plain button rows, described on their screens.
Rules for use
Headline for the thing's name, footnote for what it is, caption for when.
Use the 28 point avatar for rows, as everywhere outside the Activity inbox (Spacing, radii and sizes).
Never show an agent id, a session id or an account key (Names, not identifiers).
Why it looks this way
The system's subtitle row. Title above, detail below, accessory on the right is a standard list cell, so it needs no styling beyond type roles (Leave it unsaid, Lists, Typography).
An avatar makes an agent a someone. Agents get the same initial disc as people, which places them alongside authors and identities in the app's visual vocabulary (inferred).
DESIGN.md's row, as written. "row = agent name, model, last active" and "sessions (title, preview, time)". The provider was added to the second line.
Rough edges: an errored conversation is not marked in red, and the rows have no chevron although they push a screen. Rows that push a screen elsewhere, such as the server row above them or the Me tab's rows, draw an explicit symbol:forward-chevron; these do not.
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-01 See my agents: Each agent row: initial, name, model and provider, last active time
US-AGENT-08 Return to earlier conversations: Session rows: title, preview, last active time
US-APP-06 See people and spaces by name: An agent shown by name with a disc
Related
Parent: Inline parts. Screens: Agents tab screens.
Similar rows: Identity rows, DocItemRow.
Implementation: Agents: screens and components, Agents: reads, commands and the clock.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime