Skip to content
Back

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-routines

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.5
  • Every hour at :15· Next in 16m 20sLast run succeeded

    Reads Sentry and GitHub, posts to #oncall, runs on GPT-5
  • Every Fri at 16:00· Next Fri 16:00Last run succeeded

    Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1
  • Every day at 07:30· PausedLast run skipped

    Reads Google Calendar and Notion, posts to Direct message, runs on Gemini 2.5 Pro
The code is part of Oxyn 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.

Get Pro

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

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.

Terminal
oxyn add agent-routines

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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.5
  • Every hour at :15· Next in 16m 20sLast run succeeded

    Reads Sentry and GitHub, posts to #oncall, runs on GPT-5
  • Every Fri at 16:00· Next Fri 16:00Last run succeeded

    Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1
  • Every 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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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.5

    Latest 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.

    Runs
  • Every hour at :15· Next in 16m 20sLast run succeeded

    Reads Sentry and GitHub, posts to #oncall, runs on GPT-5
  • Every Fri at 16:00· Next Fri 16:00Last run succeeded

    Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1
  • Every 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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

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.5
  • Every hour at :15· Next in 16m 20sLast run succeeded

    Reads Sentry and GitHub, posts to #oncall, runs on GPT-5
  • Every Fri at 16:00· Next Fri 16:00Last run succeeded

    Reads Linear and Notion, posts to Direct message, runs on Claude Opus 4.1
  • Every 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 code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

AgentRoutines

PropTypeDefaultDescription
nowrequiredClockMs—Host clock.
failboolDefault::default()The next manual run of Error triage fails (error scenario).
openOption<usize>Default::default()Open this row at the start.
ticksbooltrueShow the run ticks.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabNew routine, then name, run button and on/off for each row
↑or↓orHomeorEndJump from row to row
EnterorSpaceExpand 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.

TransitionDurationEasing
Step1100 mslinear
Preview clockMonday 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 AgentRoutines from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: BlocksView in oxyn_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.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI