Skip to content
AI

Why does my agent keep spending after any sane budget would have cut it off?

85

Opportunity

AI agents running multi-step workflows consume tokens at 20 to 100 times the rate of a single query, and there is no infrastructure-level primitive to enforce a spending or compute ceiling at runtime. When two agents enter a recursive clarification loop or a retrieval agent over-fetches context, the only signal is the invoice at the end of the month. Frameworks like LangGraph and AutoGen each handle retries and checkpoints but none enforce a resource contract that halts execution when a declared budget is breached. A January 2026 arXiv paper formalizes what such a contract would look like, but the gap between that formalism and a deployable primitive that works across model providers and tool calls remains wide open.

Why it matters

A runtime resource contract is the missing safety layer that makes agent deployments safe to hand to non-engineers.

How I score the opportunity

The Opportunity Score is my own read, not a measurement: how much it hurts, how often it bites, and how little exists to solve it today. Higher means I think it is more worth building.

Severity9/10

How much pain it causes when it shows up.

Frequency8/10

How often people actually run into it.

Whitespace8/10

How little good tooling exists for it today.

More problems worth solving