Agent Communication Protocols T. Ding Internet-Draft Tsinghua University Intended status: Informational 1 December 2026 Expires: 4 June 2027 A Protocol-Agnostic Reference Model for Capability-Negotiated, Verifiable Tool Invocation and Cross-Domain Agent Interoperability draft-ding-agentproto-governed-tool-invocation-00 Abstract As autonomous AI agents evolve from single-vendor assistants into heterogeneous, internet-scale multi-agent systems, interoperability has bifurcated into two loosely coupled layers: Agent-to-Agent (A2A) dialog and delegation protocols, and Agent-to-Tool (A2T) invocation protocols (such as the Model Context Protocol or OpenAPI-based function bindings). Existing standardization efforts primarily address transport framing, capability discovery, or protocol-specific vulnerability catalogs, leaving an architectural gap at the boundary where cross-domain agent delegation triggers external tool execution. This document specifies a protocol-agnostic reference model for capability-negotiated, verifiable tool invocation across administrative domains. It defines: (1) a four-plane decoupled interoperability architecture; (2) a formal side-effect taxonomy and deterministic invocation lifecycle state machine; (3) an attenuated capability-delegation invariant to mitigate multi-hop confused-deputy and protocol-pivoting attacks; and (4) a minimal Verifiable Execution Receipt (VER) metadata model for cryptographically auditable tool invocations. 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 4 June 2027. Ding Expires 4 June 2027 [Page 1] Internet-Draft Governed Agent Tool Invocation December 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Conventions and Definitions . . . . . . . . . . . . . . . 3 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 3. Four-Plane Decoupled Interoperability Architecture . . . . . 4 4. Side-Effect Taxonomy and Tool Invocation Lifecycle . . . . . 5 4.1. Formal Side-Effect Classification . . . . . . . . . . . . 5 4.2. Deterministic Invocation Lifecycle State Machine . . . . 7 5. Attenuated Capability Delegation Model . . . . . . . . . . . 8 6. Verifiable Execution Receipt (VER) Metadata Schema . . . . . 9 7. Protocol Mapping Guidance . . . . . . . . . . . . . . . . . . 10 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11 9. Security Considerations . . . . . . . . . . . . . . . . . . . 11 10. Privacy Considerations . . . . . . . . . . . . . . . . . . . 11 11. References . . . . . . . . . . . . . . . . . . . . . . . . . 11 11.1. Normative References . . . . . . . . . . . . . . . . . . 11 11.2. Informative References . . . . . . . . . . . . . . . . . 12 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 13 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 13 1. Introduction Modern agentic systems orchestrate reasoning models, peer agents, and external software tools across distinct organizational and administrative boundaries. While ongoing efforts in the IETF agentproto Working Group and related standards bodies address baseline dialog management, agent discovery, and normalized tool APIs ([I-D.ietf-agentproto-usecases-requirements], [I-D.zahed-agent-comm-framework], [I-D.rosenberg-aiproto]), composing A2A delegation protocols with A2T execution protocols exposes three structural failure modes: Ding Expires 4 June 2027 [Page 2] Internet-Draft Governed Agent Tool Invocation December 2026 1. *Semantic and Side-Effect Ambiguity:* Tool schemas typically specify syntactic input/output types (e.g., JSON Schema) while omitting operational semantics such as idempotency, reversibility, latency bounds, and external side-effect severity. Orchestrators consequently cannot deterministically decide whether to retry, compensate, or require Human-in-the-Loop (HITL) approval. 2. *Privilege Escalation Across Multi-Hop Delegation (Protocol Pivoting):* When Agent A delegates a subtask to Agent B over an A2A channel, and Agent B invokes Tool T over an A2T channel, authorization context is frequently flattened into broad ambient service credentials. As highlighted in recent security analyses ([I-D.mohiuddin-mcp-security-considerations], [OWASP-AGENTIC]), this enables confused-deputy and protocol-pivoting attacks where untrusted data injected at one hop triggers unauthorized high- impact tool execution at another. 3. *Non-Verifiable Execution Provenance:* In cross-domain workflows, the originating principal lacks a standardized, tamper-evident artifact proving which policy approved an invocation, which exact arguments were executed under which delegated authority, and what outcome was produced. This document abstracts away from specific wire formats and vendor frameworks to establish a protocol-agnostic reference model and requirement set suitable for binding onto agentproto dialogs, OAuth/ WIMSE security profiles, and A2T ecosystems. 1.1. 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] [RFC8174] when, and only when, they appear in all capitals, as shown here. 2. Terminology The following terms are used throughout this document: Principal: A human user or legal organization that originates intent and holds root authority for a task. Agent: An autonomous software entity capable of perception, planning, communication, and invoking tools or delegating tasks to peer agents. Ding Expires 4 June 2027 [Page 3] Internet-Draft Governed Agent Tool Invocation December 2026 Tool: An external deterministic or non-deterministic capability (API, database, physical actuator, or sub-service) exposed via a callable interface. Capability Descriptor (CD): A machine-readable declaration of a tool's or agent's interface schema, semantic preconditions, side- effect class, and governance requirements. Delegation Chain: An ordered sequence of principals and agents [P_0, A_1, A_2, ..., A_k] through which authority is progressively scoped and transferred. Policy Decision Point (PDP) / Policy Enforcement Point (PEP): Logical governance components that evaluate and enforce authorization, side-effect thresholds, and HITL gates prior to tool execution. Verifiable Execution Receipt (VER): A cryptographically signed, structured record binding delegation context, invocation intent, policy decision, input/output digests, and terminal execution status. 3. Four-Plane Decoupled Interoperability Architecture To prevent tight coupling between transport bindings, semantic contracts, and governance enforcement, cross-domain agent-tool interoperability is modeled across four orthogonal planes as shown in Figure 1. +-------------------------------------------------------------------+ | Plane 4: Verifiable Audit & Provenance Plane | | (Execution Receipts [VER], Non-Repudiation, Audit Telemetry) | +-------------------------------------------------------------------+ | Plane 3: Governed Execution & Side-Effect Plane | | (Lifecycle State Machine, PEP/PDP, HITL, Idempotency/Rollback) | +-------------------------------------------------------------------+ | Plane 2: Negotiation & Semantic Contract Plane | | (Capability Negotiation, Attenuated Tokens, SLA/Cost Budgets) | +-------------------------------------------------------------------+ | Plane 1: Discovery & Transport Plane | | (Registries, Cryptographic Identity, A2A/A2T Wire Bindings) | +-------------------------------------------------------------------+ Figure 1: Four-Plane Cross-Domain Agent-Tool Interoperability Model * *Plane 1 (Discovery and Transport)* handles endpoint discovery, workload and principal identity resolution, and wire-level framing (e.g., HTTP/2, JSON-RPC, gRPC). Ding Expires 4 June 2027 [Page 4] Internet-Draft Governed Agent Tool Invocation December 2026 * *Plane 2 (Negotiation and Semantic Contract)* enables agents and tool providers to negotiate compatible interface versions, side- effect declarations, cost/latency ceilings, and attenuated authorization scopes prior to invocation. * *Plane 3 (Governed Execution and Side-Effect)* enforces deterministic lifecycle transitions, argument validation, side- effect gating, and fault recovery (retry versus compensation). * *Plane 4 (Verifiable Audit and Provenance)* emits standardized receipts linking Plane 2 contracts and Plane 3 outcomes into an auditable lineage across administrative boundaries. 4. Side-Effect Taxonomy and Tool Invocation Lifecycle 4.1. Formal Side-Effect Classification Every exposed tool capability MUST declare a minimum side-effect class in its Capability Descriptor according to Table 1. Ding Expires 4 June 2027 [Page 5] Internet-Draft Governed Agent Tool Invocation December 2026 +=======+==============+=================+=============+============+ | Class | Label | Operational | Safe Auto- | Default | | | | Semantics | Retry | Governance | | | | | | Gate | +=======+==============+=================+=============+============+ | R0 | Pure / Read- | No state | Yes | Scope | | | Only | mutation; | | check | | | | observation or | | (PDP) | | | | pure | | | | | | computation | | | | | | only. | | | +-------+--------------+-----------------+-------------+------------+ | W1 | Idempotent | Mutates state; | Yes (with | Scope + | | | Write | repeated | key) | rate/quota | | | | identical | | check | | | | calls with the | | | | | | same | | | | | | idempotency | | | | | | key yield the | | | | | | same final | | | | | | state. | | | +-------+--------------+-----------------+-------------+------------+ | W2 | Compensable | Non-idempotent | No (query | Scoped | | | Write | state mutation | or | token + | | | | with a | compensate) | pre-check | | | | declared | | | | | | compensating | | | | | | action (Saga | | | | | | pattern). | | | +-------+--------------+-----------------+-------------+------------+ | W3 | Irreversible | Irreversible | Never | Mandatory | | | / High- | mutation | | step-up | | | Impact | (e.g., | | auth or | | | | financial | | HITL | | | | transfer, | | approval | | | | physical | | | | | | actuation, | | | | | | permanent | | | | | | deletion, | | | | | | external | | | | | | broadcast). | | | +-------+--------------+-----------------+-------------+------------+ Table 1: Formal Side-Effect Classification for Tool Invocations Ding Expires 4 June 2027 [Page 6] Internet-Draft Governed Agent Tool Invocation December 2026 4.2. Deterministic Invocation Lifecycle State Machine A governed tool invocation progresses through explicit states rather than an opaque request-response exchange, as illustrated in Figure 2. [DISCOVERED] --> [NEGOTIATED] --> [AUTHORIZED] --> [EXECUTING] ^ | | (W3 / Policy) | [AWAITING_APPROVAL] | v +------------------+--------------------+ | | | v v v [COMPLETED] [FAILED_RETRYABLE] [FAILED_TERMINAL] | | | | (R0/W1 retry) (W2 Saga rollback) | | v | | [COMPENSATING] | | | | | v | +------------> [COMPENSATED] | | +-------------------+-------------------+ v [ATTESTED] Figure 2: Governed Tool Invocation Lifecycle State Machine State transition rules: 1. *DISCOVERED -> NEGOTIATED:* The calling agent verifies the Capability Descriptor signature and negotiates schema version, side-effect class, idempotency key (REQUIRED for W1 and above), and resource budget. 2. *NEGOTIATED -> AUTHORIZED:* The PEP/PDP verifies the attenuated delegation token against the tool identifier, arguments, and side-effect class. For W3 tools (or policy-flagged W2 tools), the PEP MUST transition through AWAITING_APPROVAL to obtain explicit step-up or HITL consent before entering AUTHORIZED. 3. *AUTHORIZED -> EXECUTING:* Invocation executes under bounded timeout with a globally unique correlation identifier. Ding Expires 4 June 2027 [Page 7] Internet-Draft Governed Agent Tool Invocation December 2026 4. *EXECUTING -> Terminal/Recoverable States:* Only R0 and keyed W1 invocations MAY transition from FAILED_RETRYABLE back to EXECUTING. W2 failures in composite workflows SHOULD trigger COMPENSATING -> COMPENSATED. W3 invocations MUST NOT be automatically retried without re-authorization. 5. *Terminal State -> ATTESTED:* Upon reaching COMPLETED, FAILED_TERMINAL, or COMPENSATED, Plane 4 emits a Verifiable Execution Receipt (VER). 5. Attenuated Capability Delegation Model To prevent privilege escalation across multi-hop A2A-to-A2T chains, authority transfer MUST satisfy the Monotonic Attenuation Invariant: Given root principal permissions P_0 and per-hop delegated scopes S_1, S_2, ..., S_k, the effective authority E_k presented to Tool T (requiring capability set C_T) MUST satisfy: E_k = P_0 INTERSECT S_1 INTERSECT ... INTERSECT S_k E_k SUBSET_OR_EQUAL E_{k-1} C_T SUBSET_OR_EQUAL E_k Figure 3: Monotonic Attenuation Invariant Normative delegation requirements: * *REQ-DEL-1 (No Ambient Credential Substitution):* An intermediate agent MUST NOT substitute its own broad static service credentials for a delegated principal/agent token when invoking W1--W3 tools on behalf of an upstream principal. * *REQ-DEL-2 (Argument-Bound Constraints):* Capability tokens authorizing W2 and W3 invocations SHOULD support predicate constraints over critical parameters (e.g., max_amount <= 100, target_domain == "example.org"), mitigating prompt-injection- induced parameter tampering even when the tool identifier itself is authorized. * *REQ-DEL-3 (Short-Lived and Nonce-Bound W3 Tokens):* Execution tokens for W3 tools MUST be bound to a specific invocation nonce, canonical tool identifier, and short expiration window. * *REQ-DEL-4 (Cross-Protocol Context Continuity):* When crossing an A2A-to-A2T boundary, the delegation chain digest MUST be preserved in protocol metadata so that the tool-side PEP can distinguish direct user execution from multi-hop autonomous delegation. Ding Expires 4 June 2027 [Page 8] Internet-Draft Governed Agent Tool Invocation December 2026 6. Verifiable Execution Receipt (VER) Metadata Schema Plane 4 defines a minimal, wire-agnostic Verifiable Execution Receipt (VER) schema (Table 2) to enable cross-domain non-repudiation and regulatory auditability. +=======================+========+========+=========================+ | Field | Type | Req | Description | +=======================+========+========+=========================+ | ver_id | URI / | MUST | Globally unique | | | UUID | | receipt identifier. | +-----------------------+--------+--------+-------------------------+ | timestamp | RFC | MUST | UTC execution | | | 3339 | | completion time | | | | | [RFC3339]. | +-----------------------+--------+--------+-------------------------+ | delegation_chain_hash | Digest | MUST | Cryptographic | | | | | digest (e.g., SHA- | | | | | 256) of the ordered | | | | | delegation chain. | +-----------------------+--------+--------+-------------------------+ | tool_id | URI | MUST | Canonical | | | | | identifier of the | | | | | invoked tool. | +-----------------------+--------+--------+-------------------------+ | tool_version | String | MUST | Semantic version of | | | | | the tool interface. | +-----------------------+--------+--------+-------------------------+ | side_effect_class | Enum | MUST | Declared class (R0, | | | | | W1, W2, W3). | +-----------------------+--------+--------+-------------------------+ | policy_decision_ref | URI / | SHOULD | Reference to PDP | | | Digest | | policy version and | | | | | decision (including | | | | | HITL attestation | | | | | for W3). | +-----------------------+--------+--------+-------------------------+ | args_digest | Digest | MUST | Digest of | | | | | canonicalized | | | | | invocation | | | | | arguments (avoids | | | | | exposing PII). | +-----------------------+--------+--------+-------------------------+ | outcome_status | Enum | MUST | Terminal state | | | | | (COMPLETED, | | | | | FAILED_TERMINAL, | | | | | COMPENSATED). | +-----------------------+--------+--------+-------------------------+ Ding Expires 4 June 2027 [Page 9] Internet-Draft Governed Agent Tool Invocation December 2026 | result_digest | Digest | SHOULD | Digest of | | | | | canonicalized | | | | | output payload for | | | | | downstream | | | | | provenance. | +-----------------------+--------+--------+-------------------------+ | issuer_signature | JWS / | MUST | Digital signature | | | COSE | | [RFC7515] or | | | | | [RFC9052] by the | | | | | Tool Provider or | | | | | PEP. | +-----------------------+--------+--------+-------------------------+ Table 2: Minimal Verifiable Execution Receipt (VER) Metadata Schema An illustrative JSON representation of a VER payload (prior to JWS or COSE wrapping) is shown in Figure 4. { "ver_id": "urn:uuid:550e8400-e29b-41d4-a716-446655440000", "timestamp": "2026-12-01T08:30:00Z", "delegation_chain_hash": "sha256:9f86d081884c7d659a2feaa0c55ad015...", "tool_id": "https://tools.example.org/payments/transfer", "tool_version": "2.1.0", "side_effect_class": "W3", "policy_decision_ref": "urn:pdp:example:policy:v4#hitl-approved-991", "args_digest": "sha256:4b227777d4dd1fc61c6f884f48641d02...", "outcome_status": "COMPLETED", "result_digest": "sha256:e3b0c44298fc1c149afbf4c8996fb924..." } Figure 4: Example Verifiable Execution Receipt (VER) Payload 7. Protocol Mapping Guidance This reference model is wire-agnostic and maps cleanly onto active ecosystems: * *IETF agentproto and OAuth/WIMSE:* Planes 1--2 can utilize OAuth 2.0 Token Exchange ([RFC8693]) and Rich Authorization Requests ([RFC9396]) to express attenuated scopes and argument predicates; Planes 3--4 can be carried as structured extension objects on dialog-to-tool transitions. * *Model Context Protocol (MCP):* Tool descriptors can expose optional side_effect_class and compensation_tool_ref annotations; tool call responses can attach optional _meta.ver receipts. Ding Expires 4 June 2027 [Page 10] Internet-Draft Governed Agent Tool Invocation December 2026 * *W3C WebAgents and Verifiable Credentials:* Capability Descriptors map to hypermedia affordances, and VER payloads align with W3C Data Integrity proofs ([W3C-VC-DI]). * *IEEE P3394:* The four-plane taxonomy and lifecycle state machine provide an informative architectural baseline for LLM agent interface governance ([IEEE-P3394]). 8. IANA Considerations This document has no IANA actions. Future standards-track specifications adopting this model may establish registries for side_effect_class values or VER media types. 9. Security Considerations * *Prompt Injection and Confused-Deputy Mitigation:* Enforcing Plane 2 argument-bound predicates (REQ-DEL-2) and Plane 3 HITL gates for W3 actions ensures that compromised agent reasoning cannot silently execute irreversible external operations. * *Cross-Protocol Pivoting:* Requiring REQ-DEL-1 and REQ-DEL-4 prevents intermediate agents from laundering untrusted A2A inputs into privileged A2T calls using ambient credentials. * *Denial of Wallet and Resource Exhaustion:* Plane 2 capability negotiation SHOULD enforce monotonically non-increasing compute, rate, and monetary budget ceilings across the delegation chain. 10. Privacy Considerations Storing digests of canonicalized arguments (args_digest) and results (result_digest) rather than raw payloads inside the VER allows cross- domain auditors to verify execution integrity without exposing Personally Identifiable Information (PII) or proprietary business data. Implementations SHOULD apply salted commitments when low- entropy arguments could otherwise be vulnerable to dictionary guessing. 11. References 11.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . Ding Expires 4 June 2027 [Page 11] Internet-Draft Governed Agent Tool Invocation December 2026 [RFC3339] Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, July 2002, . [RFC7515] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, May 2015, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8693] Jones, M., Nadalin, A., Campbell, B., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, January 2020, . [RFC9052] Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, August 2022, . [RFC9396] Lodderstedt, T., Richer, J., and B. Campbell, "OAuth 2.0 Rich Authorization Requests", RFC 9396, DOI 10.17487/RFC9396, May 2023, . 11.2. Informative References [I-D.ietf-agentproto-usecases-requirements] IETF agentproto Working Group, "Agent Communication Protocols Use Cases and Requirements", Work in Progress, Internet-Draft, draft-ietf-agentproto-usecases- requirements, 2026, . [I-D.mohiuddin-mcp-security-considerations] "Security Considerations for the Model Context Protocol (MCP)", Work in Progress, Internet-Draft, draft-mohiuddin- mcp-security-considerations, 2026, . Ding Expires 4 June 2027 [Page 12] Internet-Draft Governed Agent Tool Invocation December 2026 [I-D.rosenberg-aiproto] Rosenberg, J., "Normalized API for AI Agents Calling Tools (N-ACT)", Work in Progress, Internet-Draft, draft- rosenberg-aiproto, 2026, . [I-D.zahed-agent-comm-framework] Sarker, Z., "AI Agent Interoperable Protocol Framework (AIPF)", Work in Progress, Internet-Draft, draft-zahed- agent-comm-framework, 2026, . [IEEE-P3394] IEEE Standards Association (C/AISC), "IEEE P3394: Standard for Large Language Model Agent Interface", 2025. [OWASP-AGENTIC] OWASP GenAI Security Project, "OWASP Top 10 for Agentic Applications", 2026. [W3C-VC-DI] World Wide Web Consortium (W3C), "Verifiable Credential Data Integrity 1.0", 2025. Acknowledgments PLACEHOLDER_ACKNOWLEDGMENTS (e.g., The author(s) thank the participants of the IETF agentproto Working Group, IEEE SA Agentic AI Industry Connections, and W3C Community Groups for constructive discussions.) Author's Address Tianrong DING Tsinghua University Peking China Email: dtr22@mails.tsinghua.edu.cn Ding Expires 4 June 2027 [Page 13]