The agents list is the root of the Agents tab. The person checks that their agent server is reachable, picks an agent to talk to, or starts setting one up. Its screen component is AgentsScreen.
At a glance
Tab | Agents (The four tabs) |
Route |
|
Presentation | Tab root |
Title | Large title "Agents" ( |
How you get here | The Agents tab; back from Agent detail |
Where it leads | Agent detail, New agent sheet, Providers sheet, Agent server sheet, the Me tab |
No iOS screenshot in the set (files named ios-) shows the list with agents in it. With agents, the second card is a section headed "Your agents" with one row per agent.
Anatomy
Top to bottom:
Navigation bar. Large title "Agents". One trailing action: the add symbol (symbol:add, accessibility label "New agent"). See Navigation bars and their actions.
Section "Agent server" (an inset grouped list section with a header):
The server row: the server URL in -exact-subheadline, wrapping if long, and under it a status line in -exact-footnote, secondary colour. A trailing chevron (symbol:forward-chevron). The default server is https://agentic.seed.hyper.media.
The row "Model providers" with a trailing chevron.
The tab bar stays visible under the list.
States
State | What is shown |
|---|---|
No identity | Status line "Choose an identity to connect". "Model providers" and the add button are disabled. A section with the headline "Choose an identity", the sentence "Agent servers accept signed requests. Choose or create an identity in Me to start a conversation." and a row "Open Me" with the person symbol. |
Connecting | Status line "Connecting…". Before the first answer, a section with the line "Loading agents…". |
Online | Status line "Online", then "Your agents". |
Offline or refused | Status line "Offline", and a section holding an AgentError: the server's message in red with "Retry". |
No agents yet | Under "Your agents": headline "No agents yet", the sentence "Configure a model provider, then create an agent to start a conversation.", then a row "Create an agent" with the add symbol. |
The empty and no identity states are rows inside the grouped list, not a whole screen EmptyState, because the server section is still on screen. This is the rule in Loading, failure and empty states.
Actions
Action | Result |
|---|---|
Tap the add button, or "Create an agent" | Opens the New agent sheet |
Tap the server row | Opens the Agent server sheet |
Tap "Model providers" | Opens the Providers sheet |
Tap an agent | Pushes Agent detail |
Tap "Open Me" | Switches to the Me tab |
Pull down | Refreshes the server status and the list (Refresh, haptics and progress) |
Tap "Retry" | Same refresh |
The status is also re-read once a minute while the tab is open.
Components used
Component | Kind | What it does here |
|---|---|---|
Named | The 28 point disc with the agent's initial | |
Named | The failure line with "Retry" | |
Inline part | Each agent row | |
Primitive | The inset grouped list, its sections and pull to refresh | |
Primitive | The navigation bar and the section headers | |
Primitive | The add action and every tappable row | |
Primitive | Titles, status and helper sentences | |
Primitive |
| |
Primitive | The two line stacks inside rows |
Why it is designed this way
The server comes first. Every agent lives on a server and nothing works until it answers, so its address and health sit at the top where a failure is seen at once. This is Honest state applied to a connection (inferred from the layout and the status strings).
Setup is one tap away, in sheets. Providers, the server and a new agent are short tasks that return here, so they are sheets, not pushes (Stacks, pushes and sheets).
Names, not ids. Agents are shown by name with an initial disc. No agent id or account key appears (Names, not identifiers).
The platform draws the list. The contract only says listStyle="inset-grouped"; cards, separators and the large title are UIKit's (Leave it unsaid).
DESIGN.md describes "one section per server" and an empty state "Add an agent server". The built app has a single server with a default, so the empty state talks about providers and agents instead.
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: The screen: server card, providers entry and the list of agents
US-AGENT-02 Choose my agent server: The server row that opens the sheet and shows the result
US-AGENT-03 Set up a model provider: The Model providers row that opens the sheet
US-AGENT-04 Create an agent: The add button and Create an agent row that open the sheet
US-AGENT-08 Return to earlier conversations: Where the agent is chosen
US-AGENT-09 Stay connected to a live conversation: The server status line and pull to refresh
US-APP-02 Move around the app without losing my place: Agents tab root; Open Me shortcut
US-APP-05 Always know what is happening: Choose an identity, loading and no agents yet
Related
Parent: Agents tab screens. Next: Agent detail.
Patterns: Lists, Buttons and actions. Wording: Voice and wording.
Implementation: Agents: screens and components, Agents: reads, commands and the clock.
Source: agents.contract lines 154 to 227.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime