AI Agent Authentication and Authorization (IETF Internet-Draft) The Internet Engineering Task Force (IETF) has published an Internet-Draft titled 'AI Agent Authentication and Authorization' (draft-klrc-aiagent-auth-03), proposing best practices for authenticating and authorizing AI agent interactions by leveraging existing standards such as the Workload Identity in Multi-System Environments (WIMSE) architecture and OAuth 2.0. The draft, authored by Kasselman et al., expires on 7 January 2027, and aims to provide a framework to identify gaps and guide future standardization efforts. | Internet-Draft | AI-Auth | July 2026 | | Kasselman, et al. | Expires 7 January 2027 | Page | - Workgroup: - Network Working Group - Internet-Draft: - draft-klrc-aiagent-auth-03 - Published: - Intended Status: - Informational - Expires: AI Agent Authentication and Authorization Abstract abstract This document proposes best practices for authentication and authorization of AI agent interactions. It leverages existing standards such as the Workload Identity in Multi-System Environments WIMSE architecture and OAuth 2.0 family of specifications. Rather than defining new protocols, this document describes how existing and widely deployed standards can be applied or extended to establish agent authentication and authorization. By doing so, it aims to provide a framework within which to use existing standards, identify gaps and guide future standardization efforts for agent authentication and authorization. ¶ section-abstract-1 About This Document name-about-this-document This note is to be removed before publishing as an RFC. ¶ section-note.1-1 The latest revision of this draft can be found at https://PieterKas.github.io/agent2agent-auth-framework/draft-klrc-aiagent-auth.html https://PieterKas.github.io/agent2agent-auth-framework/draft-klrc-aiagent-auth.html . Status information for this document may be found at https://datatracker.ietf.org/doc/draft-klrc-aiagent-auth/ https://datatracker.ietf.org/doc/draft-klrc-aiagent-auth/ . ¶ section-note.1-2 Source for this draft and an issue tracker can be found at https://github.com/PieterKas/agent2agent-auth-framework https://github.com/PieterKas/agent2agent-auth-framework . ¶ section-note.1-3 Status of This Memo name-status-of-this-memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. ¶ section-boilerplate.1-1 Internet-Drafts are working documents of the Internet Engineering Task Force IETF . Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/ https://datatracker.ietf.org/drafts/current/ . ¶ section-boilerplate.1-2 Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." ¶ section-boilerplate.1-3 This Internet-Draft will expire on 7 January 2027. ¶ section-boilerplate.1-4 Copyright Notice name-copyright-notice Copyright c 2026 IETF Trust and the persons identified as the document authors. All rights reserved. ¶ section-boilerplate.2-1 This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents https://trustee.ietf.org/license-info https://trustee.ietf.org/license-info in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. ¶ section-boilerplate.2-2 1. section-1 Introduction name-introduction The rapid emergence of AI agents as autonomous workloads has sparked considerable innovation in authentication and authorization approaches. However, many of these efforts develop solutions in isolation, often reinventing existing mechanisms unaware of applicable prior art. This fragmentation risks creating incompatible implementations, duplicated development effort, and missed opportunities to leverage decades of established identity and authorization standards. ¶ section-1-1 This document aims to help close that gap by providing a comprehensive model demonstrating how existing, well-established standards and some emergent specifications can be composed and applied to solve agent authentication and authorization challenges. Rather than proposing new protocols, this work focuses on integrating proven standards into a coherent framework tailored to the specific requirements of AI agent workloads. ¶ section-1-2 By doing so, this document serves two complementary goals: ¶ section-1-3 - Consolidation of prior art : It establishes a baseline by showing how existing standards address the core identity, authentication, authorization, monitoring and observability needs of agent-based systems. Implementers and standards developers can reference this framework to avoid redundant work and ensure interoperability. ¶ section-1-4.1.1 - Foundation for future work : As the agent ecosystem matures, having such a framework aids in identifying gaps and clarifies where extensions or profiles of existing standards are needed. This provides a foundation for more focused standardization efforts in areas needing novel work rather than variations of existing approaches. ¶ section-1-4.2.1 2. section-2 Document Status name-document-status This document profiles existing standards and emerging specifications from the IETF, CNCF, and OpenID Foundation, as well as third-party protocols and mechanisms, for the AI agent use case. It defines best current practices for combining these and identifies new requirements specific to agent authentication and authorization. ¶ section-2-1 3. section-3 Conventions and Definitions name-conventions-and-definitions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 RFC2119 RFC2119 RFC8174 RFC8174 when, and only when, they appear in all capitals, as shown here. ¶ section-3-1 4. section-4 Agents are workloads name-agents-are-workloads An Agent is a workload that iteratively interacts with a Large Language Model LLM and a set of Tools, Services and Resources. An agent performs its operations until a terminating condition, determined either by the LLM or by the agent's internal logic, is reached. It may receive input from a user, or act autonomously. Figure 1 fig-ai-agent-workload shows a conceptual model of the AI Agent as a workload and illustrates the high-level interaction model between the User or System, the AI Agent, the Large Language Model LLM , Tools, Services, and Resources. ¶ section-4-1 In this document, Tools, Services, and Resources are treated as a single category of external endpoints that an agent invokes or interacts with to complete a task. Communication within or between Tools, Services, and Resources is out of scope. ¶ section-4-2 - Optional: The User or System e.g. a batch job or another Agent provides an initial request or instruction to the AI Agent. ¶ section-4-4.1.1 - The AI Agent provides the available context to the LLM. Context is implementation, and deployment, specific and may include User or System input, system prompts, Tool descriptions, prior Tool, Service and Resource outputs, and other relevant state. ¶ section-4-4.2.1 - The LLM returns output to the AI Agent facilitating selection of Tools, Services or Resources to invoke. ¶ section-4-4.3.1 - The AI Agent invokes one or more external endpoints of selected Tools, Services or Resources. A Tool endpoint may itself be implemented by another AI agent. ¶ section-4-4.4.1 - The external endpoint of the Tools, Services or Resources returns a result of the operation to the AI Agent, which may send the information as additional context to the Large Language Model, repeating steps 2-5 until the exit condition is reached and the task is completed. ¶ section-4-4.5.1 - Optional: Once the exit condition is reached in step 5, the AI Agent may return a response to the User or System. The AI Agent may also return intermediate results or request additional input. ¶ section-4-4.6.1 As shown in Figure 1 fig-ai-agent-workload , the AI agent is a workload that needs an identifier and credentials so it can be authenticated by the Tools, Services, Resources, Large Language Model, System and the User via the underlying operating system or platform, similar to existing applications and services . Once authenticated, these parties determine if the AI Agent is authorized to access the requested Large Language Model, Tools, Services or Resources. If the AI Agent is acting on behalf of a User or System, the User or System needs to delegate authority to the AI Agent, and the User or System context is preserved and used as input to authorization decisions and recorded in audit trails. ¶ section-4-5 This document describes how AI Agents should leverage existing standards defined by SPIFFE SPIFFE SPIFFE , WIMSE, OAuth and OpenID SSF SSF SSF . ¶ section-4-6 5. section-5 Agent Identity Management System name-agent-identity-management-s This document defines the term Agent Identity Management System AIMS as a conceptual model describing the set of functions required to establish, maintain, and evaluate the identity and permissions of an agent workload. AIMS does not refer to a single product, protocol, or deployment architecture. AIMS may be implemented by one component or distributed across multiple systems such as identity providers, provisioning services, authorization servers, policy engines, and runtime enforcement points . ¶ section-5-1 An Agent Identity Management System ensures that the right Agent has access to the right resources and tools at the right time for the right reason. An Agent identity management system depends on the following components to achieve its goals: ¶ section-5-2 - Agent Identifiers: Unique identifier assigned to every Agent. ¶ section-5-3.1.1 - Agent Credentials: Cryptographic binding between the Agent Identifier and attributes of the Agent. ¶ section-5-3.2.1 - Agent Credential Provisioning: The mechanism for provisioning credentials to the agent at runtime. ¶ section-5-3.3.1 - Agent Authentication: Protocols and mechanisms used by the Agent to authenticate itself to Large Language Models or Tools resource or server in the system. ¶ section-5-3.4.1 - Agent Authorization: Protocols and systems used to determine if an Agent is allowed to access a Large Language Model or Tool resource or server . ¶ section-5-3.5.1 - Agent Observability and Remediation: Protocols and mechanisms to dynamically modify the authorization decisions based on observed behavior and system state. ¶ section-5-3.6.1 - Agent Authentication and Authorization Policy: The configuration and rules for each of the Agent Identity Management System. ¶ section-5-3.7.1 - Agent Compliance: Measurement of the state and functioning of the system against the stated policies. ¶ section-5-3.8.1 The components form a logical stack in which higher layers depend on guarantees provided by lower layers, as illustrated in Figure 2 fig-agent-identity-management-system . ¶ section-5-4 6. section-6 Agent Identifier name-agent-identifier Agents MUST be uniquely identified in order to support authentication, authorization, auditing, and delegation. ¶ section-6-1 The Workload Identity in Multi-System Environments WIMSE identifier as defined by WIMSE-ID WIMSE-ID is the primary identifier for agents in this framework. ¶ section-6-2 A WIMSE identifier is a URI that uniquely identifies a workload within a trust domain. Authorization decisions, delegation semantics, and audit records rely on this identifier remaining stable for the lifetime of the workload identity. ¶ section-6-3 The Secure Production Identity Framework for Everyone SPIFFE SPIFFE identifier is a widely deployed and operationally mature instance of the WIMSE identifier model WIMSE-ID WIMSE-ID . A SPIFFE identifier SPIFFE-ID SPIFFE-ID is a URI in the form of spiffe://