The agents on a team at a glance: a face, a status, what each did and spent, an autonomy switch, and the agents on trial in their own group with their limits and a spend meter.
On this page
- The agents on a team
- Autonomy on or off
- Agents on trial with limits
- Spend per agent
- A phone header with the team
Examples
As a strip
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- bots
TeamBot[]- id, name, hue (any CSS colour), and optionally line, status (working, idle, at-cap, needs-you, paused), spend and trial (day, days, cap, access).
- autonomy / defaultAutonomy
boolean- The autonomy switch, controlled or kept by the block. With neither, no switch.
- onAutonomyChange
(on) => void- Every switch.
- autonomyNote
ReactNode- Default
what autonomy means - The line under Autonomy on.
- showAutonomy
boolean- Default
true - false hides the Autonomy row, for a page that shows the switch elsewhere. The row has data-slot="autonomy" to hide it at some widths only (the template does below 60rem, where the strip has the switch).
- period
string- Default
"" - Appended to the spend total: "overnight", "today".
- formatMoney
(n) => string- Default
US dollars - Money format for spend, caps and the total.
- onBotClick
(bot) => void- Makes each row a button.
- variant
"card"|"strip"- Default
"card" - strip: faces, the autonomy label and the switch on one line.
- BotFace
component- The face on its own: hue and size in px.
| Prop | Type | Default | Description |
|---|---|---|---|
| bots | TeamBot[] | - | id, name, hue (any CSS colour), and optionally line, status (working, idle, at-cap, needs-you, paused), spend and trial (day, days, cap, access). |
| autonomy / defaultAutonomy | boolean | - | The autonomy switch, controlled or kept by the block. With neither, no switch. |
| onAutonomyChange | (on) => void | - | Every switch. |
| autonomyNote | ReactNode | what autonomy means | The line under Autonomy on. |
| showAutonomy | boolean | true | false hides the Autonomy row, for a page that shows the switch elsewhere. The row has data-slot="autonomy" to hide it at some widths only (the template does below 60rem, where the strip has the switch). |
| period | string | "" | Appended to the spend total: "overnight", "today". |
| formatMoney | (n) => string | US dollars | Money format for spend, caps and the total. |
| onBotClick | (bot) => void | - | Makes each row a button. |
| variant | "card" | "strip" | "card" | strip: faces, the autonomy label and the switch on one line. |
| BotFace | component | - | The face on its own: hue and size in px. |
Accessibility
- The roster is a labelled region; the trial group is its own labelled region with a heading.
- Faces are decorative; every agent is named in text, and the strip lists the names for screen readers.
- Each trial meter is a meter with its value in words ("$0.41 of $2.00").
- The autonomy switch is the Switch: role switch, named Autonomy, Space toggles it.
What it handles
- 01Gives every agent the same kind of face (the Agent Avatar's silhouette in its own hue), a status, one line of what it did and what it spent.
- 02Sums the team's spend to the cent in the header (5 bots · $1.37 overnight).
- 03Keeps agents on trial in their own dashed group with the day of the trial and a meter of spend against the cap, and one line for the limits they share.
- 04Has an autonomy switch, controlled or kept by the block, and says what autonomy means in one line.
- 05Folds into a one-line strip (faces, the label, the switch) for the top of a phone screen.
States
- First render
- Faces, rows and meters as they are
- none
- Switch autonomy
- The switch slides and the line under it changes
- 120ms
- Trial spend changes
- The meter fills to the new value
- 280ms, ease in out
- Reduced motion
- Everything changes at once
- 0ms
| State | What moves | Timing |
|---|---|---|
| First render | Faces, rows and meters as they are | none |
| Switch autonomy | The switch slides and the line under it changes | 120ms |
| Trial spend changes | The meter fills to the new value | 280ms, ease in out |
| Reduced motion | Everything changes at once | 0ms |
Works with
When to use
When to use
- The agents on a team with what each did and spent, and an autonomy switch.
- Agents on trial with their limits: read-only, a spend cap and the day of the trial.
When not to use
- A large fleet with health, history and filters: use Agent Fleet.
- Spend against a plan or credits: use Usage Meter.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Bot Roster to my app and wire it to my own data.
- I need the agents on a team with what each did and spent, and an autonomy switch. Set that up with the Knowns UI Bot Roster.
- Which Bot Roster props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "bot-roster" }) and search_docs({ query: "bot roster" }). Pro props, full examples and source come back once your license key is in the MCP config.