Who Made That Change: The Human or the Agent?
When an agent acts with a person's credentials, the log names the person. Here's what complete attribution for agent actions requires.
The Neo Team
Key Takeaways:
- When an agent works on a person's behalf with the person's own credentials, the log names the person for changes the agent made.
- Attributing an agent's action means knowing what started it, which agent acted, and whose authority and instructions were behind it.
- Attribution has to be captured on the device, where the details explaining an agent's action exist at the moment of the action.
The audit log says an engineer force-pushed a repository and overwrote part of its commit history. The engineer's calendar says the same person was in a meeting when the push happened. Neither record is wrong, since a coding agent on the engineer's laptop made the change under the engineer's account.
The log entry in this example is accurate, yet it doesn't say who was responsible. Working out who or what was responsible for an action is called attribution. Most logs record the credential behind a change. With agents involved, the credential no longer shows who decided.
In February 2026, the Financial Times reported that AWS engineers had let Amazon's Kiro coding agent make changes the previous December. In the newspaper's account, a 13-hour service interruption followed the agent's choice to delete and recreate the environment. The company responded that the cause was user error, specifically a misconfigured role. Whether the agent or the engineer set the failure in motion, security teams need a reliable way to establish which one it was.
An agent acts under its user's identity
Agents work on borrowed identity, and local tools make the point most clearly. Coding agents like Claude Code and Cursor rely on what the user's laptop already holds, as do browsers with a built-in agent. The list covers Open Authorization (OAuth) tokens, application programming interface (API) keys, and Secure Shell (SSH) keys. Browser sessions and command-line logins belong on the list too.
As far as the identity provider and the software-as-a-service (SaaS) application can tell, there's one identity and one actor. More actors join under the same token whenever the agent calls a Model Context Protocol (MCP) server or a skill. A skill is a packaged set of instructions the agent can load.
Sharing an identity in this way isn't unusual. In a Cloud Security Alliance survey of 228 IT and security professionals, 31% said they allow agents to operate under human user identities.
Once a person and an agent share a credential, having permission and meaning to act become separate facts. A permission check confirms only that the credential was allowed to make a change. The check can't reveal whether the person behind the credential wanted the change. Intent lives in the prompt, the agent's plan, and the chosen tool call. A traditional log captures none of this detail.
Why attribution has become urgent
Adoption has outrun attribution, with 85% of organizations reporting agents in production while 68% couldn't clearly tell agent activity apart from human activity.
The cost of the gap is a choice between two poor defaults, blaming the person or overlooking the agent. Volume makes the choice more frequent, because at machine speed one ambiguous identity can become thousands of ambiguous log lines. The stakes are higher as well now that agents commit code, send email, and change infrastructure instead of only suggesting.
What a complete attribution record answers
A complete answer doesn't fit in a single name. Each agent action raises several separate questions, and a full record has to answer all of them.
| Element | Question it answers |
|---|---|
| Initiator | Who or what started the action? The answer may be a person's prompt, a scheduled job, or content the agent read. |
| Actor | Which agent acted, and which component inside the agent, such as a skill or an MCP server? |
| Authority | Whose credentials and permissions were used? |
| Context | What was the agent asked to do, what did the agent see, and what did the agent decide? |
The initiator is the easiest element to overlook, given how readily untrusted content can set an action in motion. A flaw in the open-source coding assistant Cline let outsiders plant instructions in a GitHub issue title. Those instructions could steer the AI agent that sorted the project's incoming issues.
In February 2026, an unauthorized party used a compromised token to publish a Cline release that installed another AI agent on developers' machines. The stolen token has been tied to the flaw, though it isn't clear who was behind the release.
Responsibility for a single action is often shared as well. A person sets the goal, the agent picks the method, and a tool carries out the step. For each action, a useful record shows the distance between the request and the result.
Where missing attribution causes problems
- Security detection. Behavior analytics, the tools that flag unusual account activity, may blame a person for an anomaly the agent caused. Heavy agent activity can also raise the level treated as normal and give an attacker room to hide. An attacker with a foothold on a laptop can even drive the local agent and blend in with agent work. Endpoint detection and response tools were designed to see processes. The prompt and tool call behind a process fall outside the view of such tools.
- Incident response. Every investigation begins by asking whether a person, a compromised account, or an agent acted. Each possible answer calls for a different response. Containment is awkward, given that revoking the token stops the agent and locks out the person along with it. Scoping the damage then requires a list of every agent holding the credential, including agents IT never approved.
- Compliance. Change management, separation of duties, and audit trails all assume a named human approver. Human oversight of an AI system is also hard to show if you can't show who decided. In a February 2026 concept paper, the National Institute of Standards and Technology asked for input on auditing and non-repudiation for AI agents. Non-repudiation means proof of who performed an action.
- Trust in autonomy. Teams don't extend more autonomy to agents until they can explain what the agents did. Attribution is therefore the basis for approving wider agent use.
Why logs written after the fact fall short
Better logging after the event doesn't close the gap. The details explaining a local agent's action exist only on the device, at the moment the action happens. A log written afterward captures an outcome, and working backward from an outcome to intent is guesswork. Network and SaaS logs see the request but don't show whether the agent or the user's own terminal issued it.
Some platforms are closing part of the gap. One example is GitHub's audit log, where agent events are marked to show that the actor is an agent. The person who initiated each event is also named.
How to make agent actions attributable
- Gain a live inventory of every agent, including unapproved ones. Attribution is impossible for an agent you don't know exists.
- Trace each agent action to a named person. The named person may have launched the agent, own the credentials, or have approved the task. For a local agent acting as the user, the device is the place to see which agent a specific person launched.
- Record context when the action happens. Storing the prompt and the tool call alongside the credential lets a reviewer see the whole sequence. The agent, the component, and the initiator belong in the same record.
- Pause high-risk actions for confirmation. The approval then doubles as an attribution record.
- Evaluate each action as well as the permission. Check at the time of the action whether it fits what the agent was asked to do.
Where Neo fits
Neo runs on the device, where agents act, and tells agent activity apart from human activity across the machine rather than only inside AI tools. When a file is written, a shell command runs, a credential is read, or a request leaves the laptop, Neo records whether a person did it or an agent did it on that person's behalf, and which agent, MCP server, or skill was involved. Every action traces back along the chain from human to agent to process to action. Identity provider integrations tie that chain to a named person and let policy follow user, host, and group.
At the moment of an action, Neo allows it or asks security and IT admins to confirm or block it. The decision and the context behind it are logged together, so the record says who decided as well as whose credential was used.
Watch Neo's webinar on securing Claude, however your teams run it.
FAQs
What is AI agent attribution?
AI agent attribution is the ability to say who or what was responsible for an action an AI agent took. Attribution goes beyond naming the account in a log. A full answer covers what triggered the action, which agent carried it out, and whose credentials were used. The agent's goal at the time is part of the answer as well.
Should AI agents have their own identities?
Giving an agent its own identity helps, because the agent's activity then shows up separately from a person's in the logs. Even so, a separate identity doesn't settle accountability until it's tied to the person who launched or approved the agent. Local agents are a harder case, as they typically act with the user's existing credentials.
What is the difference between authentication, authorization, and attribution?
Authentication confirms who is presenting a credential, and authorization decides what the credential is allowed to do. Attribution comes afterward and establishes who or what was responsible for a specific action. With AI agents, the first two can both succeed while the third stays unanswered. An agent using a person's credential passes the same checks the person would.