AI and developer tools
ax: a control plane for background Claude Code agents
A daemon and web console I built to schedule, run and supervise Claude Code agents doing real work in the background.
- 960+commits since September 2026
The problem
I wanted agents doing longer jobs without me sitting there: overnight bug runs, code reviews, research, drafting. A terminal session doesn’t schedule itself, and when nobody is watching, nobody catches the run that went sideways or the result that needs a decision.
What I built
- A daemon that schedules one-off and recurring jobs, launches each agent, supervises it and records how the run went
- A journaled store for plans, runs and a queue of finished work that’s waiting on a human, kept as Markdown on disk that agents can read but only write through the CLI
- One CLI,
ax, that agents and I both use, and a local web console that shows what’s running and what needs me - Playbooks for unattended work, like an analytics run that looks for open questions a number would answer and writes one metric for each, handing the reading off to smaller, cheaper models
- A launchd service so it all comes back on its own after a restart
How it fits together
- Scheduleone-off or cron job
- Daemonlaunches a Claude Code agent
- Agentworks through the ax CLI
- Storejournaled plans, runs, queue
- Consolewhat needs me
One command layer, two faces: agents use the ax CLI and I use a local web console, both over the same store. Domains (plans, jobs, the queue, docs) never reach into each other, and an unknown domain falls back to an ax-<domain> executable on the PATH, the way git foo finds git-foo.
ax <domain> <verb> [args] # ax plans read <id>, ax queue append ...
ax <verb> [args] # cross-cutting: search, brief, attention
fn dispatch(argv):
domain, verb, args = parse(argv)
if registry.has(domain):
return registry[domain].run(verb, args) # writes go through the store's lock + ledger
if exe = which("ax-" + domain):
return exec(exe, verb, args) # still mutates through the command layer
fail("unknown domain " + domain)
Why it matters
An agent is only useful unattended if you can trust what it hands back and see what it’s stuck on. ax is how I keep track of both.
Stack
The ax repository is private, so there's no public link. Happy to walk through it in an interview.