Automations
Automations let nocturn work while nobody watches: agents run a brief on a schedule, and watches check something and act when it changes.




AskEvery morning at seven, give me a short briefing. (an agent)
when: "0 7 * * *". It runs on its own; whatever asks becomes a draft for you. AskTell me when the status page of my provider changes.
AskRun the weekly review now.
What it gives you
- Agents as files. An agent is
agents/<name>/agent.md: a brief, a schedule and the tools it asks for. You write it; nobody can add one from a chat. - Nothing until you accept. An agent starts with every tool off. Its request shows in Permissions until you grant it.
- Drafts instead of waiting. A scheduled run that hits an ask parks the call as a draft and goes on.
- Watches without a model. A watch is a read-only tool call on a schedule, a condition, and an action: notify you, or create or update a work item.
- Every run kept. The last 50 runs of each agent are listed and open as read-only chats.
How it works
Write an agent
---
description: A short briefing every morning.
tools: [http_read, knowledge_search, notify]
when: "0 7 * * *"
effort: low
---
Every morning at seven, put together a short briefing.
1. Check the knowledge folder for anything dated in the next two days.
2. Send the result with notify, as one paragraph.Then nocturn reload, and grant what it asks for (Allow a tool for an agent).
| Field | Meaning |
|---|---|
description | one line, shown in the app |
tools | the tools it asks for; a request, not a grant |
when | a five-field cron: minute, hour, day of month, month, day of week (0–7); *, numbers, ranges, steps, lists |
model | a preset name from models.json |
effort | low, medium or high |
budget | how long a run may take, a Go duration; 2m by default |
park | true: every ask becomes a draft; false: never, the run waits; unset: drafts when scheduled |
The folder's name is the agent's name. when follows the daemon's local time. A firing missed by up to 15 minutes (the machine slept) still runs; an older one is skipped. Day of month and day of week must both match.
Run and watch
Automations lists each agent with its schedule in words and its state: OK, WAITING, IDLE, RUNNING or FAILED. On an agent's page, Run now starts a run (Run it to confirm); Watch opens it live, Stop ends it. Runs opens a finished run as a read-only chat. In the terminal, /fire <name> [task].
Watches
The assistant makes a watch with watch_create when you ask it to keep an eye on something:
| Part | Choices |
|---|---|
| source | one call of a read-only tool, such as http_read |
| refresh | every so often (at least a minute, optionally only in a window of hours and days), or before a time |
| when | the answer changed, crossed a threshold, or a condition holds |
| then | notify you, make a work item, update its item, or add to its item's history |
A new watch waits for you: the Inbox shows Watch to accept under Needs an answer, and the sheet asks Let <title> make this call? with When and Then. Hold Hold to accept, or Reject. Once accepted it runs as its own holder and may call only what you accepted. A watch that follows a work item shows under that item's Watches.
Per workspace: at most 24 watches and 600 calls an hour; a failing watch backs off up to six hours.
Related
- Review a draft
- Work items
- Widgets: the same engine, drawn on Home