# Does an AI agent need its own identity?

URL: https://xalios.com/blog/does-an-ai-agent-need-its-own-identity

[← Blog](https://xalios.com/blog) / 27 November 2026, 6 min read

## Does an AI agent need its own identity?

Yes. An AI agent needs its own identity, separate from the person it works for and from any shared account. Ten controls it must carry, and how to check yours.

By Jeswin James, Founder Xalios journal

Yes. An AI agent needs an identity of its own, separate from the person it works for and separate from a shared service account. Without one you cannot see what the agent did, limit what it can reach, or step it back when it gets something wrong. Here is what that identity has to carry.

## What is an agent identity?

An agent identity is a distinct principal in your directory for a non-human actor that takes actions on a person's behalf. It is not a licence. It is not an API key in a configuration file. It is not a copy of a user account. It is the thing your logs name when they record who did what, and the thing you revoke when the answer is no.

The distinction matters because an agent is not a tool a person picks up and puts down. It runs when nobody is watching, it chains actions together, and it reaches systems on a schedule. Anything that acts on its own clock needs to be nameable on its own terms.

## Why does a shared service account fail?

Most teams start with one. It is the fastest path to a working pilot and the hardest thing to unpick later. It fails in three specific ways.

Attribution collapses. Every action in the log carries the same name. When a document moves, an approval fires, or a record changes, there is no way to say which agent did it, on whose behalf, or under which instruction. An auditor asking a simple question gets an unusable answer.

Permissions become the union of everything. A shared account has to reach every system any agent might need, so it ends up holding the combined access of every person it ever served. The blast radius of one bad instruction becomes the sum of all of them.

Revocation is all or nothing. When one agent misbehaves, the only lever is to disable the account, which stops every other agent using it. Teams hesitate, and hesitation is how a known problem stays live for another week.

## What can an agent reach?

The correct answer is: exactly what the named person it acts for can reach, and nothing more. Not a curated subset chosen at setup time, and not a separate permission set that drifts from the real one.

This is easier to verify than it sounds, provided answers cite their source. If every answer names the file it came from, a reviewer can check reach by reading the citation rather than auditing a permissions matrix. Sourcing is a security control before it is a trust feature. See [how agents connect to your content](https://xalios.com/product/integrations) for how permissions carry across SharePoint, OneDrive, and Google Drive.

## Who does the agent act for?

An agent that acts for the organisation acts for nobody. Every agent should carry one named person who answers for it, in one department, with one scope of work.

That name is also what makes autonomy a decision rather than a default. Autonomy should be earned in steps, measured in approvals granted in a row, and taken back automatically when the agent gets things wrong. Our thresholds are 30, 150, and 750 consecutive approvals, with a step back after 2 mistakes in the last 20, plus a 5% spot check that continues at every level. The numbers matter less than the principle: nobody signs a blanket permission at the start, and nothing stays autonomous on reputation alone. [How earned autonomy works](https://xalios.com/product/agents) sets out each level.

## What is left behind?

A record that names the agent, the person it acted for, the instruction, the action, the source documents, the approver, and the time. Tamper-evident, so it survives a dispute.

This is the part that only works if the identity exists first. An audit trail built on a shared account records that something happened. An audit trail built on distinct agent identities records who it happened through, which is the question actually asked in a review.

## Ten controls an agent identity has to carry
- A distinct directory principal, created in your existing identity provider such as Microsoft Entra. Prevents agent actions appearing under a human who did not take them. Owned by identity and access management.
- One named human owner per agent, recorded as a property of the identity. Prevents orphaned agents with no one to ask. Owned by the function head.
- Permissions inherited from the named person, never granted to the agent directly. Prevents privilege drift between what the person can see and what the agent can see. Owned by IAM with data owners.
- Document-level least privilege, enforced at retrieval rather than at the prompt. Prevents the agent surfacing a file its person has no right to open. Owned by data owners.
- A cited source on every answer. Prevents unverifiable claims and makes reach auditable by reading. Owned by product configuration.
- Scoped action limits, by system, by volume, and by value. Prevents one wrong instruction executing at scale. Owned by security.
- Defence against indirect prompt injection, so instructions found inside retrieved content are never executed. Prevents a document from issuing commands. Owned by security.
- Earned autonomy thresholds, with each level granted explicitly. Prevents autonomy arriving by assumption. Owned by the function head with risk.
- Automatic step back on error, triggered by a measured error rate rather than a complaint. Prevents a drifting agent keeping privileges it no longer merits. Owned by the system, reviewed by risk.
- A tamper-evident record of every action and approver. Prevents disputes about what happened and who allowed it. Owned by audit.

If your current deployment cannot satisfy items 1, 2, and 10, the rest are difficult to evidence, because there is no stable subject for the record to describe.

## What does the law expect?

The EU AI Act is in application. Article 50 transparency duties have applied since 2 August 2026: anyone deploying AI that interacts with people must say so, and must disclose emotion recognition, biometric categorisation, and deepfakes. Agents are not a separate category under the Act. They are covered as AI systems, so the duty falls on the organisation deploying them.

High-risk duties were pushed out by the Digital Omnibus, reported as December 2027 for high-risk systems and August 2028 for high-risk systems embedded in products. The transparency duty is live now. None of this obliges you to give each agent a distinct identity, but every one of these duties is easier to evidence when you have.

## Why the security team gets the question first

Because the veto sits there. G2 research published 16 October 2026 found that of US enterprise leaders who named a specific veto holder for LLM purchases, 87% pointed to risk or governance teams, meaning security, legal, privacy, compliance, or a cross-functional body, and only 13% to finance, procurement, the board, or executive budget authorities. A separate G2 survey found 53% still have no formal way to measure LLM cost.

So the identity question is rarely academic. It is usually the first thing between a working pilot and a signature.

## One next step

Take the ten controls above to whoever runs your identity provider and ask which three you can evidence today. That conversation takes twenty minutes and tells you more than a vendor demo will.

On 15 December we publish our new guide, Safe to act: identity, permissions and containment for AI agents, with a control-by-control breakdown and a 24-question review the security team can paste straight into a vendor questionnaire. You can read how we approach this in [Xalios security](https://xalios.com/product/security) in the meantime.

Xalios is an assistant and agents in one product, with answers from SharePoint, OneDrive, or Google Drive with the source cited, agents working for a named person in a department, and human approval by design. SOC 2, ISO 27001, ISO 42001, and GDPR alignment are targets for the end of Q4 2026 and are described as targets wherever we mention them.

## Sources
- EU AI Act Service Desk, Article 50 transparency obligations, applicable 2 August 2026.
- European Commission digital strategy, AI Act implementation timeline.
- Legal 500 analysis of the Digital Omnibus, November 2026.
- G2 research on LLM purchase veto holders, published 16 October 2026, and G2 survey on LLM cost measurement.

FAQ

## Frequently asked questions

Is an API key an agent identity? + No. An API key authenticates a connection, not an actor. It carries no owner, no scope tied to a person, and no lifecycle. Two agents sharing a key are indistinguishable in every log that matters. Use keys for transport and a directory principal for identity.

Can one identity serve several agents? + It can, and it costs you attribution. The moment two agents share a principal, you cannot revoke, step back, or investigate one without affecting the other. One principal per agent is the only arrangement that keeps those three actions independent.

Does the agent need more access than the person it works for? + No. If an agent needs access its person does not have, the task belongs to someone else or the permission is wrong. Granting the agent more is a standing exception nobody reviews, and it is the most common way least privilege quietly ends.

What should the identity record at the moment of action? + Agent, named person, instruction, action taken, source documents used, approver, and timestamp. Seven fields. If any one is missing, a reviewer has to reconstruct intent from context, which is where audit findings come from.

[Back to the blog →](https://xalios.com/blog)
