Internet-Draft Agent Session Requirements August 2026
Feng Expires 16 February 2027 [Page]
Workgroup:
agentproto
Internet-Draft:
draft-feng-agentproto-session-requirements-00
Published:
Intended Status:
Informational
Expires:
Author:
C. Feng

Requirements for Agent Session Establishment and Capability Negotiation

Abstract

This document defines requirements for the establishment of sessions between entities and for the negotiation of capabilities within such sessions. It is assumed that the entities involved already know of each other; how they came to know each other is outside the scope of this document. At least one party to a session is an agent as defined in Section 3. This document is intended as a contribution to the agentproto working group's use cases, gap analysis, and requirements deliverable.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

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/.

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."

This Internet-Draft will expire on 16 February 2027.

Table of Contents

1. Introduction

Autonomous agents collaborating across administrative domains require a common understanding of when a session begins, what each side is capable of, and which capabilities are in effect for a given interaction. This document states requirements for session establishment and capability negotiation that follow from these needs.

Session establishment is orthogonal to peer location. Two entities may come to know of each other through intent routing, through directory-based discovery, or because one side cached the other's information from a previous session. In all cases, the same session establishment flow applies. This document therefore assumes that the entities already know of each other and does not presuppose any particular locating mechanism.

The need for this document follows from gaps stated by adjacent work. The DAWN problem statement explicitly places the exchange that follows discovery outside its scope: "after discovery, an interview-style exchange may be conducted using the communication method indicated by the entity — outside the scope of DAWN" [I-D.akhavain-moussa-dawn-problem-statement]. The DAWN terminology likewise defines capability exchange, negotiation, and selection as out of scope for DAWN [I-D.farrel-dawn-terminology]. Intent routing [I-D.feng-dmsc-intent-routing-requirements] addresses how a request reaches an entity, not what happens once it does. Session establishment and capability negotiation, the subject of this document, fall between these efforts.

2. Scope

This document defines requirements for:

It is assumed that the entities involved already know of each other. How they came to know each other — whether through intent routing, directory-based discovery, information cached from a prior session, or any other mechanism — is outside the scope of this document and does not affect the requirements stated herein.

At least one party to a session MUST be an agent as defined in Section 3. A session between two deterministic systems, neither of which is an agent, is outside the scope of this document.

The following are out of scope:

This document is a requirements document, not a solution document. It deliberately does not specify how the requirements are to be met.

3. Terminology

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] [RFC8174] when, and only when, they appear in all capitals, as shown here.

Agent
An autonomous software entity capable of perceiving its environment, making decisions, and acting to achieve goals on behalf of a user or another agent.
Entity
A party to a session. An entity MAY be an agent, a deterministic program such as an MCP server, a human, or a system acting on a human's behalf. The term is consistent with its use in the DAWN work [I-D.farrel-dawn-terminology].
Originator
An entity that initiates a session with another entity in order to request an action or obtain a result.
Handler
An entity that may be selected by an originator to perform an action or provide a result.
Capability
A function, service, or behavior that an entity is able to offer.
Capability Card
A structured description of an entity's capabilities, as defined in the DAWN work [I-D.farrel-dawn-terminology]. A capability card is a container; its content format is not specified by DAWN.
Capability Description Language (CDL)
The machine-readable language used in this document to describe the capabilities contained in a capability card. A CDL is a concrete description of a capability card's content. The CDL concept originates from the AIN architecture [I-D.feng-nmrg-ain-architecture].
Session
An association established between two entities for the purpose of collaboration, encompassing the negotiated capabilities and the interactions that take place under them.

4. Requirements

4.1. REQ-1: Timing of Capability Negotiation

Capability negotiation MUST be completed before the session is considered established. A session MUST NOT be presented as usable for collaboration unless capability negotiation has succeeded.

Rationale: An originator cannot meaningfully commit to a session if it does not know whether the handler can satisfy the intended action. Negotiation is a precondition of the session, not a detail of it.

4.2. REQ-2: Endpoint Autonomy

