#0567
AgentSqlite
Submit twenty jobs at midnight, read twenty results at eight
Twenty customers bought the site audit. Each audit is forty minutes of agent work. You're one person and it's midnight.
You POST /api/v1/agent/headless/runs twenty times, one per customer, each with the audit prompt and a timeout_ms of an hour. Each returns a job_id instantly; you write the twenty ids into a hoody-sqlite table and close the laptop.
The runs execute as the box allows. Nobody holds a connection open.
At 8am a short script reads the table, GETs /api/v1/agent/jobs/{id}/result for each, and drops twenty audits into twenty customer folders. Two came back failed; their errors say which site blocked the crawl. You rerun those two with coffee.
The result doesn't need you awake to exist; it needs you awake to be read.