Autonomous fleets
Use when: you need agents that run without an operator at the keyboard — scheduled jobs, event-driven remediators, long-lived monitors, batch processors. Anything where the agent’s job is to keep working rather than respond to a person.
The pattern
Section titled “The pattern”Every autonomous fleet has four moving parts:
- Budget envelope. Turns, tokens, cost, wallclock — one of them trips and the run stops cleanly. Prevents runaway spend.
- Durable event log. SQLite/Postgres/MySQL-backed session store
with
Since(seq)replay andWatch(seq)live tail. Survives crashes; an operator can attach mid-run and see history. - Lifecycle tool. The model calls
lifecycleto declare done, blocked, or asking-for-input.autonomous.Runtranslates those into loop exits or waits. - Failure policy. What happens on transient errors, gate rejections, budget trips. Configurable — retry, escalate, give up.
Where the details live
Section titled “Where the details live”- Autonomous → Quickstart — first 15 minutes: a working monitor with budgets and a durable session.
- Autonomous → Operations — the depth reference: budgets, lifecycle tool, crash-resume, failure policy, subagent composition.
- Sessions and event log — durable storage, replay, live tail.
- Context management — compaction and checkpoints keep long runs alive past the context wall.
- Kubernetes event triage — the worked multi-agent example.