Development & AgentsDev — Multi-Agent

AI Agent Identity: Where the Agent Ends and Human Accountability Begins

A practical architecture for identifying agents, binding delegated authority, limiting credentials, and reconstructing accountability after an AI action fails.

KostjaUpdated September 24, 202615 min read
AI Agent Identity: Where the Agent Ends and Human Accountability Begins — hero illustration

Agent identity is an accountability problem

An AI agent needs more than a service-account name. When it reads customer data, changes production, sends a message, or pays an invoice, the organization must be able to reconstruct a chain: which agent instance acted, whose authority it used, what task and policy constrained it, which tool executed the action, and who remains accountable for the outcome.

That last question is the one I consider most important. Giving every agent a unique ID is useful, but it does not settle responsibility. An agent is software, not a convenient place to deposit blame. If it acts for a person or organization, the identity system must preserve the boundary between the agent's technical identity and the human or institutional principal that authorized, deployed, supervised, or failed to constrain it.

NIST's 2026 concept paper on software and AI agent identity and authorization frames the same territory through identification, authentication, authorization, auditing, non-repudiation, and the relationship between an agent's actions and human authorization. The paper describes a potential NCCoE project, not a finished standard. The practical lesson is simple: agent identity is not one login feature. It is the system that connects runtime execution to authorization decisions and post-incident accountability.

Four identities can exist in one agent action

Consider an expense agent that receives a request from Alice, delegates receipt extraction to a sub-agent, and calls a payment API through a tool gateway. The product UI may show only “expense processed,” even though several delegations and authentication steps occurred behind the interface. “Who did it?” therefore has at least four answers, and omitting any layer distorts later authorization or accountability.

Collapsing these layers creates two opposite failures. Reusing Alice's token makes the agent indistinguishable from Alice and often grants all of her standing access. Giving the agent only its own broad service credential removes the user delegation context and makes every action appear to be the platform's. A useful event needs both: the acting workload and the authority chain.

The agent's display name, model, prompt, and memory are metadata, not proof of identity. Cryptographic credentials can authenticate a workload, but they still do not explain the purpose of a specific action. The system must either bind task and policy context to that identity or make both recoverable from an immutable event record.

LayerExample identityWhat it proves
PrincipalAlice or Acme FinanceOn whose behalf the work is performed
Agent definitionexpense-agent:v3Which configured software role and policy set was selected
Runtime instancerun_01K...Which ephemeral execution performed this task
Workload/toolSPIFFE workload ID, OAuth client, MCP serverWhich process authenticated to the protected resource

Identity, authentication, authorization, and accountability differ

These terms are frequently compressed into “Agent IAM,” but they answer different questions. Identification and authentication establish who is calling and whether it can prove that identity; authorization decides what it may do now; accountability determines whether the responsibility chain can be explained afterward. Treating all four as one login event creates the false impression that possessing a token is equivalent to having legitimate authority.

Authentication without authorization gives a well-identified agent excessive power. Authorization without a durable audit trail may block some attacks but cannot explain a completed action. Logging without stable identifiers produces a large pile of events that cannot be joined. The architecture has to connect all four.

SPIFFE demonstrates a mature pattern for workload identity: a workload receives a verifiable SPIFFE ID and short-lived X.509 or JWT identity document from the SPIFFE Workload API, without shipping a static secret inside the application. This proves which workload is calling. OAuth provides established building blocks for delegated access and scopes, audience restriction, token exchange, and sender-constrained tokens. Agent-specific work is less settled: individual Internet-Drafts propose task context and delegation claims and evidence that connects user intent, displayed consent, and an authorized action. These drafts can change or expire and should not be treated as universal standards.

  • Identification: Which registered agent definition and runtime instance is this?
  • Authentication: Can the runtime prove that identity, ideally with short-lived, workload-bound credentials?
  • Authorization: What resource and action may it use now, for this task, on behalf of which principal?
  • Accountability: Can an investigator reconstruct intent, delegation, policy decisions, tool calls, results, and responsible owners after the event?

A minimum viable agent identity record

Do not begin with a new universal identifier format; work backward from the questions operators and investigators must answer. A registered agent needs a stable definition record for its owner, purpose, and policy, while each execution receives an ephemeral runtime identity that distinguishes one run from another. Delegation, task, policy, and credential references connect those records into an identity chain that can be queried and revoked.

