AgentError
The Agents tab's failure line: the error message in red footnote text with a Retry button beside it.

AgentError is a named component that shows one failure and one way out. It draws nothing when there is no message, so screens can place it unconditionally.

Used by

Where

How

Agents list (AgentsScreen)

In its own section when the server is offline or refuses the request

Agent detail (AgentDetailScreen)

In the first section, for a failed read or a failed command such as "New conversation"

Agent session (AgentSessionScreen)

As the failure line near the end of the transcript, for a failed send, stop, cancel or a dropped run stream. See Session timeline

No other component uses it.

Props

Prop

Type

Effect

message

string

The text to show. An empty string renders nothing

retry

action

What "Retry" does. All three screens pass the same action: reconnect and reload everything on the Agents tab

Anatomy

A row with 16 points of padding and an 8 point gap, vertically centred:

    The message: text in -exact-footnote, colour -exact-system-red, taking the remaining width and wrapping.

    A plain button titled "Retry", tinted by the platform.

Type and colour roles are described in Typography and Color and tokens.

Variants and states

There are two states: hidden (no message) and shown. There is no loading variant; while a retry runs the screen shows its own loading line.

Inside an inset grouped list the row sits in a white card. In the transcript it sits directly on the background. No iOS screenshot in the set shows it; the red text of the related turn error row is visible in agents3/verify-ios-final/ios-t20-retrysession-recovers-the.png on Session timeline.

Rules for use

    Use it for failures of the agent server: reads, commands and connections on the Agents tab.

    Give it the server's own message. The messages are sentences, for example "Run updates disconnected. Reconnect to refresh."

    Do not use it for validation in sheets. Form errors on the New agent sheet, Providers sheet and Agent server sheet are a red text row with no button, because the fix is to edit the field.

    Outside the Agents tab use StatusLine, which has the same shape in secondary colour.

Why it looks this way

It is Honest state in its smallest form: say what failed, offer the retry next to it. It differs from the shared StatusLine in colour only: -exact-system-red instead of -exact-secondary-label. Inferred reason: on this tab a failure usually blocks the whole conversation, so it is given the system's error colour, while a failed document load elsewhere is quieter. The two were written by different packages during the build, which also explains why both exist (inferred from the ownership comments in the contracts). See Loading, failure and empty states.

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

Unsubscribe anytime