Expand description
Action budgets (Module B): stateful tool limits — per-tool caps via
max_tool_calls (e.g. db_write: 3), payout ceilings via
max_payout_usd_micros — plus per-session token ceilings.
Money is tracked in integer micro-USD; a payout of $12.34 spends 12_340_000. Fractional-cent dust can therefore never accumulate invisibly.
Structs§
- Action
Budget - Budget enforcement bound to a session id and a state store.
- Budget
Spec - Declarative budget for one session/agent (config-file surface).
Enums§
- Budget
Decision - Outcome of a budget check.