Internet-Draft Governed Agent Tool Invocation December 2026
Ding Expires 4 June 2027 [Page]
Workgroup:
Agent Communication Protocols
Internet-Draft:
draft-ding-agentproto-governed-tool-invocation-00
Published:
Intended Status:
Informational
Expires:
Author:
T. Ding
Tsinghua University

A Protocol-Agnostic Reference Model for Capability-Negotiated, Verifiable Tool Invocation and Cross-Domain Agent Interoperability

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.

▲

Table of Contents

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:

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

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.

Table 1: Formal Side-Effect Classification for Tool Invocations
Class Label Operational Semantics Safe Auto-Retry Default Governance Gate
R0 Pure / Read-Only No state mutation; observation or pure computation only. Yes Scope check (PDP)
W1 Idempotent Write Mutates state; repeated identical calls with the same idempotency key yield the same final state. Yes (with key) Scope + rate/quota check
W2 Compensable Write Non-idempotent state mutation with a declared compensating action (Saga pattern). No (query or compensate) Scoped token + pre-check
W3 Irreversible / High-Impact Irreversible mutation (e.g., financial transfer, physical actuation, permanent deletion, external broadcast). Never Mandatory step-up auth or HITL approval

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

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.

Table 2: Minimal Verifiable Execution Receipt (VER) Metadata Schema
Field Type Req Description
ver_id URI / UUID MUST Globally unique receipt identifier.
timestamp RFC 3339 MUST UTC execution 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 / Digest SHOULD Reference to PDP 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).
result_digest Digest SHOULD Digest of canonicalized output payload for downstream provenance.
issuer_signature JWS / COSE MUST Digital signature [RFC7515] or [RFC9052] by the Tool Provider or PEP.

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:

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

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, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC3339]
Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, , <https://www.rfc-editor.org/info/rfc3339>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/info/rfc7515>.
[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>.
[RFC8693]
Jones, M., Nadalin, A., Campbell, B., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, , <https://www.rfc-editor.org/info/rfc8693>.
[RFC9052]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9396]
Lodderstedt, T., Richer, J., and B. Campbell, "OAuth 2.0 Rich Authorization Requests", RFC 9396, DOI 10.17487/RFC9396, , <https://www.rfc-editor.org/info/rfc9396>.

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, , <https://datatracker.ietf.org/doc/html/draft-ietf-agentproto-usecases-requirements>.
[I-D.mohiuddin-mcp-security-considerations]
"Security Considerations for the Model Context Protocol (MCP)", Work in Progress, Internet-Draft, draft-mohiuddin-mcp-security-considerations, , <https://datatracker.ietf.org/doc/html/draft-mohiuddin-mcp-security-considerations>.
[I-D.rosenberg-aiproto]
Rosenberg, J., "Normalized API for AI Agents Calling Tools (N-ACT)", Work in Progress, Internet-Draft, draft-rosenberg-aiproto, , <https://datatracker.ietf.org/doc/html/draft-rosenberg-aiproto>.
[I-D.zahed-agent-comm-framework]
Sarker, Z., "AI Agent Interoperable Protocol Framework (AIPF)", Work in Progress, Internet-Draft, draft-zahed-agent-comm-framework, , <https://datatracker.ietf.org/doc/html/draft-zahed-agent-comm-framework>.
[IEEE-P3394]
IEEE Standards Association (C/AISC), "IEEE P3394: Standard for Large Language Model Agent Interface", .
[OWASP-AGENTIC]
OWASP GenAI Security Project, "OWASP Top 10 for Agentic Applications", .
[W3C-VC-DI]
World Wide Web Consortium (W3C), "Verifiable Credential Data Integrity 1.0", .

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