CTL-164 · agent
Spending and Loop Limits
Cap what an agent can do per run and shut it off automatically when it hits a limit.
TechnicalEffort MediumEffectiveness High
Set hard ceilings outside the agent: data volume per call, actions per run, emails sent, rows exported or deleted, external API calls, runtime, tokens, recursion depth, tool calls and money or compute spent. Apply them per task, per agent and per non-human identity. Machine-speed bursts that no human would produce should stand out. Add circuit breakers for delegation depth, fan-out and self-calls, and halt the run when a budget runs out or the same instruction starts copying across peer agents. Limits that live inside the agent's own code can be ignored or edited.
Put it in place
- 01Define per-run caps for volume, rate, depth, time and cost in the gateway.
- 02Enforce them in the platform, not the agent's code or prompt.
- 03Auto-stop and page on breach or on repeating payloads across agents.
- 04Review caps quarterly against real usage.
Counters 8 techniques
- TAM-A-ACT-008Burning Through Resources
- TAM-A-ACT-013Harm That Spreads Between Agents
- TAM-A-DRV-001Agent Left Running Alone
- TAM-A-DRV-002Agents Started by an Event
- TAM-A-RCH-004Agents Working Together
- TAM-A-RCH-010How Far the Agent Can Go Alone
- TAM-A-STG-001Agent Starting Itself
- TAM-A-STG-010Orders Passed Machine to Machine