Amir Bredy
← All writing
· security · agents · identity

Agent governance: who is this agent, and who said it could do that?

An agent has a service's access and a person's unpredictability. The controls we built for people and services don't cover it, and the fix is three old ideas applied in a new place.

We spent two decades building governance around two kinds of actors: people and services. People get identities, roles and access reviews. Services get scoped credentials and do the same thing every time. An agent is neither. It has a service's access and a person's unpredictability. It decides at runtime which tools to call, based on text it read a moment ago, and some of that text was written by someone else. Most deployments today handle this by lending the agent a human's token and hoping.

Governance worth the name answers three questions, and each one maps to a control. Who is this? The agent needs its own identity, distinct from the user who launched it, so a log line can say which agent acted and on whose behalf, and so its access can be revoked without touching the person's. What may it do? Permissions belong on the tool call, not on the agent as a whole: this tool, these arguments, this data, with the risky calls gated on a human yes. Where can it send things? Egress control is the backstop. Prompt injection will not be solved by better prompts, so assume the model will eventually be talked into something, and make sure the data has nowhere to go.

None of this is new. It is least privilege, separation of duties and default-deny networking. What is new is that the principal can be argued with. A policy the agent can talk itself out of is a suggestion, so the controls have to live outside the model, in the layer that executes the call. The test I would apply to any agent platform: when an agent goes wrong, can you say which agent, which tool, whose authority, and where the data went? If you need the transcript to answer that, you have logging, not governance.