# nullclaw · Budget enforcement

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [nullclaw](https://ai-agents-review.com/runtime/nullclaw.md)
- Column: [Budget enforcement](https://ai-agents-review.com/column/budget-enforcement.md) (Execution controls)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/nullclaw/budget-enforcement

## Rationale

20 actions/hour admission on tool calls enforced; L3 unmet: $ limits never checked (checkBudget tests-only)

## Rubric criteria for this column

- 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

## Review finding

`max_tool_iterations` is 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: `checkBudget` is called from tests only, so $ limits are not enforced. [X73][X74][X75][X76][X77]

## Evidence cited by the mark

- [X74] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/root.zig#L3089-L3108 — read_only blocks tools; max_actions_per_hour checked per call — [S]
- [X75] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/cost.zig#L163 — checkBudget defined; only callers are tests (:431,:442) — [S]
- [X76] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/config_types.zig#L1782-L1788 — CostConfig enabled=false, $10 daily/$100 monthly — [S]

## Evidence also cited by the review finding

- [X73] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/agent/root.zig#L2176 — max_tool_iterations loop bound — [S]
- [X77] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/cost.zig#L55-L77 — hard-coded 8-model pricing table with fallback rate — [S]

## Grading record

- Grader A (default / best): 2 / 2
- Grader B (default / best): 2 / 2
