All work

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.

Personal project · 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

How it fits together

  1. Scheduleone-off or cron job
  2. Daemonlaunches a Claude Code agent
  3. Agentworks through the ax CLI
  4. Storejournaled plans, runs, queue
  5. 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.

A sketch of the idea, not the production code.

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.