AI Chat / AgentsPro
A chat with the orchestrator and the crew at work, beside a brief – angle, audience, channels, palette and formats – that turns into ads.
oxyn add chat-agentsAds for the overshirt
Lead with how it feels
I'll pull your top seller first, then line up the ad frames.
Worked for 3m 38s
Your top seller is the Field Overshirt. It's the one product in so far while the shop keeps importing, so read that ranking as early.
Before the ads go out I need one call I can't make for you, because it shapes every headline: which angle should lead?
Agents working
Launch lead: Keeps the brief and the budget in step · done
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
- A chat with the orchestrator and its crew at work, beside the brief they are filling in.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
AI Chat / Agents 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 chat-agentsUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data in the Inset frame.
Ads for the overshirt
Lead with how it feels
I'll pull your top seller first, then line up the ad frames.
Worked for 3m 38s
Your top seller is the Field Overshirt. It's the one product in so far while the shop keeps importing, so read that ranking as early.
Before the ads go out I need one call I can't make for you, because it shapes every headline: which angle should lead?
Agents working
Launch lead: Keeps the brief and the budget in step · done
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same screen in the Flat frame.
Ads for the overshirt
Lead with how it feels
I'll pull your top seller first, then line up the ad frames.
Worked for 3m 38s
Your top seller is the Field Overshirt. It's the one product in so far while the shop keeps importing, so read that ranking as early.
Before the ads go out I need one call I can't make for you, because it shapes every headline: which angle should lead?
Agents working
Launch lead: Keeps the brief and the budget in step · done
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data will land.
Ads for the overshirt
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
Nothing yet: each region says what will appear.
Ads for the overshirt
Start with a goal
Say what you want made; the orchestrator brings in the agents it needs.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Making
The brief turning into ads, one at a time.
Ads for the overshirt
Lead with how it feels
I'll pull your top seller first, then line up the ad frames.
Worked for 3m 38s
Your top seller is the Field Overshirt. It's the one product in so far while the shop keeps importing, so read that ranking as early.
Before the ads go out I need one call I can't make for you, because it shapes every headline: which angle should lead?
Agents working
Launch lead: Keeps the brief and the budget in step · done
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ChatAgentsScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | `sample`, `loading`, `empty` or `making`. |
height | u32 | 640 | Height px. |
nowrequired | ClockMs | — | The clock. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Sidebar, page, then the work area |
| ←or→ on a hairline | Resize the sidebar or work area |
| Escape | Close an open menu; clear search |
| EnterorSpace on an agent | Show what it is doing |
Accessibility
- The sidebar is a labelled nav; the open chat has aria-current and unread chats say so.
- Menus open from a trigger that reports aria-expanded; their items are menuitemradio and Escape shuts them.
- Hairlines are separators with a value and arrow keys; skeletons are hidden from screen readers.
Responsive behaviour
- Under 860 px of width the work area becomes a sheet opened from the top bar.
- Under 640 px the sidebar slides in from the menu button and the composer drops its labels.
Edge cases (spec)
Every screen is authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/<slug>/full) renders at the real viewport with the state bar under it (R2). Under 860 px of real width the work area becomes a sheet opened from the top bar; under 640 px the sidebar slides in from a menu button and the composer's approval and model chips drop their labels (icons stay). Every label in a row, chip or card title ellipsises in a flex child with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
ChatAgentsScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ChatAgentsElinoxyn_gpui. - Props to set first:
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.