AI Chat / RunPro
One agent run: an editable plan ticking through its steps, live time and cost, a step that waits for your yes, and the draft with suggestions to accept or reject.
oxyn add chat-runWrite the November member update
RunningMember update · started by Rowan Vale at 7:48 PM
Write the November member update
- Steps
- 1 / 5
- Tool calls
- 3
- Time
- 0:07
- Cost
- $0.05
Plan
5 steps- Pull October salesThe update leads with revenue
ledger.query6.0s - Find last quarter's memoKeep the same headings
files.search1s - 3Draft the member updateOne page, plain words
docs.write - 4Ask before sendingMembers see this
mail.send - 5Book the review callThirty minutes, this week
calendar.add
Activity
1 of 5The 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
- One agent run: its plan ticking through, the apps it uses, live time and cost, and what needs your input.
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 / Run 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-runUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data in the Inset frame.
Write the November member update
RunningMember update · started by Rowan Vale at 7:48 PM
Write the November member update
- Steps
- 1 / 5
- Tool calls
- 3
- Time
- 0:07
- Cost
- $0.05
Plan
5 steps- Pull October salesThe update leads with revenue
ledger.query6.0s - Find last quarter's memoKeep the same headings
files.search1s - 3Draft the member updateOne page, plain words
docs.write - 4Ask before sendingMembers see this
mail.send - 5Book the review callThirty minutes, this week
calendar.add
Activity
1 of 5Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same screen in the Flat frame.
Write the November member update
RunningMember update · started by Rowan Vale at 7:48 PM
Write the November member update
- Steps
- 1 / 5
- Tool calls
- 3
- Time
- 0:07
- Cost
- $0.05
Plan
5 steps- Pull October salesThe update leads with revenue
ledger.query6.0s - Find last quarter's memoKeep the same headings
files.search1s - 3Draft the member updateOne page, plain words
docs.write - 4Ask before sendingMembers see this
mail.send - 5Book the review callThirty minutes, this week
calendar.add
Activity
1 of 5Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data will land.
Write the November member update
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.
Write the November member update
No runs yet
Give an agent a goal; its plan, tool calls and the draft it writes show up here.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Input
The run waiting on a yes: Needs your input asks before it sends.
Write the November member update
RunningMember update · started by Rowan Vale at 7:48 PM
Write the November member update
- Steps
- 1 / 5
- Tool calls
- 3
- Time
- 0:07
- Cost
- $0.05
Plan
5 steps- Pull October salesThe update leads with revenue
ledger.query6.0s - Find last quarter's memoKeep the same headings
files.search1s - 3Draft the member updateOne page, plain words
docs.write - 4Ask before sendingMembers see this
mail.send - 5Book the review callThirty minutes, this week
calendar.add
Activity
1 of 5Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Done
Every step done and the draft reviewed.
Write the November member update
DoneMember update · started by Rowan Vale at 7:48 PM
Write the November member update
- Steps
- 5 / 5
- Tool calls
- 10
- Time
- 1:07
- Cost
- $0.35
Plan
5 steps- Pull October salesThe update leads with revenue
ledger.query6.0s - Find last quarter's memoKeep the same headings
files.search4.0s - Draft the member updateOne page, plain words
docs.write9.0s - Ask before sendingMembers see this
mail.send5.0s - Book the review callThirty minutes, this week
calendar.add3.0s
Activity
5 of 5Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ChatRunScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | `sample`, `loading`, `empty`, `input` or `done`. |
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 |
| Enter on a step | Rename it |
| Alt↑or↓ | Move a step |
| Delete | Remove a step |
| YorN in the draft | Accept or reject the suggestion |
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
ChatRunScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ChatRunElinoxyn_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.