﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="rfc7991bis.rnc"?>
<!DOCTYPE rfc [
  <!ENTITY RFC2119 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
  <!ENTITY RFC8174 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
  <!ENTITY RFC8200 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8200.xml">
  <!ENTITY RFC8986 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8986.xml">
  <!ENTITY RFC6480 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6480.xml">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude"
     category="info"
     docName="draft-yu-network-trust-framework-for-ai-agents-00"
     ipr="trust200902"
     submissionType="IETF"
     version="3">
  <front>
    <title abbrev="AI Agent Network Trust">Network Trust Framework for AI Agents</title>
    <seriesInfo name="Internet-Draft" value="draft-yu-network-trust-framework-for-ai-agents-00"/>
    <author fullname="Haisheng Yu" initials="H." surname="Yu">
      <organization>China Internet Network Information Center</organization>
      <address>
        <email>yuhaisheng@cnnic.cn</email>
      </address>
    </author>
    <date year="2026" month="June" day="29"/>
    <area>Internet</area>
    <workgroup>Internet Engineering Task Force</workgroup>
    <keyword>AI Agent</keyword>
    <keyword>Agent Communication</keyword>
    <keyword>IPv6</keyword>
    <keyword>SRv6</keyword>
    <keyword>Trust</keyword>
    <abstract>
      <t>
        AI agents are expected to communicate across platforms,
        organizations, clouds, edge environments, and administrative domains.
        Existing agent mechanisms mainly focus on application-layer discovery,
        capability description, identity, authorization, tool invocation, and
        agent-to-agent collaboration. These mechanisms are important, but
        they often treat the IP network as a transparent connectivity
        substrate.
      </t>
      <t>
        This document describes a framework for using network-layer and
        network-control capabilities to enhance trust for AI agent
        communication after agent discovery. The framework introduces an
        Agent Interconnection Hub, trusted transport tags, policy-driven path
        selection, and audit indexing as building blocks for recognizable
        identity, accountable paths, enforceable policy, and traceable
        invocation records.
      </t>
      <t>
        This document does not define a new agent discovery protocol, a new
        application-layer agent collaboration protocol, a new authentication
        or authorization mechanism, a new IPv6 extension header, or a new SRv6
        behavior. It provides architectural considerations and requirements
        for future work.
      </t>
    </abstract>
  </front>

  <middle>
    <section numbered="true" toc="default">
      <name>Conventions Used in This Document</name>
      <t>
        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 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only
        when, they appear in all capitals, as shown here.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>
        AI agents are moving from isolated application components toward
        large-scale, cross-domain collaboration. An agent may discover other
        agents, invoke tools, access data, call APIs, and perform tasks on
        behalf of a user, organization, or system. When these actions become
        continuous, autonomous, and cross-domain, agent communication becomes
        not only an application-layer issue but also an Internet
        infrastructure issue.
      </t>
      <t>
        Application-layer mechanisms such as agent cards, tool metadata,
        directory services, DNS-based discovery, decentralized identifiers,
        certificates, authorization tokens, and agent collaboration protocols
        can help an agent find a peer and determine what it can do. However,
        after discovery, the communication still traverses networks that may
        only observe IP addresses, transport connections, and limited
        metadata. The network may not be able to associate a flow with the
        responsible agent, the delegated authority, the task risk, the
        intended path, or the audit obligation.
      </t>
      <t>
        This document explores how network-layer and network-control
        capabilities can enhance trust for agent communication without
        replacing existing application-layer mechanisms. The goal is to make
        discovered agents not only reachable, but also more trustworthy,
        path-accountable, policy-enforceable, and auditable.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Scope and Non-Goals</name>
      <t>
        This document focuses on a framework for network-layer trust
        enhancement for AI agent communication. It discusses how identity
        verification results, task risk, network policy, path selection, and
        audit indexing may be associated after agent discovery.
      </t>
      <t>This document discusses:</t>
      <ul>
        <li>an Agent Interconnection Hub as a trusted mediation point between application-layer discovery and network forwarding;</li>
        <li>trusted transport tags that bind a communication task to minimum necessary trust and policy metadata;</li>
        <li>policy-driven path selection using existing IPv6, SRv6, gateway, security-service, and network-management capabilities;</li>
        <li>audit indexing across source-side, destination-side, and intermediate trust points;</li>
        <li>privacy-aware minimization of information exposed to network nodes.</li>
      </ul>
      <t>This document does not define:</t>
      <ul>
        <li>a new agent discovery protocol;</li>
        <li>a new application-layer agent collaboration protocol;</li>
        <li>a new authentication, authorization, delegation, or attestation protocol;</li>
        <li>a replacement for DNS, HTTPS, OAuth, OIDC, DID, VC, WIMSE, RATS, SCITT, A2A, MCP, RDAP, or audit frameworks;</li>
        <li>a requirement that ordinary Internet routers understand prompts, tasks, agent semantics, or application payloads;</li>
        <li>a new IPv6 extension header, SRv6 behavior, or packet encoding;</li>
        <li>a mandatory global registry or a single root node for all agents.</li>
      </ul>
    </section>

    <section numbered="true" toc="default">
      <name>Terminology</name>
      <dl newline="true">
        <dt>Agent:</dt>
        <dd>A software entity that can perceive context, reason, plan, invoke tools, communicate with other agents, and perform tasks on behalf of a user, organization, or system.</dd>
        <dt>Agent Communication:</dt>
        <dd>Communication initiated by, received by, or mediated for an agent, including tool calls, API calls, data access, agent-to-agent calls, and gateway-mediated interactions.</dd>
        <dt>Agent Interconnection Hub:</dt>
        <dd>A trusted mediation point between application-layer discovery systems and the network. It performs discovery adaptation, trust verification, network policy generation, path selection, and audit indexing.</dd>
        <dt>Trusted Transport Tag:</dt>
        <dd>A signed or integrity-protected structure associated with an agent communication task. It carries minimum necessary metadata such as identity digests, task type, risk level, network service requirement, audit level, validity period, and revocation pointer.</dd>
        <dt>Network-Layer Trust Enhancement:</dt>
        <dd>The use of network-layer or network-control capabilities, such as locator binding, policy tags, path selection, service chaining, verification records, and audit indexes, to improve the trustworthiness, controllability, and traceability of agent communication.</dd>
        <dt>Agent Domain:</dt>
        <dd>An administrative or operational domain in which agents, gateways, registries, policy systems, audit systems, or network functions are managed under a common authority.</dd>
      </dl>
    </section>

    <section numbered="true" toc="default">
      <name>Motivation</name>
      <t>
        Current agent interconnection mechanisms are largely developed at the
        application layer. They can describe capabilities, publish endpoints,
        exchange credentials, call tools, and coordinate agent-to-agent tasks.
        These functions are necessary, but they do not by themselves provide
        all of the network-layer support required by high-value or
        high-sensitivity agent communication.
      </t>
      <t>
        Three gaps are particularly relevant.
      </t>
      <ul>
        <li>Agent identity and network reachability are weakly associated. A network path may carry a flow without knowing whether the source or destination is authorized to represent a particular agent.</li>
        <li>Agent tasks and transport paths are weakly associated. Low-risk queries, financial operations, government workflows, industrial control tasks, and security operations may require different latency, path, inspection, and audit properties.</li>
        <li>Agent operation logs and network evidence are weakly associated. Application logs, gateway logs, platform records, and network telemetry may not share a common audit index.</li>
      </ul>
      <t>
        These gaps make it difficult to answer operational questions such as
        which agent initiated a call, under which authority, for what type of
        task, through which path, under which network policy, and with what
        verification result. A network-layer trust enhancement framework
        attempts to provide a coherent way to relate these questions without
        requiring the network to inspect application payloads.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Design Goals</name>
      <t>
        Network-layer trust enhancement for agent communication has the
        following design goals.
      </t>
      <dl newline="true">
        <dt>Recognizable identity:</dt>
        <dd>The network-control environment can associate a communication task with identity digests, authorization status, and trust state without exposing unnecessary identity details.</dd>
        <dt>Accountable paths:</dt>
        <dd>The network-control environment can select paths according to task risk, data sensitivity, latency, jurisdiction, and audit requirements.</dd>
        <dt>Enforceable policy:</dt>
        <dd>Application-layer task context can be translated into network-executable policy for gateways, service chains, path controllers, or security functions.</dd>
        <dt>Traceable audit:</dt>
        <dd>Source-side, destination-side, and necessary intermediate nodes can produce audit records that share a common index.</dd>
        <dt>Privacy-aware operation:</dt>
        <dd>Network nodes receive only the information needed for routing, policy matching, enforcement, and audit indexing.</dd>
        <dt>Incremental deployment:</dt>
        <dd>The framework reuses existing Internet, IPv6, SRv6, certificate, credential, gateway, and audit mechanisms where possible.</dd>
      </dl>
    </section>

    <section numbered="true" toc="default">
      <name>Architectural Components</name>
      <t>
        This framework is organized into four logical planes. A deployment may
        combine these functions in a single gateway, distribute them across
        multiple nodes, or integrate them with existing operator, enterprise,
        or industry infrastructure.
      </t>

      <section numbered="true" toc="default">
        <name>Discovery Adaptation Plane</name>
        <t>
          The discovery adaptation plane interfaces with existing discovery
          and capability-description mechanisms, such as DNS records,
          service-binding metadata, agent cards, MCP server metadata, DID
          documents, industry registries, enterprise catalogs, or platform
          directories.
        </t>
        <t>
          This plane normalizes discovery results into a common access
          description that can include the target entry point, supported
          capabilities, access conditions, security requirements, and minimum
          information needed by the trust-verification and network-control
          planes.
        </t>
      </section>

      <section numbered="true" toc="default">
        <name>Trust Verification Plane</name>
        <t>
          The trust verification plane verifies agent identity, responsible
          entity, authorization, credential state, and task risk. It may use
          agent identity credentials, domain certificates, DID/VC material,
          platform signatures, enterprise authorization, API tokens, gateway
          certificates, and session signatures.
        </t>
        <t>
          RPKI and ROA can be used to validate the origin of an IPv6 prefix
          <xref target="RFC6480"/>, but prefix-origin validation alone does
          not prove agent identity. Agent trust requires additional
          certificate, credential, authorization, signature, or hub-mediated
          validation.
        </t>
      </section>

      <section numbered="true" toc="default">
        <name>Network Control Plane</name>
        <t>
          The network control plane translates verified agent context and task
          risk into executable network policy. It may use IPv6 reachability
          <xref target="RFC8200"/>, SRv6 path steering <xref target="RFC8986"/>,
          gateway selection, service chaining, application-aware networking,
          security inspection points, or network-management interfaces.
        </t>
        <t>
          Example policies include best-effort forwarding for low-risk tasks,
          trusted paths for government or financial tasks, mandatory security
          inspection for sensitive data access, audit-node traversal for
          cross-domain tasks, and explicit low-latency paths for
          time-sensitive operations.
        </t>
      </section>

      <section numbered="true" toc="default">
        <name>Audit Governance Plane</name>
        <t>
          The audit governance plane creates and correlates audit records for
          agent communication. It records structured evidence such as caller
          and callee identity digests, task type, policy identifier, trusted
          transport tag digest, verification result, path policy, important
          transit nodes, timestamp, and exception state.
        </t>
        <t>
          The audit governance plane is not intended to record application
          plaintext by default. Recording prompts, tool inputs, tool outputs,
          or user data can significantly increase privacy risk and needs
          separate authorization and legal basis where applicable.
        </t>
      </section>
    </section>

    <section numbered="true" toc="default">
      <name>Trusted Transport Tags</name>
      <t>
        A trusted transport tag is a framework concept for associating an
        agent communication task with trust and policy metadata. This document
        does not specify a wire format. Future work could define a format, or
        deployments could use existing token, certificate, attestation,
        gateway, or controller mechanisms.
      </t>
      <t>A trusted transport tag can include:</t>
      <ul>
        <li>a digest of the caller agent identity;</li>
        <li>a digest of the callee agent identity or gateway identity;</li>
        <li>the task type or policy class;</li>
        <li>the risk level and audit level;</li>
        <li>network service requirements, such as latency, reliability, inspection, or path constraints;</li>
        <li>a validity period and scope;</li>
        <li>a signature or integrity-protection value;</li>
        <li>a revocation or status pointer.</li>
      </ul>
      <t>
        A trusted transport tag should be designed for minimization. It should
        not directly expose full user identity, full organization identity,
        prompts, business content, or sensitive credentials to arbitrary
        intermediate nodes.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Example Communication Flow</name>
      <t>
        A typical flow using the framework can be described as follows.
      </t>
      <ol>
        <li>The caller agent discovers a target agent through DNS, an agent directory, an agent card, MCP metadata, an industry registry, or an enterprise catalog.</li>
        <li>The caller sends the request through a local Agent Interconnection Hub.</li>
        <li>The discovery adaptation plane parses the discovery result and extracts the minimum information needed for policy processing.</li>
        <li>The trust verification plane verifies the caller, callee, authorization state, credential status, and task risk.</li>
        <li>The hub creates a trusted transport tag or refers to an existing policy index.</li>
        <li>The network control plane selects an appropriate path, gateway, service chain, or SRv6 policy according to task requirements.</li>
        <li>The destination-side hub verifies the tag, signature, authorization, and policy compatibility before delivering the request to the target agent or service.</li>
        <li>The source-side hub, destination-side hub, and any required intermediate trust nodes create audit records using a common audit index.</li>
        <li>If verification fails or risk changes, the system can revoke the tag, block the request, reroute the flow, reduce privileges, or generate an alert.</li>
      </ol>
      <t>
        This flow is illustrative. It does not require every deployment to use
        the same hub topology or the same path-control mechanism.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Deployment Considerations</name>
      <t>
        The framework is intended for incremental and distributed deployment.
        It is not necessary or desirable to require all public Internet agent
        traffic to pass through a single mandatory control point. Initial
        deployment is more likely in high-value or high-sensitivity
        environments where identity, authorization, path control, audit, and
        accountability requirements are explicit.
      </t>
      <t>Candidate deployment environments include:</t>
      <ul>
        <li>government agent collaboration across departments;</li>
        <li>financial agent workflows involving risk management or compliance checks;</li>
        <li>industrial Internet and energy-control environments;</li>
        <li>cross-cloud agent invocation and enterprise agent gateways;</li>
        <li>network-security automation and response systems;</li>
        <li>regional or industry testbeds based on IPv6 and SRv6.</li>
      </ul>
      <t>
        Agent Interconnection Hubs can be deployed as enterprise gateways,
        operator edge nodes, industry trust nodes, regional exchange points,
        or cross-domain mediation nodes. Different deployments may implement
        different subsets of the logical planes described in this document.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Open Issues for Future Work</name>
      <t>
        This document intentionally leaves several topics for future work.
      </t>
      <ul>
        <li>whether a common trusted transport tag format is needed;</li>
        <li>how tags should be carried, referenced, protected, and revoked;</li>
        <li>how application-layer agent identity should be mapped to IPv6 locators or Agent Gateways;</li>
        <li>how cross-domain policy conflicts should be detected and resolved;</li>
        <li>which minimum audit record format is sufficient for cross-domain reconstruction;</li>
        <li>how to prevent trusted metadata from becoming a new privacy or surveillance surface;</li>
        <li>how this framework should relate to existing work on workload identity, attestation, supply-chain transparency, and secure telemetry.</li>
      </ul>
    </section>

    <section numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
        Agent communication can involve delegated authority, tool invocation,
        data retrieval, cross-domain access, and autonomous decision-making.
        Weak linkage among agent identity, network flows, authorization
        decisions, and audit evidence can make impersonation, misuse,
        excessive privilege, and incident reconstruction more difficult to
        manage.
      </t>
      <t>
        A trusted transport tag or equivalent policy object can itself become
        an attack target. Implementations need to consider integrity
        protection, authentication of tag issuers, replay protection, scope
        limitation, expiration, revocation, downgrade attacks, substitution
        attacks, and confused-deputy risks.
      </t>
      <t>
        Agent Interconnection Hubs are security-sensitive components. If a hub
        is compromised, an attacker might issue false trust metadata, suppress
        audit records, reroute flows, or authorize unintended communication.
        Deployments need operational controls, key management, monitoring,
        least-privilege administration, and fail-safe behavior.
      </t>
      <t>
        This document does not define a new protocol mechanism. Any future
        protocol work derived from this framework will need protocol-specific
        security analysis.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>Privacy Considerations</name>
      <t>
        Agent communication can reveal sensitive information about users,
        organizations, tasks, data sources, tools, models, policies, and
        business relationships. Trust metadata and audit records can also
        become sensitive, even when application content is encrypted.
      </t>
      <t>
        Deployments should minimize what is exposed to network nodes. Full
        identity, business content, prompts, tool inputs, tool outputs, and
        detailed reasoning traces should not be included in network-visible
        metadata by default. Identity digests, policy classes, short-lived
        tags, and audit indexes can reduce exposure, but they can still be
        linkable if reused too broadly.
      </t>
      <t>
        Audit designs need to balance traceability and minimization. More
        complete logs can improve accountability, but can also create new data
        stores and new privacy risks. Access to audit records should be
        controlled and logged.
      </t>
    </section>

    <section numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>
        This document does not request any IANA action.
      </t>
    </section>
  </middle>

  <back>
    <references>
      <name>Normative References</name>
      &RFC2119;
      &RFC8174;
    </references>
    <references>
      <name>Informative References</name>
      &RFC8200;
      &RFC8986;
      &RFC6480;
      <reference anchor="I-D.yu-ai-agent-ipv6-networking-considerations" target="https://datatracker.ietf.org/doc/draft-yu-ai-agent-ipv6-networking-considerations/">
        <front>
          <title>IPv6 Networking Considerations for AI Agent Communication</title>
          <author fullname="H. Yu"/>
          <date/>
        </front>
      </reference>
      <reference anchor="I-D.pioli-agent-discovery" target="https://datatracker.ietf.org/doc/draft-pioli-agent-discovery/">
        <front>
          <title>Agent Registration and Discovery Protocol</title>
          <author fullname="L. Pioli"/>
          <date/>
        </front>
      </reference>
      <reference anchor="Agent2Agent-Archive" target="https://mailarchive.ietf.org/arch/browse/agent2agent/">
        <front>
          <title>IETF Agent2Agent Mailing List Archive</title>
          <author fullname="IETF"/>
          <date/>
        </front>
      </reference>
    </references>
  </back>
</rfc>


