Agent doc cursorPro
Watch an agent work on a shared doc the way a coworker would: its labelled pointer marks a paragraph and retypes it, adds a new section and corrects a misspelling while a colleague reads along, and every edit stays highlighted until you keep or revert it.
oxyn add agent-doc-cursorLaunch brief: Tally 2.0
Goal
Ship Tally 2.0 to every workspace by March 12, with offline sync on by default.
Audience
Small finance teams who track spending in spreadsheets today and want something faster that still feels familiar.
Rollout
Offline sync goes to 10% of workspaces first and we watch sync errors for a week. Customers will recieve an email the day it reaches them.
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
- Show an agent editing a shared document as a visible collaborator, so people see exactly what changed and approve it.
When not to use
- Replays a multi-agent run on one clock: use Agent timeline instead.
- One model at a glance: use Model card instead.
- A small automation on a single rail: use AI workflow instead.
Installation
Agent doc cursor 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-doc-cursorUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Editing
A looping run with a teammate reading along.
Launch brief: Tally 2.0
Goal
Ship Tally 2.0 to every workspace by March 12, with offline sync on by default.
Audience
Small finance teams who track spending in spreadsheets today and want something faster that still feels familiar.
Rollout
Offline sync goes to 10% of workspaces first and we watch sync errors for a week. Customers will recieve an email the day it reaches them.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Review
No loop: the changes wait in the review bar.
Launch brief: Tally 2.0
Goal
Ship Tally 2.0 to every workspace by March 12, with offline sync on by default.
Audience
Small finance teams who track spending in spreadsheets today and want something faster that still feels familiar.
Rollout
Offline sync goes to 10% of workspaces first and we watch sync errors for a week. Customers will recieve an email the day it reaches them.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Ask
Idle with an Ask button, no teammate (Oxyn extra).
Launch brief: Tally 2.0
Goal
Ship Tally 2.0 to every workspace by March 12, with offline sync on by default.
Audience
Small finance teams who track spending in spreadsheets today and want something faster that still feels familiar.
Rollout
Offline sync goes to 10% of workspaces first and we watch sync errors for a week. Customers will recieve an email the day it reaches them.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Error
Couldn't reach the agent, with Try again.
Launch brief: Tally 2.0
Goal
Ship Tally 2.0 to every workspace by March 12, with offline sync on by default.
Audience
Small finance teams who track spending in spreadsheets today and want something faster that still feels familiar.
Rollout
Offline sync goes to 10% of workspaces first and we watch sync errors for a week. Customers will recieve an email the day it reaches them.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AgentDocCursor
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
auto_play | bool | true | Start a run on mount (off shows an Ask button). |
looping | bool | true | Replay: accept on its own after a pause, then run again. |
speed | u64 | 100 | Playback speed, percent. |
fail | bool | Default::default() | The agent can't be reached (error scenario). |
teammate | bool | true | Show the teammate's cursor. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Stop or Run again, then Undo and Accept changes |
| EnterorSpace | Press the focused button |
Accessibility
- Each step is announced (reading, the current edit, changes ready, accepted, undone, errors).
- Pointers and highlights are hidden from assistive tech; the brief itself is ordinary headings and text, and unreviewed edits are wrapped in mark.
- Hover or focus inside the card holds a looping run in review so the bar never moves away mid reach.
From the spec
Headings and paragraphs stay real elements; pending text uses mark; cursors are decorative. Every step is announced; status words pair with icons. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
The agent cursor (its mark colour, name tag) travels to each block; a selection fills as it drags; rewritten words stream in tinted; the typo swaps in place. A teammate cursor reads along one paragraph at a time. The review bar rises in when changes are ready.
Timing
Everything on screen is derived from the host clock now (no timers in the component), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Reading | 1000 ms | — |
| Cursor travel | 480 ms | ease-in-out |
| Drag select | 640 ms | linear |
| Word stream | 34 ms per word | linear |
| Loop accept | 3.6 s after review | — |
Reduced motion: loops and travel stop; each state shows its end pose and its words.
Responsive behaviour
- Grows to 680 px; on phones the page margins shrink and the review strip loses its credit line.
- Cursors sit inline with the text they act on, so they wrap with it at any width.
Edge cases (spec)
Cursor tags sit inline with the text they act on, so they wrap with it and never cover a line. Under 480 px the document padding tightens and the review bar drops its by-line. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus the official coloured brand and model marks.
Notes for AI
- Import
AgentDocCursorfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
AiKitViewinoxyn_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.