Skip to content
#0297
AgentSqlite

An analyst agent that runs hourly and stops at five dollars

You want something watching the pipeline tables during migration week. Not a dashboard you have to open. Something that looks, reasons, and tells you.

You open an agent session and create a loop on it: prompt compare row counts and null rates in the last hour against the previous 24; report anything off by more than 10%, interval: 1h, max_cost_usd: 5, expires_at next Monday. Every hour the agent queries hoody-sqlite over HTTP, reasons about what changed, and writes its findings. stop_when ends it on a condition instead of a date.

Model calls go through the Hoody AI Gateway at a 5% markup, drawn from your AI Balance; the server is flat-rate from the General Balance. When the five dollars are spent the loop stops, and your infrastructure money was never in reach.

The agent gets a budget the same way an intern does: in writing, with an end date.