November 7, 2026 · #drops

Why does an agent stall on the name of an API key?

This week we shut down Haseyo's old infrastructure to rebuild it from scratch. Before writing any new code, I asked one of our internal agents to clean up our Anthropic account.

I expected it to be the easy part. It turned out to be the most interesting one.

The agent disabled the keys whose names said what they were without hesitating: haseyo-demo, haseyo-explorer, haseyo-local. When it got to the others, it stopped and asked. It wasn't a capability problem. The console doesn't show when each key was last used, and the names didn't say which service they belonged to. For the agent, disabling one of those keys meant betting that nothing in production depended on it.

I would have made the same bet, just without noticing. That's what intrigues me. A person facing a messy account leans on memory ("I think that one was from Tuesday's test"). The agent has no such memory, so an ambiguity I would have glossed over becomes a visible blocker for it.

Maybe this means the way an account is organized is, in practice, the agent's interface to the infrastructure. When names are predictable and limits are explicit, it can act on its own. When they aren't, every step goes back to a human for approval.

So the new setup is stricter than a project this size probably needs. Workspaces are split by product and environment, each service gets its own key with a name that says what it does, each workspace has a spending cap, and event logging is on. I don't know if this is premature. The bet is that if agents are going to run part of the infrastructure, clarity stops being bureaucracy and becomes what lets us trust them.

A few questions I can't answer yet:

For now, I'll keep one observation: the agent didn't stall where it was weak. It stalled where we had been vague.