Skip to content

Conversation

jeff-nasseri
Copy link

@jeff-nasseri jeff-nasseri commented Apr 3, 2025

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.

Proposes a specialized protocol for Agent-to-Agent communication with secure handshake mechanism for establishing encrypted channels
Dedicated certificate/key exchange API
Custom message format optimized for agent interactions.

This RFC addresses limitations in traditional web protocols for
agent-specific secure communication needs.
@jeff-nasseri
Copy link
Author

jeff-nasseri commented Apr 3, 2025

It's good to take a look at ANP
@chgaowei

@mar0der
Copy link

mar0der commented Apr 17, 2025

Caould you be more specific in the proposed advantages over http

@chgaowei
Copy link

It's good to take a look at ANP @chgaowei

Thanks a lot—ANP is truly unique.

@jeff-nasseri
Copy link
Author

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

jeff nasseri and others added 2 commits April 27, 2025 17:29
…directional model

Talking more about P2P inspiration and how can be possible to observe each node(Agent) acting as a client and server across the network.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agent-to-Agent Network Communication Protocol
3 participants