As an agent user, I want to see the agents my identity has on my agent server, and whether the server is answering, so that I can pick one to talk to or know what to set up first.
Situation
I have Seed on my phone. I may not have an identity or an agent yet. I want one place that shows where my agents live and which ones I have.
What I do
Tap the Agents tab.
Read the first card to see which agent server I am using and whether it is answering.
Look under "Your agents" and tap the agent I want.
Pull the list down when I want it checked again.
What I should see
The screen is the Agents list with the large title "Agents" and an add button in the bar.
A section "Agent server" shows the server address with a status line under it. Out of the box the address is https://agentic.seed.hyper.media.
The status line reads "Connecting…" while the app is asking, then "Online" when the server answered.
Under the server there is a row "Model providers".
A section "Your agents" lists each agent with a round initial, its name, a line "model · provider", and when it was last active ("Just now", "4m ago", "2h ago", "3d ago").
Before the first answer arrives the list shows "Loading agents…".
With no agents I see "No agents yet", the sentence "Configure a model provider, then create an agent to start a conversation." and a row "Create an agent".
With no identity chosen the status line reads "Choose an identity to connect", the add button and "Model providers" are dimmed, and I see "Choose an identity" with "Agent servers accept signed requests. Choose or create an identity in Me to start a conversation." and a row "Open Me".
Tapping "Open Me" takes me to the Me tab.
The agents shown belong to the identity I am currently using. After I switch identities in Me, the list is that identity's.
Tapping an agent opens its detail screen.
When something goes wrong
If the server cannot be reached or refuses me, the status line reads "Offline" and a red line gives the reason, for example "Agent server health failed: HTTP 503", with "Retry" beside it. I tap "Retry" or pull down to ask again. If the address is wrong I tap the server row and correct it.
Not included
I cannot rename, edit or delete an agent on the phone (current limits).
Only one agent server is shown at a time. There is no list of several servers.
An identity whose key is not on this phone cannot be used with agents (current limits).
Trace
Story US-AGENT-01, status Shipped. These links are kept in step with the traceability matrix and with the "User stories" section of every page listed here.
Design
Page | Part it plays |
|---|---|
The screen: server card, providers entry and the list of agents | |
The Agents tab and how its screens connect | |
Each agent row: initial, name, model and provider, last active time | |
The round initial drawn from the agent's name | |
The red failure line with Retry when the server is offline or refuses | |
The server status line: Connecting, Online, Offline, Choose an identity to connect | |
Loading, failure and empty states as rows inside the grouped list | |
The states of the Agents list, one by one | |
The inset grouped list and pull to refresh | |
Pull to refresh and the minute refresh | |
Agents as one of the four tabs | |
The Open Me shortcut from the no identity state | |
Large title and the add action | |
Why the server and its health come first | |
Agents shown by name, never by id | |
The exact wording of the empty and no identity states |
Implementation
Page | Part it plays |
|---|---|
The package behind the Agents tab | |
AgentsScreen and its states | |
agentsOverview: health check, ListAgents, ListModelProviders, relative times | |
Signed request envelope and the health endpoint | |
The server, its health route and the ListAgents action | |
agentServer, agentsAccount, agentsData, agentsReady and the agentsHealth task | |
The agents tab route and its children | |
The owner stamp that keeps a stale reply from another identity off screen | |
The signer for the current identity | |
Network grants that allow reaching the agent server | |
The UI tests that open the tab and the list | |
The scripted server the UI tests list agents from | |
Unit tests for the envelope and the signer path | |
No agent editing or deletion; signing only as the account itself |
Code
File | What |
|---|---|
AgentsScreen | |
AgentError | |
AgentListRow, AgentProvider, AgentsOverview shapes | |
agents tab routes | |
pkg:agents declarations (agentServer, agentsAccount, agentsData, agentsHealth) | |
agentsNavigate | |
agentsRefreshReads, agentsRefreshList, agentsRefresh | |
AgentsScreen wiring | |
agentsOverview | |
signer: the current identity's key or 'Choose an identity in Me to use agents.' | |
request: signed CBOR POST and error mapping | |
relativeTime |
Tests
File | What it checks |
|---|---|
the four tabs are there and each opens | |
agents list, configuration, providers and validated creation | |
agents protocol: matches the RN signed envelope byte for byte | |
the merged identity store signs agent commands through the production signer path | |
a non-CBOR error response reports its HTTP status |
Delivery
Delivered by #1470.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime