An agent is not an exception
What changes — and what must not — when software starts acting on its own inside a system that is audited.
Notes · 3 December 2026
Most organisations now have a plan for putting AI somewhere in their operations. Fewer have an answer to the question that arrives two meetings later, usually from someone in risk or compliance who has not said much until then: who did this?
It is not a question about AI. It is the same question that governs every other part of a regulated system, and it has had a settled answer for twenty years: every action belongs to an identity, and the identity is a person. An agent that acts inside the system breaks that assumption quietly, and the breakage is not visible until an auditor asks for a record.
This is a description of where that breaks, and of the two ways it is usually resolved — one of which survives an audit.
Three questions, none of them about AI
When a language model is introduced into a business system, the compliance review asks three things. None of them is new, and none of them mentions AI.
Attribution. Who performed this action? If a record was changed, a document approved, a customer's data updated — whose authority was that done under? “The system did it” is not an answer, because systems do not hold authority. People do, and people delegate it.
Egress. What left the organisation, when, and where did it go? A model call is a data transfer. If a case record goes into a prompt, that record has left the building. The question is not whether this is acceptable — it often is — but whether the organisation can state afterwards what went out.
Retention. In six months, can this be reconstructed? Not approximately. Specifically: this prompt, this response, this timestamp, this user.
These questions are ordinary. That is exactly what makes them difficult. A system that cannot answer them for an AI feature usually cannot answer them because the AI feature was built outside the part of the system that answers them for everything else.
The service account, and why it fails
The common solution is the one that takes the least time to build. The integration gets a service account: a technical user, broad permissions, no person behind it. The agent authenticates as that account, does its work, and the audit trail records api-user or integration or system.
This works. It passes a demonstration. It fails at the first real question.
It fails in two directions at once. The first is attribution: when the audit log says api-user deleted the record, there is nowhere to go from there. The chain of accountability ends at a credential, and a credential cannot be interviewed.
The second failure is quieter and worse. A service account's permissions tend to be set broadly, because narrowing them means working out exactly what the integration needs, and that takes time. So the account gets more than it needs — often everything — and from then on the agent operates above the permission model rather than inside it. A marketing user who cannot see HR records is suddenly able to ask an assistant that can. Nobody decided this. It was a consequence of a shortcut taken on a Tuesday.
Organisations discover this at the worst moment: during an access review, when someone traces what the technical account can reach and finds that the answer is “everything”.
The agent runs under a user, not beside one
The alternative is structurally simple and operationally harder: the agent does not get its own identity. It runs under an existing user, and inherits exactly that user's permissions — no more.
The consequences are immediate and mostly inconvenient, which is a good sign.
If the user cannot see a record, neither can the agent. If the user's access to a module is revoked on Friday, the agent's access to it is revoked on Friday, without anyone remembering that the integration existed. If the user is a marketing manager for one brand, the agent acting on their behalf cannot read another brand's data — not because a rule was written to prevent it, but because there was never a path.
And in the audit record, the entry does not say system. It says who the action was performed on behalf of, in the same format as an action that person performed by hand.
This is not a technical achievement. It is a decision to make the agent weaker than it could be. The engineering is not the hard part; accepting the constraint is. An agent built this way will sometimes be unable to do something useful, and the correct response is to grant the permission deliberately to the person, in the open, where an access review will find it — rather than to the machine, quietly.
What leaves the system is also a record
Attribution handles the first question. The second — what left, and where did it go — needs something else.
Every call to a language model sends data somewhere. That is not a flaw to be engineered away; it is what the call is. The question is whether the organisation can describe, afterwards and precisely, what went out.
The answer cannot be a policy document, because a policy describes intent, and an audit asks for evidence. The answer has to be a record: the prompt as sent, the response as received, the time, the user it was performed for, and the token usage behind it — stored in the same system as everything else, under the same retention rules, visible to the same permission model.
When that exists, a question that would otherwise start an investigation becomes a query. What customer data went to a model in October? has an answer, and the answer takes minutes rather than a week of people reading logs and hoping.
There is a side effect worth naming, because it is the one finance notices first: the same record that satisfies the auditor also holds what is needed to work out what the AI actually costs — per user and per process, rather than as one line on a monthly invoice.
Limits
What this does not solve
Three things, stated plainly, because a vendor that only lists what it handles is describing a brochure rather than a system.
It does not make the processing lawful. Whether a particular piece of personal data may be sent to a model at all is a data protection question with a legal answer, and it belongs to your data protection officer. A complete record of an unlawful transfer is still an unlawful transfer — it is merely well documented.
It does not reach the provider's side. Once data has left, what happens to it is governed by the contract with the model provider, not by your audit trail. The record proves what you sent. It proves nothing about what was done with it afterwards.
It does not decide what should be delegated. The fact that an agent can act under a user's authority says nothing about whether it should act on a particular decision. That judgement stays with people, and it is the part most often skipped.
Three questions worth asking your supplier
If a supplier is proposing AI capability inside a system that holds data you are accountable for, these three questions settle the matter faster than any demonstration.
1. Show me an action an agent performed, in the audit log. Whose name is on it? If the answer contains the words service account, technical user, or system, accountability has already been given up. Everything after that is a workaround.
2. Where is a prompt from six months ago? Not “it would be in the logs”. Where, specifically, and under what retention rule, and who can read it. If model exchanges are kept somewhere other than the business records — in a provider's console, in an observability tool with a thirty-day window — then they are outside the system that the audit covers.
3. What happens if I revoke a permission from the user the agent runs under? The correct answer is that the agent loses it at the same moment, without a deployment and without anyone being told. If the answer involves updating a configuration, the permission model and the agent are two separate things, and only one of them is being governed.
One decision, taken early
None of this is exotic, and none of it requires a position on whether AI is transformative or overstated. It requires one decision, taken early: that an agent is not an exception to how the system works, but an actor inside it — bound by the same identity, the same permissions, and the same record as everyone else.
Taken early, that decision costs very little. Taken after an audit finding, it is a rebuild.