Capability declaration and negotiation MUST be decided by the entities that hold them. Discovery and routing layers MUST NOT make or substitute for capability decisions on behalf of either entity.

Rationale: Capability is a property of the entity. Any party that does not hold the capability cannot truthfully declare it, and any intermediate layer that preselects on capability inserts itself into an autonomy boundary it does not own.

4.3. REQ-3: Negotiation over the Direct Connection

Once a direct connection between the two entities is established, capability negotiation MUST take place over that connection and MUST NOT traverse any intermediate intent routing or discovery layer.

Rationale: Negotiation content is private to the session entities. Routing layers are involved only in getting the entities to each other; once they are connected, the negotiation proceeds directly between them. An implementation in which negotiation traverses an intermediate layer violates this requirement.

4.4. REQ-4: Mutual Selection Rights

Both entities MUST retain selection rights. The originator selects the handler it wishes to engage, and the handler MAY choose to connect to the originator actively, to respond passively, or to decline.

Rationale: Selection is not one-directional. A handler is an autonomous party with its own interests and constraints; its choice of whether and how to engage is part of the negotiation, not an outcome imposed by the originator.

4.5. REQ-5: Authorization Boundary

Successful session establishment MUST NOT be presented as authorization to execute the requested action. Execution authorization is a separate decision that MUST be made explicitly.

Rationale: Routing and session establishment answer "can these entities talk to each other"; they do not answer "may this action be performed". Conflating the two creates a security boundary violation, particularly when a routing layer is involved in getting the entities together.

4.6. REQ-6: Session Lifecycle Management

Session revocation, transfer of session ownership, and the termination of negotiated capabilities MUST be expressible explicitly by either entity.

Rationale: Sessions are not static. A handler may lose a capability, an originator may need to transfer a session to another entity, and either side may revoke. A session model that cannot express these transitions cannot be managed safely.

5. Security Considerations

The security properties of this document follow from REQ-3 and REQ-5. Because negotiation occurs over the direct connection (REQ-3), intermediate layers have no opportunity to observe or tamper with capability content. Because session establishment does not confer execution authority (REQ-5), the blast radius of a compromised routing or discovery layer is limited to connection establishment, not to the actions performed within the session.

Entities SHOULD authenticate each other before engaging in capability negotiation. Capability declarations are claims made by the declaring entity and are subject to its own trust and verification policies. Where one entity is a human, execution authorization is ultimately a human decision; session establishment must not be presented to the human as having authorized execution.

6. IANA Considerations

This document has no IANA actions.

7. References

7.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.

7.2. Informative References

[I-D.farrel-dawn-terminology]
Farrel, A., Yao, K., Schott, R., and N. Williams, "Terminology for the Discovery of Agents, Workloads, and Named Entities (DAWN)", Work in Progress, Internet-Draft, draft-farrel-dawn-terminology-04, , <https://datatracker.ietf.org/doc/html/draft-farrel-dawn-terminology>.
[I-D.akhavain-moussa-dawn-problem-statement]
Akhavain, A., Moussa, H., King, D., and K. Yao, "Problem Statement for the Discovery of Agents, Workloads, and Named Entities (DAWN)", Work in Progress, Internet-Draft, draft-akhavain-moussa-dawn-problem-statement-04, , <https://datatracker.ietf.org/doc/html/draft-akhavain-moussa-dawn-problem-statement>.
[I-D.feng-nmrg-ain-architecture]
Feng, C., "AIN Architecture", Work in Progress, Internet-Draft, draft-feng-nmrg-ain-architecture-01, , <https://datatracker.ietf.org/doc/html/draft-feng-nmrg-ain-architecture>.
[I-D.feng-dmsc-intent-routing-requirements]
Feng, C., "Requirements for Intent Routing in DMSC", Work in Progress, Internet-Draft, draft-feng-dmsc-intent-routing-requirements-00, , <https://datatracker.ietf.org/doc/html/draft-feng-dmsc-intent-routing-requirements>.

Author's Address

Chong Feng