Skip to main content
bash TV

Give the Agent a Budget, Not a Token — Sachin Malhotra, Anthropic

AI Engineer

571 views22 Aug 2026

YouTube

An agent tidying up after itself listed the workloads it no longer needed and deleted them. One stage of the pipeline evaluated to nothing, the filter dropped out, and the selector matched everything: about 200 workloads gone in 90 seconds, roughly 20 engineers affected, some of it long running training jobs that were never checkpointed. Nothing malicious happened, and the agent did nothing Sachin Malhotra could not have done himself, because it was using his token. The failure was handing unbounded power to something nobody was watching closely. A token is a boolean, a static list of scopes you hold or you do not, and the standard fix of narrowing it fails the way it would with a new hire. You do not take the verb away, you bound it. A budget has four dimensions: how much, how fast, what can be undone, and who notices. That becomes three things you enforce and one question you ask. Asymmetric verbs, meaning give the agent the operations that fail loudly, like unskipping a test, and keep a human on the ones that fail silently, like skipping one. Rate limits on every write, refilling on their own so nobody files a ticket for more. Trip wires rather than allow lists, because a list written up front goes stale while aggregate counts tell you what actually happened. The undo test sizes all three. Underneath it all, identity has to be stamped by a proxy and never claimed by the caller, or the agent simply changes the header and its limit resets. Speaker info: - https://x.com/edorado93 - https://www.linkedin.com/in/edorado93 - https://bruteforced.dev/ Timestamps: 0:00 - The demo, and what happens after it ships 1:02 - 200 workloads deleted in 90 seconds 2:42 - Why a narrower token scope is the wrong fix 4:23 - A token is a boolean, a budget has dimensions 6:05 - Asymmetric verbs, and skip versus unskip 8:34 - Rate limits: a ceiling that refills 10:16 - Trip wires beat allow lists 12:47 - The undo test, and the second key 13:37 - Feature flags: canary versus production 15:19 - Where the policy lives, text and infrastructure 17:49 - Why the proxy stamps identity, not the caller

Join the discussion

Sign in to join the discussion

Sign in