AI agents need their own identities
Most agents act under a person's token or a shared service account. Give each one its own identity, with scoped and short-lived credentials and an audit trail that names the agent, the person it acted for and the owner who answers for it.
Give every AI agent its own identity before you give it access to anything. Most agents I hear about today borrow one. They run with the token of whoever is logged in, or they share a service account whose key was pasted into a configuration file during the pilot. Both work on the first day. Both leave you unable to answer a basic question later, which is who did this.
By agent I mean software that uses a language model to decide which actions to take and then takes them through tools: reading a mailbox, opening a ticket, running a query, changing a record. The model chooses the steps at run time, so you cannot list in advance everything the agent will try. That is the difference from an ordinary script, and it is why the identity question matters more here.
What goes wrong with a borrowed identity
The agent uses the person's token. The agent can then do everything the person can do. If that person is an administrator, so is the agent, for every task including the ones that needed no privilege at all. The audit log shows the person's name on every action. When something is deleted at 3 a.m., the log says a human did it, and the human was asleep.
The OAuth token exchange standard, RFC 8693, has a word for this arrangement. It calls it impersonation: "When principal A impersonates principal B, A is given all the rights that B has within some defined rights context." Within that context the two cannot be told apart.
The agent uses a shared service account. Now several agents, and often several scripts, appear in the logs as one name. You cannot tell which of them acted, or on whose request. The key usually has no expiry, because nobody wants to be the person who rotates it and breaks five things. Its permissions are the union of what every user of the account ever needed.
Neither arrangement is new. We have had over-privileged service accounts for as long as we have had service accounts. An agent makes the old problem worse because it reads untrusted text, such as an email or a web page, and that text can steer what it does next. The OWASP project's Top 10 for Agentic Applications, published in December 2025, lists Identity & Privilege Abuse as its third risk, and summarizes the cause as leaked credentials that let agents "operate far beyond their intended scope."
What an agent identity looks like
The building blocks already exist. Agents are workloads, and there are established ways to identify a workload.
Its own name. Each agent gets an identity that belongs to it and to nothing else. SPIFFE, the open workload identity standard, defines this as "a string that uniquely and specifically identifies a workload." Two copies of the same agent doing different jobs for different teams are two identities.
No stored secret. In the SPIFFE model a workload proves who it is with a short-lived certificate that the platform issues to it, and the documentation says these keys and certificates are "short lived, rotated frequently and automatically." The agent has no long-lived key in a file for someone to copy.
Delegation, recorded. When an agent acts for a person, the token should carry both of them. RFC 8693 separates this from impersonation: "With delegation semantics, principal A still has its own identity separate from B." The standard defines an actor claim that "provides a means within a JWT to express that delegation has occurred." In plain terms, the token says "this is the scheduling agent, acting for this named person," and every system that receives it can log both names and apply rules to both.
It works the way a contractor's badge does. A contractor does not borrow an employee's badge. They get their own, it names the person who sponsors them, it opens only the doors the job needs and it stops working when the job ends.
Scope per task. A person's access is broad because a person does many things over a year. An agent's task is narrow and known when it starts. Issue a credential for that task: read this mailbox, write to this one queue. Keep its lifetime in minutes. If the agent needs more, it asks again, and that request is a point where policy can say no.
An audit trail with three names. Every tool call should be logged with the agent's identity, the person it was acting for (if any) and the task. With those three fields you can answer "who did this" in one query. You can also revoke one agent without touching the person's access or anybody else's agent.
Runs on a person's token or a shared service account
Can do everything the person or the shared account can do
A shared key usually has no expiry
The log shows the person's name or one shared account name
Has a name that belongs to it and to nothing else
Gets a credential scoped to one task
Proves itself with a short-lived certificate the platform issues
The log names the agent, the person it acted for and the task
RFC 8693 calls acting on a person's token impersonation. Delegation keeps the agent's identity separate.
Who is accountable
An identity is only useful if somebody answers for it. I would assign four owners.
The agent's owner is a named person or team, recorded next to the identity. They answer for what the agent is built to do, and they are who gets called when it misbehaves. An agent with no owner should not be issued credentials. That rule also cleans up the abandoned pilots.
The person who delegates answers for the request. If I ask an agent to clear my calendar and it does, that was my decision. If it also emails my contacts, that is the agent owner's problem, and the logs need to be good enough to tell those two cases apart.
The identity team owns issuing and revoking agent identities, in the same system that handles other non-human identities. I would not build a second identity system for agents.
Each resource owner decides what agent identities may do to their system. This is the part that changes most. Until now a resource owner granted access to people and to a few known services. Now they need a policy for software acting on a person's behalf, and "whatever the person can do" should not be the default answer.
One caveat. The standards for this are still being worked out. In February, NIST's National Cybersecurity Center of Excellence published a concept paper titled "Accelerating the Adoption of Software and Artificial Intelligence Agent Identity and Authorization" and asked, among other things, which current or emerging standards are being used to guide identity and access management for AI agents. The comment period closed on April 2. Nobody has a finished reference design yet. That is no reason to wait, because separate identities, short lifetimes and scoped tokens will be part of any design that comes out of it.
Start with an inventory this month. List every agent running in your environment, the credential it uses and the person or team that owns it. Mark the ones running on a person's token or a shared key. The list is usually longer than expected, and the owner column usually has gaps. I would close those gaps before approving any new agent.
Sources
- https://www.rfc-editor.org/rfc/rfc8693.html
- https://spiffe.io/docs/latest/spiffe-about/spiffe-concepts/
- https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/
- https://www.nist.gov/news-events/news/2026/02/new-concept-paper-identity-and-authority-software-agents
Views are my own.