Secure Agent-to-Agent (A2A) Communication Protocol
Related Issue
Fixes #124 - Agent-to-Agent Network Communication Protocol
Overview
This PR introduces an RFC for a dedicated secure communication protocol designed specifically for Agent-to-Agent (A2A) interactions. The protocol establishes a specialized framework for autonomous agents to communicate securely across networks, addressing limitations in traditional web protocols for agent-specific security requirements.
It's good to take a look at ANP @chgaowei
Caould you be more specific in the proposed advantages over http
Caould you be more specific in the proposed advantages over http
The concept is that HTTP is only unique for Client-Server communication, where one node only acts as a server and another node acts as a client. In A2A communication or agent-to-agent communication, we expect two-way communication in the network, not one-way communication.
By getting inspiration from P2P networks in Bitcoin, we can see each node is an agent which acts both as client and server at the same time. Although Bitcoin was created before WebSocket, WebSocket is also not a good choice because working directly with TCP would provide more freedom rather than other connection management on top of it.
This is also true for the Ethereum network; I think they are using an exclusive protocol for connection which is RLPx. So in general, if we look at a whole cluster of agents in the near future, why power it with a new communication protocol?
This is just an RFC and proposal, while I'm trying to provide more detail. But the first important subject is that A2A communication should not be one-way communication across the network (which could be both ANP or P2P or anything else).