developers · build · shipped
playbook-local-automation
The honest version first
People come to this page from n8n: draw a graph of steps, run it by name, see it run on a
schedule. That runner does not exist here. There is no adk playbook run, no named
playbook you can execute from the terminal, and no visual builder. A named, reusable graph
of steps is the gap.
What does exist is three primitives that carry real automation today, all of them local:
| Primitive | Runs | State |
|---|---|---|
adk jobs | one task, now, foreground or detached | shipped |
adk cron | a schedule, stored; requires the BUILDER tier, and execution needs a binding in code | partial |
adk agent | a repeating loop against a harness daemon | shipped |
This page documents them as they behave, including the sharp edges. A workflow tool that overstates its own coverage costs more than one that names its gap.
Jobs: one task, right now
adk jobs run "summarise the unread issues in this repo" --agent aither
adk jobs start "audit every Dockerfile for a missing USER line"
adk jobs list
adk jobs status <id>
run blocks in the foreground; start detaches and returns an id. The job store is local
(~/.aither/jobs.db), so nothing leaves the machine. Once a job is running:
adk jobs steer <id> "also check the compose files"
adk jobs hint <id> "the answer is in the second directory"
adk jobs cancel <id>
steer is a visible follow-up turn. hint is an invisible note on the hosted expedition
lane; the local runner does not read the hint flag, so a local adk jobs hint reaches the
agent as a follow-up exactly like a steer. Use hint only when the job runs remotely.
Cron: a schedule, and the binding it needs
adk cron is a paid capability. The scheduler is gated to the BUILDER tier, so on a free
install adk cron add stops with a licence error rather than storing anything. The free
path is a job plus your operating system's own scheduler: adk jobs start "<task>" from
Windows Task Scheduler, a systemd timer, or the host cron. That composition uses
primitives you already have and needs no tier.
adk cron add "0 9 * * *" "morning digest"
adk cron list
adk cron remove "morning digest"
Read the note that add prints: the terminal registers a placeholder -- a name, an
expression, and no function to call. cron list will show the row, and the row will not
fire, because the scheduler has nothing bound to it. Binding is a line of Python in a
program you run:
from adk.cron import CronScheduler
sched = CronScheduler()
sched.add("0 9 * * *", task=lambda: my_digest(), name="morning digest")
So: the schedule is real, the expression parser is real (five-field cron, ranges, steps, comma lists), and the process that owns the scheduler has to be running. A job added from the terminal is a reminder, not a worker. That is the whole of the "partial" above.
Agent loops: a repeating prompt
adk agent run watch --interval 30 --foreground
adk agent list
adk agent status watch
adk agent stop watch
A host-tier loop asks the harness daemon (127.0.0.1:8362 by default) on an interval and
acts on what it finds. It needs that daemon reachable; --daemon-url and --token point it
elsewhere. Detached is the default -- --foreground is for watching a loop while you tune
the interval.
A chain that works today
Nightly-ish, without pretending cron is a worker: keep a small Python program that owns a scheduler, binds one task, and runs as a service. The task shells out to a job:
adk jobs run "review yesterday's commits and write a summary to notes/digest.md"
That is the honest composition: a scheduler you host, binding our job engine, with the model served locally by the local-model playbook. It is more steps than a node graph, and it is true.
What we are not doing
- No visual workflow builder, and no claim to be n8n. n8n is fair-code under its Sustainable Use Licence -- self-hostable, with restrictions -- and is a different tool for a different job.
- No cloud scheduler in the default path. The job store is local and stays local.
- No "AI decides the next step by itself" mode. Every step above is a command you can read.
When a named playbook runner ships, this page changes with it -- and the day it ships is the
day adk playbook run stops being a missing verb.
Licences
awdk and AitherOS are BUSL-1.1: self-hostable, not open source. The primitives above run against a model you serve yourself; the local-model playbook names the backend licences.