The owner is not necessarily the person who approves every action; it is the accountable team for the agent definition and lifecycle. The principal is the person or system whose authority is delegated, and the runtime identity distinguishes one execution from another. Policy and credential references make the decision reproducible without storing raw secrets. Software version, model, and tool configuration should also be linked when they can affect behavior, but sensitive prompts and credentials belong in protected logs referenced by the record, not inside identity claims.

agent_definition_id: expense-agent-v3
owner: [email protected]
purpose: validate-expenses-and-draft-payment
runtime_instance_id: run_01K...
principal_id: user_alice
delegation_id: dlg_01K...
task_id: task_01K...
policy_version: expense-prod-17
credential_id: ephemeral_token_fingerprint
tools_allowed: [receipt-reader, payment-draft]
approval_required_for: [payment-submit]
created_at: 2026-09-24T09:00:00Z
expires_at: 2026-09-24T09:30:00Z

Bind authority to the task, not merely the agent

The most dangerous design is a long-lived credential attached to an agent because “it may need it later.” Autonomous execution makes standing privilege more consequential: a prompt injection, poisoned document, or flawed plan can reuse that credential at machine speed. A stronger design does not merely tell the agent to be careful; it gives the authority an explicit task, audience, action scope, and expiry, then ends it automatically with the task. The following task-scoped flow places enforcement in the credential broker, policy engine, and resource server instead of relying on model self-restraint:

This is where the boundary between person and agent becomes enforceable. The person authorizes a purpose and constrained action space; the agent chooses steps inside that space; the resource server independently enforces the token and policy. A chat message saying “be careful” is not an authorization boundary, and a high-risk tool cannot treat the model's own claim as access control. Payments make the distinction concrete: an agentic payment authorization stack must encode budgets, merchants, transactions, and delegation as machine-verifiable constraints rather than hand the agent a reusable spending credential.

  1. A principal requests a defined task.
  2. Policy evaluates the principal, agent definition, target resource, risk, and current context.
  3. The system creates a runtime instance and delegation record.
  4. A credential broker issues an audience-bound, short-lived credential for only the required tools and actions.
  5. High-impact steps require a separate approval or transaction token.
  6. Every tool call records the runtime, delegation, policy decision, input digest, and result.
  7. Completion, cancellation, timeout, or revocation ends the authority.

Map products to the identity layer you need

No product label settles the architecture because “agent identity” spans six different jobs: maintaining the identity object, proving the running instance, exchanging short-lived credentials, representing user delegation, enforcing policy at the final resource, and managing discovery, ownership, review, revocation, and audit. Products enter this chain at different points. The practical comparison is therefore not which vendor has the longest feature list, but which control plane should own each job and how the identifiers survive across the boundaries.

The table is a map of responsibility, not a completeness score. Entra or Okta can remain the system of record while Google Agent Identity, AgentCore Identity, SPIRE, or Teleport proves the workload that is actually running. Auth0 or Descope can carry a user's delegated grant while Aembit, a gateway, or the target API performs the last policy check. Those combinations are useful only if they preserve common identifiers; otherwise, the stack has several good controls and no defensible chain between them.

Choose the implementation path from the hardest control gap. If unmanaged agents and orphaned access are the immediate risk, start with an enterprise identity system and require every runtime to map back to its registered object and owner. If the estate is concentrated in one cloud, begin with that cloud's runtime identity and IAM enforcement, then export the agent and principal identifiers into the enterprise inventory. If the product promise is “act on my behalf,” start with delegated authorization, transaction-specific consent, and token exchange; a workload credential alone cannot represent the user grant. If the environment is hybrid and credential-heavy, put an independent access plane in front of tools, but keep the enterprise directory as the ownership source.

Build from SPIFFE/SPIRE, Vault or Teleport, and cloud federation when infrastructure control or portability justifies the operational cost. SPIRE attests nodes and workloads before issuing SVIDs, while Vault, Teleport, Google Workload Identity Federation, and AWS STS can supply dynamic or temporary credentials. None of those components, by itself, records why an agent exists, which user delegated a task, who must review its access, or how every downstream action joins back to that decision. Treat them as strong primitives, not a complete agent identity platform.

Whatever path you choose, test one sensitive action end to end. The identity object should name an owner; the runtime proof should map to that object; the broker should issue a task- and audience-bound credential; the resource should enforce the final policy; discovery should expose the active grant; revocation should stop it; and the logs should join the user, agent, tool, and resource without relying on a display name.

