Skip to main content

Fleet budgets

What it is

A fleet budget limits how much one fleet can spend. The fleet author sets the budget in TRIGGER.md.
daily_dollars is required. monthly_dollars is optional.

Why it exists

Every workspace under one tenant shares the same credit balance. A fleet budget stops one fleet from draining that shared balance. The fleet owns its budget. Updating the fleet replaces the limits, and deleting the fleet removes them.

How it behaves

The daily limit covers a rolling 24-hour window. The monthly limit covers one Coordinated Universal Time (UTC) calendar month. agentsfleet checks the limits before a run and while the run continues. A reached limit blocks new work and stops an active run at its next billing check. A blocked event does not retry. Raise the limit, update the fleet, and send a new event. The fleet, memory, and activity stream survive a budget stop. A stopped run has no final result.

Limits

An invalid budget blocks fleet installation. A stored budget that cannot be read blocks the next run. UZ-RUN-015 marks a budget stop during a run. UZ-EXEC-015 records the final failure class.