Routines & bot actions Docs menu

Docs

Scheduled AI agents: routines and cron

Bots keep working when you're not there. A routine runs a prompt on a schedule, a follow-up checks back once, and bots can set either up for you, with an Undo on every change.

Not Anthropic's Routines. kwant routines run inside kwant on your own machine or server. They aren't the Routines feature of Anthropic's Claude Code, and kwant isn't affiliated with Anthropic.

Routines

A routine sends a prompt to a bot on a schedule and posts the answer in a channel, the bot's direct chat or a thread. Create one with New routine in a bot's Routines tab or under Settings → This space → Routines, or ask a bot to do it.

Settings, Routines: suggested routines, with none right now, then a Monday metrics digest, a paused competitor price scan whose last run failed and a weekday morning release check, each with Run now, History, Edit and Delete.
ScheduleRuns
OnceAt one date and time
DailyEvery day at a time
WeeklyOn the days you pick
MonthlyOn a day of the month
Every…Every 5 minutes up to every week
CustomA cron rule

Each routine has Run now, a history of its last 200 runs, edit, delete and an on/off switch. Archiving a space pauses its routines.

Follow-ups

A bot can set itself a one-off follow-up, for example to check a deploy in an hour. Only bots create follow-ups.

What a good run is

A routine can carry a Flight School class, a description of a good result and checks. Each run's board task gets them, with the checks already approved, so a run that passes its checks is verified on its own. Only you set the class and the checks. Routines without them run as before.

Suggested routines

kwant can notice tasks you ask for on a rhythm and offer a routine for them. It's on from 0.6.5, under Suggest routines from repeated tasks in Settings → All spaces → Mission board, where you also pick how many new suggestions a day (0–10, 2 by default).

  • What it looks at: the board tasks you made over the last 120 days, asked for daily, on weekdays, weekly on up to three days or monthly, in your time zone. Tasks made by bots, routines, hand-offs or chats never count.
  • What qualifies: habits that were mostly verified, mostly done by one bot and not already covered by a routine.
  • What you see: in Routines, each suggestion's bot, rhythm, first run, the tasks it learned from, what the bot may do when it runs and which checks it keeps. At most 5 wait per space, each with one notification.
  • Accept or Dismiss: Accept opens the routine form so you can edit it first. Dismiss hides the suggestion for 30 days. Nothing is made without Accept. Routines made this way carry a "Suggested for you" badge.
  • Paused? If suggestions are paused (the switch or the board is off, or no time zone is set), the section says why and how to fix it.

Bots that set things up

Ask a bot for a routine, a channel or a new bot and it makes the change itself. Each change shows a card with what was done and an Undo button.

TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button.
  • Bots can create bots, spaces and channels, change settings, and create, update, pause, resume, run or delete routines.
  • At most 10 changes per turn, and only in the bot's own space.
  • Deleting a bot, deleting an account and archiving a space wait until you confirm.
  • Bots can't touch keys or secrets, engines or sign-ins, approval rules, computer mode, or install MCP servers.

Hiring

When a specialist would do a job better, a bot can propose hiring one. The card shows why, what the proposal is based on, and the new bot's model and tools.

TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons.
  • Deny, Accept once or Always accept. You can undo a hire afterwards.
  • A proposal for a whole team has Approve all.
  • A bot can make one proposal per turn, and kwant remembers what you denied.
  • Each space sets its rule: Ask me each time, or Hire at once with at most 3 automatic hires per 24 hours.
Settings, This space, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours.

Inbox: what happened while you were away

Open Inbox from the sidebar (the badge counts what's new) or the Inbox tab on a phone. Its New tab lists what changed since you last marked it seen, or the last 7 days the first time; Loose ends is the second tab (see Loose ends & letters).

  • Waiting on you: questions, approvals and bot work a checker marked Needs you, which you can answer right there.
  • Failed or stuck: failed runs, and handoffs with no reply after 30 minutes.
  • To review: bot work that's ready for your OK, highest risk first, each with its verdict and Approve, Send back or Roll back.
  • Finished: handoffs and routine runs that are done.
The Inbox, with two items waiting on you, a high-risk task and a question with answer buttons, and one task to review.

For a ping when something needs you, turn on Notify me on this device in settings, or add an HTTPS webhook such as ntfy. On a phone, install kwant first (on an iPhone, add it to the Home Screen); notifications then arrive even with the app closed. They go through your browser's push service (Google's or Apple's), encrypted so it can't read them. Webhook messages carry only a title and one line.