Solution roleStrongest ownershipWhat still needs an explicit designBest fit
Enterprise identity system
Microsoft Entra Agent ID; Okta for AI Agents
Durable agent objects, organizational ownership, access relationships, and lifecycle. Entra adds blueprints and human sponsors; Okta registers agents and models lifecycle and resource connections.Runtime attestation outside supported integrations, target-side enforcement in non-native systems, and one audit correlation model across every tool.Organizations that need a central inventory, accountable owners, access reviews, and revocation across many agent teams.
Cloud-native runtime identity
Google Cloud Agent Identity; Amazon Bedrock AgentCore Identity
Identity tied to the hosted agent runtime and credential acquisition inside its cloud. Google uses a lifecycle-bound SPIFFE identity with Cloud IAM; AgentCore provides workload identities, credential providers, and a token vault for AWS and third-party access.Cross-cloud inventory, enterprise sponsor and review workflows, and audit continuity after a request leaves the cloud boundary.Agents primarily deployed and governed inside one cloud platform.
Developer delegation layer
Auth0 for AI Agents; Descope Agentic Identity Hub
User authentication, consent, delegated API access, token exchange, and downstream credential storage. Auth0 supports CIBA-based approval and a token vault; Descope combines agentic clients, resources, connections, policies, and exchange audit events.Proof of the physical or cloud workload running the agent, enterprise-wide orphan detection, and enforcement by APIs that do not validate the issued token or policy.Product teams whose main problem is letting an agent call first- and third-party APIs on behalf of a user.
Independent access plane
Aembit
Workload verification, access-policy evaluation, credential brokering, and runtime injection across cloud and SaaS targets.The durable business identity of the agent, human sponsorship, user-consent semantics, and organization-wide lifecycle governance.Hybrid or multicloud estates that need one execution-time control point without moving agent ownership into a single cloud.
Composable building blocks
SPIFFE/SPIRE plus Vault or Teleport, with cloud WIF or STS
Workload attestation, short-lived SVIDs or certificates, dynamic credentials, and federation into cloud-native authorization.The agent registry, user delegation, owner reviews, policy joins, revocation propagation, and a unified user-to-agent-to-tool-to-resource audit chain.Platform teams willing to operate the integration and retain control over trust domains, issuers, brokers, and policy engines.

Build an evidence chain for failure

When an incident occurs, the system should not reconstruct events from screenshots and chat memory, because neither proves which policy and credential actually governed an action. Investigators need joinable identifiers that cross the orchestrator, identity provider, tool gateway, and resource service. At minimum, the evidence chain should answer the following questions directly:

An audit event should be append-only or tamper-evident and carry joinable IDs across the orchestrator, identity provider, tool gateway, and resource service. Logging raw prompts alone is insufficient: prompts may contain secrets, may be truncated, and do not prove which policy or credential was used. Conversely, conventional access logs may prove a token called an API but omit the user request and delegation chain.

Accountability is shared, not transferred to the agent. The platform team owns identity and policy design; the agent owner owns configuration and lifecycle; the authorizing principal owns decisions genuinely presented for approval; the resource owner enforces final access; vendors remain responsible for their product behavior and representations. Good records let an organization assign responsibility based on control, not convenience.

  • Which principal initiated or approved the task?
  • Which agent definition, version, and runtime instance acted?
  • What data and instructions entered the decision context?
  • What policy version allowed or denied each sensitive step?
  • Which credential was issued, for what audience and expiry?
  • Which tool or downstream agent executed the action?
  • Was human approval requested, displayed accurately, and recorded?
  • Can the credential and all descendant delegations be revoked?

Human approval helps, but it is not a liability switch

“A human clicked approve” does not automatically make the human responsible. Approval has evidentiary value only if the interface showed the material action, target, scope, and consequences. Repeated vague prompts create consent fatigue. NIST's AI Risk Management Framework does not treat a human in the loop as a sufficient control by itself: it calls for clearly defined oversight roles and attention to cognitive bias in human-AI decisions.

Use approval for boundary crossings rather than every low-risk step. A draft can be automatic; sending to an external recipient may require confirmation. Reading a permitted folder can be automatic; publishing, paying, deleting, or widening access deserves a transaction-specific decision. The approval event should bind to the exact action digest so that the agent cannot obtain consent for one request and execute another.

The interface matters here. A good approval screen explains what will happen in terms the principal understands. A terminal prompt, IDE diff, or graphical confirmation can all work if it exposes the same material facts and does not hide the target behind a generic “Allow” button.

