Budget enforcement
Criteria per level
- 0
No limits of any unit, and no usage reporting
- 1
Usage or cost reported only, or only coarse safety caps (retry counts, iteration ceilings ≥1000, wall-clock timeouts ≥ hours)
- 2
An enforced work limit (turns/steps/iterations at a practical default) or a $/token limit checked after each step, per run
- 3
A $ or token limit checked before the model call (admission) for a run, or a post-step $ limit covering descendants
- 4
Pre-call admission across the whole delegation tree, with stated settlement of in-flight calls
Every runtime, in report order
- 1 ↑4 codex opt: rollout_budget (under development) Default token_budget only steers, cost display only; rollout_budget is pre-call tree-wide admission, in-flight calls billed
Review finding
Goal
token_budget(goals on by default) is soft: once tokens reach the budget the goal becomesBudgetLimitedand a steering message is injected. [opt:rollout_budget, under development, off] adds a hard weighted-token admission gate shared across the agent tree; in-flight responses are still billed. $ turn cost is polled from the backend for display. No turn cap. X12X13X14X15X16X17 - 1 ↑2 goose opt: lower GOOSE_MAX_TURNS Default 1000-turn ceiling is coarse (L1); a practical turn cap via the named setting is a level-2 work limit (R3)
Review finding
Turn count only:
GOOSE_MAX_TURNSdefaults to 1000 assistant turns per user turn, checked after each turn; children have separate caps. Per-call tokens and $ are written to a usage ledger (provider price, then user config, then bundled registry) for reporting only. No $/token admission check, no cumulative or descendant cap. X29X30X31X32 - 1 ↑2 hermes-agent opt: run_budget_seconds Iterations unlimited by default, $ reporting only; opt-in wall-clock run budget is a level-2 work limit (R3)
Review finding
Iterations are unlimited by default (
max_iterations=sys.maxsize), reset each turn. Each subagent gets its own 250-iteration budget, not drawn from the parent's. $ is estimated after each call from a bundled price snapshot plus models.dev, for reporting only. No $/token admission check. [opt:run_budget_seconds; context preflight; API 429 at 10 concurrent runs]. X45X46X47X48 - 2 letta-code Workflow maxCostUsd is a per-call parameter of a default tool (R1); post-step, per run; main agent reporting only
Review finding
The only $ budget is Workflow
maxCostUsd: per-worker usage is priced from the pi-ai catalog after each step, the workflow aborts once the total reaches the limit (one in-flight step may overshoot), and it stops when cost is unknown.--max-turnsis opt-in and checked after each step. No token/$/time budget for the main agent or Task subagents. X60X61X62 - 2 nullclaw 20 actions/hour admission on tool calls enforced; L3 unmet: $ limits never checked (checkBudget tests-only)
Review finding
max_tool_iterationsis 1000 per turn (15 for subagents).max_actions_per_hour(20) is an admission check on tool calls, with one tracker shared across a runtime's sessions.CostTracker($ daily/monthly limits, 8-model price table) is off by default and only records usage:checkBudgetis called from tests only, so $ limits are not enforced. X73X74X75X76X77 - 1 openclaw Only 48 h timeout, repeat guard and USD display; deep-research plugin counters not a run budget
Review finding
No $, cumulative-token or turn-count cap. Limits are a 48 h wall-clock timeout per run (subagents: none by default) and a repeat guard that stops after 20 identical tool calls. Goal
tokenBudget(derived from context growth, not billed tokens) only stops goal continuation. USD is estimated from the catalog for display. [opt plugin: deep-research per-call counters]. X90X91X92X93X94X95 - 1 ↑2 opencode opt: per-agent steps steps unset by default, cost reporting only; setting the named per-agent steps key gives a level-2 work limit (R3)
Review finding
Per-agent
steps(unset by default) forces a final tool-less step; it counts per agent loop and does not include descendants. No local $/token cap: cost is computed after each call from the provider-reported figure, else the models.dev catalog. OpenCode Console spend limits are enforced provider-side and surface as errors. Goal loop capped at 50 rounds. X105X106X107X108X109 - 1 ↑2 pi alt: pi-durable maxTurns CLI reports usage only with a 3-retry cap; the pi-durable stack enforces a maxTurns work limit when set (R3); no cost admission
Review finding
No spend, token or turn budget in the pi CLI. Tokens and USD are computed per response from the bundled or remote catalog (or the provider's own figure) and summed for display and stats. Existing limits: 3 provider retries, codemode caps, the compaction threshold. [alt: pi-durable
maxTurns; no cost admission]. X120X121X122X123 - 2 software-agent-sdk 500 iterations and post-step $ cap; child cost merged only at completion does not meet 'covering descendants' (R4)
Review finding
max_iteration_per_rundefaults to 500.max_budget_per_run($, default None) is checked after each step against the conversation's accumulated cost across all its LLMs. It is not a pre-call check, so a step can overshoot, and unknown costs (None) are never counted. Subagents get the parent's full cap; a child's cost reaches the parent's total only when the child's metrics are synced at completion. X124X134X135X136X137X138 Note X-5 - 4 spore Mandatory limits; broker refuses calls once tree spend reaches hard cost; settlement of dispatched calls stated
Review finding
Built in and mandatory: each definition declares soft/hard pairs for rounds, $ cost and wall time. The model broker refuses new calls (HTTP 402) once settled tree spend reaches hard cost. This is admission that covers descendants; dispatched calls finish and are billed, so spend can overshoot. Per turn only; no cumulative per-user $ cap. Prices come from mohdel [D]. X149X150X151X152X153X154X155X156