Automations
Automations
Work that starts without you: the triggers, agent turns versus plain commands, what each run reports, and the heartbeat.
An automation is work that starts on its own: on a date, on a schedule, when a URL is called, when files change, or when a conversation finishes. A durable scheduler in the Silos server (the resident) runs them. A due run stays due while it cannot start, and it survives a restart of the server.
Automations have one page each, /automation/<id>, reached from the rail’s Automations door. The page holds its history, Run now, Pause and Edit. An agent with automations carries a small ⚡ on its sidebar row, terracotta when one failed or waits for approval, blinking while one runs.
Creating one
Open Automations and create a new one. Templates come first, because most automations are one of a few shapes: «Watch a website», «Run a script every night», «Close the month», «Review the deadlines every week», «File what lands in a folder» and «Check the work when a conversation ends». Or fill in the editor yourself: Who runs it, What it runs, When it runs and How it runs. The editor’s When it runs sets a date or a schedule; the file, conversation and watch triggers come from the templates, and a webhook from the API (below). Automations can be exported and imported as template files; a webhook automation cannot be saved as a template, because its secret is its authentication.
Triggers
| Trigger | Said on screen as | Notes |
|---|---|---|
| Once | «once on 2026-12-01 at 09:00» | one run |
| Schedule | «every 3 hours from 08:22 · 08:00–20:00» | minutes, hours, days or weeks, optionally between two hours; or «or a cron expression ›» |
| Webhook | «when its webhook is called» | see below |
| File changes | «when files matching *.pdf change in invoices» | a folder and a glob; a batch of changes is one run |
| A conversation finishes | «when a conversation finishes» | optionally one agent’s; also «when a conversation needs you» |
| Watch | «checked every 5min with …, when its output changes» | polls a URL, path or command; runs when the result changes, exits non-zero or zero, or matches |
Webhooks. There is no screen for creating a webhook automation yet: you create it through the API, with POST /api/automations and your token, giving a trigger of {"kind": "webhook"} alongside its name, agentId and prompt. Silos generates the secret and returns it once in that response, as generatedSecret; reading the automation back with your token shows it again, and an agent’s token never sees it. POST /api/hooks/<automation id> with the header x-hook-secret: <secret> starts a run (202); a missing or wrong secret gets 401, and a paused automation 409. The request body reaches the run fenced off as untrusted data, so the agent inspects it and does not obey it.
curl -X POST https://silos.example.com/api/hooks/<automation-id> \
-H "x-hook-secret: $HOOK_SECRET" \
-H 'content-type: application/json' \
-d '{"event":"deploy.finished"}'
What it runs: an agent turn or a command
An agent turn sends your text («What the agent should do») to the agent word for word at the start of every run. You choose:
- «Start a new conversation each run» (each run starts fresh, and its conversation sits under the automation) or «Keep one conversation across runs» (every run continues where the last one left off);
- what its runs run on (account and model), or the agent’s default;
- «If a usage limit hits, wait and retry when it resets», on by default. Off, the run ends there, marked failed.
Runs start with the agent’s folder skills loaded and hooks off.
A command runs exactly as written, without a shell and without Claude: no tokens and no usage limits. Quotes keep spaces together, and $SILOS_AGENT_STATE is the only variable filled in. It runs in the agent’s folder unless you name another. «Stop it after N min» (10 by default, at most 60) ends a command that hangs, and the run counts as failed. If it fails, you choose:
- Tell me: a non-zero exit or a timeout shows up in Needs you, with its last line.
- Hand it to
: the agent gets your text, the exit code and the last 40 lines of the log. This is the only time the automation spends a turn.
Only you can create or edit a command automation. The territory fence lives inside the engine and does not reach a command Silos executes directly.
Limits on every automation
- «Ask me before each run»: each run waits on Home until you approve or skip it.
- «At most N runs a day»: a ceiling so a loop cannot run away, 24 unless the schedule needs more. Skipped runs do not count.
What a run reports
Every run ends with a status, and an agent turn also gives a one-line outcome of its own. Silos asks the agent to finish with OUTCOME: nothing or OUTCOME: acted and a sentence.
| Shown as | Meaning |
|---|---|
| acted | finished, and the agent did something |
| no news | finished, with nothing to do |
| ok | finished, with no outcome line (a command that exited 0) |
| failed | said in plain words, such as «retries at HH:MM» after a usage limit |
| skipped | did not run, with the reason |
A run can also be «needs approval», «queued», «running» or «waiting · resumes». The history folds routine runs: «12 runs with no news» is one quiet row, so a failure stands out. A finished run carries its conversation. Failed runs reach Needs you; a timeout, or a usage limit on a scheduled automation, reaches it only on the second failure in a row, and a run cut by a Silos restart does not on its own.
The heartbeat
An agent set to «On its own» has a heartbeat, the rhythm at which it looks at what arrived. It appears in Automations as «
Automations agents propose
An agent cannot quietly schedule itself: Claude Code’s recurring or durable native cron is refused, with the recipe to propose a Silos automation instead. The proposal waits on Home for you to accept. A proposed command always opens in the editor for you to review.