Agent routinesPro
Agents on a timer, listed like plain sentences: when each fires and how long until the next time, which apps it reads, which channel gets the result and which model writes it, plus a strip of recent outcomes. Trigger one early or expand it to change how often it runs.
oxyn add agent-routinesRoutines
Timed agents and where their results land.
Weekdays at 09:00· Next in 1m 20sLast run succeeded
Reads Linear and GitHub, posts to #eng-standup, runs on Claude Sonnet 4.5Every hour at :15· Next in 16m 20sLast run succeeded
Reads Sentry and GitHub, posts to #oncall, runs on GPT-5Every Fri at 16:00· Next Fri 16:00Last run succeeded
Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1Every day at 07:30· PausedLast run skipped
Reads Google Calendar and Notion, posts to Direct message, runs on Gemini 2.5 Pro
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
- Scheduled agents in one card, each read as a sentence: when it runs, what it reads, where it posts, which model, and how its last runs went.
When not to use
- Sit in on a crew of agents mid-run: use Live Session instead.
- One overview for a whole fleet: use Fleet overview instead.
- The fleet overview laid out against time: use Fleet timeline instead.
Installation
Agent routines 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-routinesUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
List
Four timers; the morning digest fires about a minute in.
Routines
Timed agents and where their results land.
Weekdays at 09:00· Next in 1m 20sLast run succeeded
Reads Linear and GitHub, posts to #eng-standup, runs on Claude Sonnet 4.5Every hour at :15· Next in 16m 20sLast run succeeded
Reads Sentry and GitHub, posts to #oncall, runs on GPT-5Every Fri at 16:00· Next Fri 16:00Last run succeeded
Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1Every day at 07:30· PausedLast run skipped
Reads Google Calendar and Notion, posts to Direct message, runs on Gemini 2.5 Pro
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Open
The first routine open with its report (Oxyn extra).
Routines
Timed agents and where their results land.
Weekdays at 09:00· Next in 1m 20sLast run succeeded
Reads Linear and GitHub, posts to #eng-standup, runs on Claude Sonnet 4.5Latest report
- Checkout: 3 PRs merged, 1 waiting on review
- Blocked: the billing migration waits on a schema review
- Shipped: dark mode for the dashboard
Instruction
Summarise what changed in Linear and GitHub since yesterday, grouped by project, with blockers first.
RunsEvery hour at :15· Next in 16m 20sLast run succeeded
Reads Sentry and GitHub, posts to #oncall, runs on GPT-5Every Fri at 16:00· Next Fri 16:00Last run succeeded
Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1Every day at 07:30· PausedLast run skipped
Reads Google Calendar and Notion, posts to Direct message, runs on Gemini 2.5 Pro
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Failing
Run Error triage now to see it fail (Oxyn extra).
Routines
Timed agents and where their results land.
Weekdays at 09:00· Next in 1m 20sLast run succeeded
Reads Linear and GitHub, posts to #eng-standup, runs on Claude Sonnet 4.5Every hour at :15· Next in 16m 20sLast run succeeded
Reads Sentry and GitHub, posts to #oncall, runs on GPT-5Every Fri at 16:00· Next Fri 16:00Last run succeeded
Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1Every day at 07:30· PausedLast run skipped
Reads Google Calendar and Notion, posts to Direct message, runs on Gemini 2.5 Pro
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AgentRoutines
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
fail | bool | Default::default() | The next manual run of Error triage fails (error scenario). |
open | Option<usize> | Default::default() | Open this row at the start. |
ticks | bool | true | Show the run ticks. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | New routine, then name, run button and on/off for each row |
| ↑or↓orHomeorEnd | Jump from row to row |
| EnterorSpace | Expand a row; on the run button, start or stop |
| ←or→ | Inside an expanded row, cycle how often it fires |
Accessibility
- Names toggle their row; the app logos are summarised in a single spoken line per routine.
- The outcome strip is one group that reads its totals; each mark carries a word too.
- An active run is a progressbar naming its current step; the result is read out.
From the spec
Names are buttons with aria-expanded and roving arrow keys; marks are replaced by one sentence per row; the tick strip is one group named with its counts; a running routine is a progressbar whose value text names the step. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
The countdown ticks every second; a run fills its line in the routine's series colour and slides a new tick into the strip. Run now shows on hover or focus.
Timing
Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Step | 1100 ms | linear |
| Preview clock | Monday 08:58:40 at start | — |
Reduced motion: shimmer, pulses and slides stop; every state keeps its words and icons.
Responsive behaviour
- Max 680 px; under 540 px the latest outcome moves out of the schedule line and under 420 px the run button shrinks to an icon.
Edge cases (spec)
Up to 680 px; rows keep three lines; below 540 px the last run leaves line two; below 420 px Run now becomes an icon button and the marks slot narrows. Layout follows the block's own width (container queries), never the viewport. 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 data series and the official coloured brand and model marks.
Notes for AI
- Import
AgentRoutinesfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
BlocksViewinoxyn_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.