New agent sheet
The sheet that creates an agent: a name, a provider, a model and a system prompt, with Cancel and Create in the bar.

The new agent sheet is a short form. The person names the agent, picks which configured provider and model it runs on, and optionally edits its standing instruction. Its screen component is AgentCreateScreen.

At a glance

Tab

Agents

Route

new-agent, path /agents/new

Presentation

Sheet (navigationPresentation="modal")

Title

Inline "New agent"

How you get here

The add button or "Create an agent" on the Agents list

Where it leads

Agent detail for the new agent; the Providers sheet

No iOS screenshot in the set (files named ios-) shows this sheet. The description below comes from the contract.

Anatomy

    Navigation bar. "Cancel" leading, the title "New agent", "Create" trailing.

    A notice section, only when no provider is configured. The sentence "Configure a model provider first — an agent needs one to run." in secondary colour and a row "Model providers".

    Section "Name". One text field, placeholder "Agent name".

    Section "Provider". One radio row per configured provider: the provider's name, and a brand coloured check mark (symbol:checkmark) on the chosen one.

    Section "Model". One radio row per model the chosen provider offers, with the same check mark. If the models cannot be listed, the error appears here in red.

    Section "System prompt". A four line text area, prefilled with "You are a helpful assistant working inside Seed Hypermedia.", and the footer "The standing instruction for every conversation."

    An error section, only after a failed create. The message in -exact-system-red.

States

State

What is shown

Opening

The name is empty, the first provider is chosen, and once its models arrive the server's default model is chosen

No providers

The notice and the "Model providers" row; "Provider" and "Model" are empty; "Create" stays disabled

Models failed

The provider's error in red under "Model"

Incomplete

"Create" is disabled until there is a name, a provider and a model

Creating

"Create" is disabled while the request is in flight

Failed

The error section, for example "Choose a name, provider, and model."

Actions

Action

Result

Tap "Cancel"

Closes the sheet, nothing is created

Tap "Create"

Creates the agent. On success the sheet is replaced by the new agent's Agent detail

Tap a provider

Chooses it, clears the model and loads that provider's models

Tap a model

Chooses it

Tap "Model providers"

Opens the Providers sheet

Type in the fields

Edits the name or the prompt. The prompt text is kept between visits; the name is cleared each time

Components used

Component

Kind

What it does here

Provider and model rows

Inline part

The radio rows under "Provider" and "Model"

list and section

Primitive

The inset grouped form and its sections

header, footer and nav

Primitive

The bar with "Cancel" and "Create", section headers, the prompt's footer

button

Primitive

"Cancel", "Create", the radio rows, "Model providers"

input, textarea, select and label

Primitive

The name input and the prompt textarea

text

Primitive

Labels, the notice, errors

image and symbols

Primitive

The check mark

Why it is designed this way

    A sheet, because it is a task with an end. Creating either finishes or is cancelled, and both return to the Agents tab. That is what a sheet with "Cancel" and a confirming action means on iPhone (Stacks, pushes and sheets, Forms and inputs).

    Choices are visible rows, not menus. Providers and models are short lists the person has set up, so each option is a row with a check mark, the system's single selection list. The rows carry role="radio", so VoiceOver reads them as a choice (Accessibility).

    Sensible defaults. The first provider and the server's default model are chosen for you, so naming the agent is often the only step (inferred from the two setup tasks in the root contract).

    The blocker names its fix. With no provider the sheet says so and links to the place that solves it, the same idea as an empty state that names the next step (Honest state).

    Create lands on the result. The sheet is replaced by the new agent, where "New conversation" is the first action. The person is one tap from talking (inferred).

Note on wording: the notice uses an em dash in the app's string. It is quoted here exactly.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

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

Unsubscribe anytime

Attributes
name
New agent sheet
summary
The sheet that creates an agent: a name, a provider, a model and a system prompt, with Cancel and Create in the bar.