Agent FleetPro
Several agents side by side: each card sums up its sub-agents (running, need you, done, failed) and its branch cost; a click opens its tree to the right while the last one folds back.
oxyn add agent-fleetFleet
3 agents$1.23Tree
1 running · 1 need you · 3 done$1.08“Unlimited seats” conflicts with the Team plan limit of 50. Keep it?
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Several main agents side by side: each card sums up its sub-agents (running, need you, done, failed) and its branch cost; a click opens that agent's tree to the right while the previous one folds back into its card; a second click folds it.
- The header shows the whole fleet's cost.
When not to use
- An agent asks before it acts: use Approval Card instead.
- Several open requests in one card: use Approval pager instead.
- An agent's question in its own card above the composer: use Decision Card instead.
Installation
Agent Fleet is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add agent-fleetUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Open
Lead's tree open.
Fleet
3 agents$1.23Tree
1 running · 1 need you · 3 done$1.08“Unlimited seats” conflicts with the Team plan limit of 50. Keep it?
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Support
Support open.
Fleet
3 agents$1.23Tree
1 running · 0 need you · 1 done$0.12Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Folded
All folded.
Fleet
3 agents$1.23Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AgentFleet
| Prop | Type | Default | Description |
|---|---|---|---|
agentsrequired | Vec<CrewAgent> | — | Main agents. |
nowrequired | ClockMs | — | Shared clock. |
open | Option<String> | Default::default() | Open agent id. |
on_open | EventHandler<Option<String>> | — | Open / fold an agent. |
on_resolve | EventHandler<(String, Resolve)> | — | Answer for a sub-agent. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| EnterorSpace | Open or fold an agent's tree |
Accessibility
- Agent cards are toggle buttons (aria-pressed).
From the spec
- Cards are toggle buttons with aria-pressed.
Motion & interaction
Timing
- Reduced motion: no entrance rise, no shimmer (static muted text), rings and bars jump to their value.
Responsive behaviour
- Cards stack above the tree below 560 px (container query).
Edge cases (spec)
- Cards stack above the tree below 560 px (container query).
Notes for AI
- Import
AgentFleetfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
FleetElinoxyn_gpui. - Props to set first:
agents,now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.