Agents are writing all of your API code. Do you know why it chose what it did?
Sterling Chin · Founder, Sannr; former head of Postman Labs
Session details
Who this is for: API security engineers, pentesters and the platform teams who now review code an agent wrote against APIs an agent called.
Most of the code in my repos right now was written by a coding agent. I'm guessing yours is heading the same way. Every one of those sessions ends, and when it does, whatever the agent figured out about your API goes with it. Which endpoint has to be called before that other one. Which field is actually required. Which call returns a 200 and does nothing. That used to be tribal knowledge, and at least you could walk over and ask Joe. Now there's no Joe. There's a diff, and nobody who remembers why.
I spent this summer running hundreds of agent sessions against real APIs, with real credentials, trying to prove the idea was worthless. I kept score. Some of it went against me and I'll show that part too. The short version: an agent builds on whatever context is sitting in front of it. Stale, wrong, or put there by someone else, it doesn't check. And it never goes looking for anything that isn't in front of it. For API security that's the whole game. The context an agent had when it wrote the code is the thing you need to review, and today nobody keeps it.
I'll walk through what an agent's API context actually looks like, where it comes from, the ways I watched it go wrong, and what that changes about reviewing agent-written API code. Then I'll show what I'm building to fix it: Sannr, an open source API client that keeps what agents learn about your APIs verified against the live API and committed with the code, so the next agent, and the next reviewer, gets it.