Architecture checklist

Before an agent reaches production, use the following controls to expose common breaks in the responsibility chain. The checklist does not replace threat modeling: each control must be tested against a real task to show that it blocks excess authority and leaves usable evidence. Treat every listed failure signal as a release blocker, not a future optimization.

Not every internal prototype needs a new identity platform. A single-user, read-only local agent may be adequately controlled by the operating-system account and repository history; once it executes untrusted code, evaluate the isolation boundary separately with an AI agent sandbox guide, because identity limits authority while a sandbox limits execution and blast radius. The need becomes urgent when agents are multi-user, long-running, delegated, able to write to external systems, or numerous enough that service-account ownership is no longer obvious.

ControlMinimum acceptable behaviorFailure signal
InventoryEvery production agent has an owner and purposeUnknown or orphaned agents
Runtime identityEach execution is distinguishableShared account across all runs
DelegationPrincipal and on-behalf-of chain are recordedUser token copied into agent
CredentialsShort-lived, audience- and task-scopedStatic API key in prompt or environment
AuthorizationResource enforces policy independentlyAgent prompt is the only restriction
ApprovalHigh-impact action is shown preciselyGeneric repeated consent prompts
AuditEvents join across agent, tool, and resourceLogs cannot identify the acting run
RevocationActive and descendant authority can end quicklyWaiting for a long token expiry
IsolationCredentials stay outside model context where possibleTool secrets visible to generated text

Adjacent systems do not replace agent identity

A multi-agent orchestration and collaboration architecture coordinates state, role division, and handoffs but does not automatically prove whose authority a downstream agent inherited. A sandbox limits where code runs but does not say whose authority a tool call carries. OAuth integration products can connect Gmail or Slack without providing enterprise-wide discovery and lifecycle. Human authentication proves who signed into the app but does not automatically identify every delegated agent instance.

These systems should connect rather than compete. Workload identity authenticates the running process. Delegation binds it to a principal. A credential broker narrows access. The sandbox limits execution. The runtime propagates task and trace IDs. The tool gateway enforces action policy. Audit joins the evidence into a chain that can survive an incident review.

Conclusion

The core design question for agent identity is not “Can we name this agent?” It is “Can we explain and constrain this action, then assign responsibility to the parties that actually controlled it?” A production design must preserve the difference between the agent's technical identity and the person or organization it represents, beginning with stable ownership, unique runtime identities, explicit delegation, task-scoped credentials, resource-side enforcement, and joinable audit events. Standards and vendors will continue to evolve, but that accountability chain is the durable requirement; if a failed action cannot be traced from principal to agent to policy to tool, the system does not yet have meaningful agent identity.

References

  1. Accelerating the Adoption of Software and AI Agent Identity and Authorization (NIST NCCoE · 2026-02) — Identification, authorization, auditing, non-repudiation, and binding agent actions to human authorization.
  2. SPIFFE Concepts (SPIFFE · 2026) — Workload identity, SPIFFE IDs, trust domains, and short-lived verifiable identity documents.
  3. OAuth Profile for Delegated AI Agent Authorization (IETF Internet-Draft · 2026-08) — Work in progress on explicit agent clients, sender-constrained credentials, and attenuated delegation.

Frequently Asked Questions

What is AI agent identity?
It is the system that identifies an agent definition and runtime, authenticates the workload, binds delegated authority and task policy, and preserves evidence for accountability.
Can an agent use the human user's access token?
Avoid copying broad user tokens into an agent. Prefer an explicit delegation record and a short-lived, audience- and task-scoped credential so logs distinguish the principal from the acting runtime.
Does human approval make the user responsible for every result?
No. Approval is meaningful only when the interface accurately shows the material action, target, scope, and consequences. Responsibility follows actual control and system design, not a generic Allow click.
Is workload identity enough for an AI agent?
No. Workload identity proves which process is calling. Agent accountability also needs the principal, task, delegation, policy decision, tool action, and audit chain.

If an Agent Can Act, Its Actions Must Be Accountable.

Map the responsibility chain from principal to agent, policy, and tool, then turn identity, authorization, and audit into a production architecture.

Work with me

This site uses cookies and similar technologies for analytics, personalized ads (via Google AdSense), and essential functions. By clicking “Accept All”, you consent to our use of cookies. You can reject non-essential cookies by clicking “Reject All”.

Privacy Policy