<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std"
     docName="draft-mao-rtgwg-agent-comm-protocol-gap-analysis-00"
     ipr="trust200902">
  <front>
    <title abbrev="Gap Analysis for Agent Protocol">Gap Analysis for the
    Cross-device Communication Protocol for AI Agents in Network
    Devices</title>

    <author fullname="Jianwei Mao" initials="J. " surname="Mao">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city>Beijing</city>

          <code>100095</code>

          <country>China</country>
        </postal>

        <email>MaoJianwei@huawei.com</email>
      </address>
    </author>

    <author fullname="Guanming Zeng" initials="G." surname="Zeng">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>zengguanming@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Bing Liu" initials="B." surname="Liu">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>leo.liubing@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Nan Geng" initials="N." surname="Geng">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>gengnan@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Xiaotong Shang" initials="X." surname="Shang">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>shangxiaotong@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Qiangzhou Gao" initials="Q." surname="Gao">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>gaoqiangzhou@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Zhenbin Li" initials="Z. " surname="Li">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>robinli314@163.com</email>

        <uri/>
      </address>
    </author>

    <date day="1" month="November" year="2025"/>

    <abstract>
      <t>With the development of large language models (LLM), AI Agent
      software continues to emerge. AI agents deployed on different network
      devices need to collaborate to accomplish some complex tasks, such as
      network measurement and network troubleshooting. This collaboration
      requires cross-device communication between AI agents. The cross-device
      communication framework is defined in <xref
      target="I-D.mzsg-rtgwg-agent-cross-device-comm-framework"/>.</t>

      <t>This document describes whether some classical protocols in
      networking area, and some popular ones in AI Agent area can be used for
      the cross-device interaction of the AI agents in network devices, and
      analyzes the gaps.</t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction">
      <t>With the development of large language models (LLM), AI Agent
      software continues to emerge. AI agents deployed on different network
      devices need to collaborate to accomplish some complex tasks, such as
      network measurement and network troubleshooting. This collaboration
      requires cross-device communication between AI agents. The cross-device
      communication framework is defined in <xref
      target="I-D.mzsg-rtgwg-agent-cross-device-comm-framework"/></t>

      <t>This document describes whether some classical protocols in
      networking area, and some popular ones in AI Agent area can be used for
      the cross-device interaction of the AI agents in network devices, and
      analyzes the gaps.</t>

      <t>Currently, network devices are able to exchange message with each
      other by some routing protocols (e.g. BGP, IS-IS, OSPF), or some
      signaling protocol (e.g. GRASP). In addition, they can interact with
      network controller by NETCONF, RESTCONF and gRPC.</t>

      <t>In AI Agent area, some popular protocol is worth considering, such as
      A2A and MCP.</t>

      <t/>
    </section>

    <section title="Requirements Language">
      <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">RFC 2119</xref> <xref target="RFC8174">RFC
      8174</xref> when, and only when, they appear in all capitals, as shown
      here.</t>
    </section>

    <section title="Terminology">
      <t>A2A: Agent2Agent Protocol <xref target="a2a-link"/></t>

      <t>MCP: Model Context Protocol <xref target="mcp-link"/></t>

      <t>Device agent: The AI agents deployed in a network device.</t>

      <t>GRASP: GeneRic Autonomic Signaling Protocol <xref
      target="RFC8990"/></t>
    </section>

    <section title="Existing Protocols Gap Analysis">
      <t>Currently, network devices are able to exchange message with each
      other by some routing protocols (e.g. BGP, IS-IS, OSPF), or some
      signaling protocol (e.g. GRASP). In addition, they can interact with
      network controller by NETCONF, RESTCONF and gRPC.</t>

      <t>In AI Agent area, there are some popular protocols, such as A2A for
      interaction between agents and MCP for the interaction between agents
      and outer systems.</t>

      <section title="Gap Analysis for A2A Protocol">
        <t><list style="symbols">
            <t>[Gap A01] The content of tasks in A2A protocol is typically
            described in natural language, and Message and Part objects of the
            text type in A2A protocol usually carry natural language text.
            That may require the deployment of large language models on
            network devices to parse the content of A2A request messages.
            However, deploying large models requires substantial AI computing
            capability, which current network devices cannot provide. This
            suggests that a structured or semi-structured message format or
            data model may need to be designed.</t>

            <t>[Gap A02] The asynchronous notification mechanism of A2A, which
            can be used by a server to notify a client that a long-running
            task has been completed, requires the client to provide a separate
            listening port or service path as a webhook. This extends the
            exposure surface of network devices and raises security risks.</t>

            <t>[Gap A03] The first method for A2A service discovery requires
            an agent to provide a well-known URL to enable other agents to
            obtain its Agent Card. This increases the exposure surface of
            network devices and raises security risks. In addition, A2A does
            not require the retrieval requests for Agent Card to be
            authenticated, which means that the information of network devices
            could be accessed by unauthorized users. This suggests that new
            security mechanisms or service discovery methods may need to be
            designed to address these security risks.</t>

            <t>[Gap A04] The second method for A2A service discovery requires
            deploying a registry in the network to store the Agent Cards of
            all network devices. This means that some network devices need to
            be selected or newly deployed, and configured to function as
            registries, similar to the BGP RR. This would lead to significant
            storage pressure on the device and increase deployment costs.
            Alternatively, this would require upgrading the network controller
            to function as a registry, which would cause frequent requests for
            Agent Cards from devices to the controller, putting additional
            load on the controller. If the Agent Cards are cached on the
            devices, there would also be issues of out-of-date cached data and
            increased storage pressure on the devices.</t>

            <t>[Gap A05] The third method for A2A service discovery requires
            configuring the Agent Cards of all other devices that will be
            accessed on the device itself. This would significantly increase
            the amount of configuration data and the maintenance workload of
            the network, and also greatly increase the storage pressure on
            network devices.</t>

            <t>[Gap A06] A2A currently does not mandate a common transport
            protocol, which allows any of HTTPS-JSON-RPC 2.0, gRPC, or
            HTTPS-JSON (restful API) to be used. This could actually lead to a
            situation where the agents in different network devices cannot
            communicate with each other because of using different transport
            protocols. This suggests that a standardized transport protocol
            that must be implemented may need to be specified, with other
            transport protocols being optional.</t>

            <t>[Gap A07] A2A requires that all messages be transmitted over
            HTTPS (citation: MUST be HTTPS). This means that each message
            needs to be encrypted or decrypted in network devices, which
            imposes additional performance overhead on the devices.</t>
          </list></t>
      </section>

      <section title="Gap Analysis for MCP Protocol">
        <t><list style="symbols">
            <t>[Gap M01] MCP is typically used by agents to call external
            systems and is architecturally a north-south interface. However,
            the relationship among device agents is more like a "peer",
            similar to BGP peer and IS-IS peer. Their interaction may require
            an east-west interface. Nevertheless, from the perspective of
            information transfer and function calling, MCP is also worth
            considering in the scenario of the interaction of device
            agents.</t>

            <t>[Gap M02] MCP only supports JSON text as the data encoding
            format, which is less efficient in terms of information
            transmission and parsing compared to binary data encoding formats.
            This will consume more CPU time on devices for data serialization
            and deserialization, and occupy more bandwidth to exchange
            messages.</t>

            <t>[Gap M03] MCP allows the use of HTTP protocol stacks that
            support server-sent events (SSE) and streaming. The protocol
            stacks of network devices may need to be upgraded accordingly. If
            devices only support traditional request-response communication,
            some future functionalities may be limited or impossible to
            implement.</t>

            <t>[Gap M04] The names and descriptions of MCP tools are in
            natural language, which may require deploying large language
            models on network devices to understand the functions of each
            tool. Currently, the processing capabilities of network devices
            may be insufficient to meet this requirement. It may be necessary
            to define a standardized, structured description format or define
            a standardized tool ID.</t>
          </list></t>
      </section>

      <section title="Gap Analysis for GRASP Protocol">
        <t>TBD</t>

        <t/>
      </section>
    </section>

    <section title="Other Protocols Gap Analysis">
      <t>There are some classical protocols which have been well supported by
      network devices. If they are going to be used in the scenario of the
      interaction of device agents, their mechanisms may need to be enhanced,
      and some data schemas/models may need to be extended or newly
      defined.</t>

      <t>On the other hand, if network devices have basic natural language
      understanding capability, the data model may be designed as a
      semi-structured format.</t>

      <t/>

      <section title="Gap Analysis for BGP Protocol">
        <t>TBD</t>
      </section>

      <section title="Gap Analysis for IS-IS Protocol">
        <t>TBD</t>
      </section>

      <section title="Gap Analysis for OSPF Protocol">
        <t>TBD</t>
      </section>

      <section title="Gap Analysis for NETCONF Protocol">
        <t>TBD</t>
      </section>

      <section title="Gap Analysis for RESTCONF Protocol">
        <t>TBD</t>
      </section>

      <section title="Gap Analysis for gRPC Protocol">
        <t>TBD</t>
      </section>
    </section>

    <section title="IANA Considerations">
      <t>This document does not include an IANA request.</t>
    </section>

    <section title="Security Considerations">
      <t>TBD</t>

      <t/>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.8126"?>

      <?rfc include='reference.RFC.8174'?>
    </references>

    <references title="Informative References">
      <?rfc include='reference.I-D.mzsg-rtgwg-agent-cross-device-comm-framework'?>

      <?rfc include="reference.RFC.8990"?>

      <reference anchor="a2a-link" target="https://a2a-protocol.org/">
        <front>
          <title>Agent2Agent Protocol</title>

          <author>
            <organization/>
          </author>

          <date day="30" month="October" year="2025"/>
        </front>
      </reference>

      <reference anchor="mcp-link" target="https://modelcontextprotocol.io/">
        <front>
          <title>Model Context Protocol</title>

          <author>
            <organization/>
          </author>

          <date day="30" month="October" year="2025"/>
        </front>
      </reference>
    </references>
  </back>
</rfc>
