Evaluation & Safety

Agent Identity

Also called: non-human identity · NHI · agent IAM

Agent identity is the practice of treating an autonomous agent as its own principal in an access-management system — with its own credentials, narrowly scoped and time-limited permissions, a delegation chain back to an authorizing human, and its own audit trail.

HumanAgent identityscoped, time-limited delegationown credential + audit trail, not the human's login
An agent identity is a first-class account for the agent itself, holding narrowly scoped permissions delegated from a human and leaving its own audit trail.

Traditional identity and access management assumes two kinds of actor: humans who log in, and static service accounts wired up once by an admin. An autonomous agent is neither. It acts on its own initiative, chains multiple tools and systems together in one task, holds authority delegated from a person, and may be spun up and torn down many times a day. Running it on a human's session or on a broad, shared service account makes its actions impossible to scope or trace. Agent identity — often discussed under the label non-human identity (NHI) — is the response: give the agent its own first-class identity.

The motivation is governance. If an agent has its own principal, you can grant it least privilege for the task at hand, issue short-lived credentials that expire, see in an audit log exactly which agent did what (and on whose behalf), and revoke it instantly without touching anyone else. Enterprise security reporting through 2025-2026 has repeatedly flagged agent identity and privilege handling as one of the most common weak points in real deployments, and it appears as its own category in agent-security frameworks.

There is no single standard for this yet. Practices borrow from OAuth-style delegation, workload identity, short-lived tokens, and verifiable credentials, and various vendors and working groups are proposing extensions aimed specifically at agents. As of 2026 it is an active area rather than a settled design.

How it works

In practice an agent identity involves: a distinct credential or key per agent (sometimes per task run), not a copy of the user's; a permission set scoped to what the task needs and nothing more; a delegation or "on-behalf-of" link so logs show both the agent and the human who authorized it; short lifetimes so a leaked credential expires quickly; and a lifecycle — provisioning when the agent starts, deprovisioning when it's done — so identities don't accumulate. Sensitive actions can then require step-up approval (human-in-the-loop) tied to that identity, and agent-guardrails can enforce policy per agent rather than globally.

Example

A company runs a fleet of support agents. Instead of all of them sharing one API key with broad CRM access, each agent run gets a token scoped to "read the current ticket's customer record; write a reply to this ticket only," valid for one hour. When one agent starts behaving oddly, the security team revokes that identity and reads an audit trail showing every record it touched and which human's request it was acting on — without disrupting the other agents.

How it differs

Agent identity vs. service account: a classic service account is typically static, broadly scoped, long-lived, and shared across many workloads. An agent identity is meant to be per-agent (sometimes per-task), least-privileged, short-lived, and to carry an explicit delegation chain back to the human who authorized the work, so both attribution and revocation are precise.

Common misconceptions

Often assumed: The agent can just use the logged-in user's credentials since it's acting for them.
Actually: That gives the agent all of the user's access and makes its actions indistinguishable from the user's in logs; a separate scoped identity is what makes least privilege, attribution, and clean revocation possible.
Often assumed: An existing service account is good enough for an agent.
Actually: Service accounts are usually broad and long-lived; agents need tighter, shorter-lived, per-task scoping and a delegation link to a human, which most service-account setups don't provide.

FAQ

What is agent identity?
Giving an AI agent its own account in an access-management system — its own credentials, narrowly scoped and time-limited permissions, a link to the human who authorized it, and its own audit trail — instead of running it as a user or a shared service account.
What is a non-human identity (NHI)?
An umbrella term for machine principals that aren't people — service accounts, workloads, and increasingly autonomous agents. Agent identity is the agent-specific slice of that, with an emphasis on delegation and least privilege.
Why is agent identity a security concern?
Agents act autonomously with delegated authority; without their own scoped identity you can't limit what a given agent can do, trace its actions, or revoke just that agent — repeatedly cited as a top weakness in real 2025-2026 deployments.

Last checked: 2026-08-30

Related terms