# Agent-to-Agent Protocol

## Communication and Collaboration between Autonomous Agents

To enable complex collaboration, delegation, and emergent system behaviors, DeAgents need a mechanism to interact directly with each other. The A2A Communication Protocol leverages the underlying distributed system:

<figure><img src="https://238491483-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGtDZUP6Er4XtK5IeijqY%2Fuploads%2FClUFAsGLN3V0i74n6fiV%2Fimg_v3_02ld_3cb741b0-04e5-493c-b8f5-fe2a583c8ahu.png?alt=media&#x26;token=c9ced773-70d8-4d44-9248-8dc165386772" alt="" width="375"><figcaption></figcaption></figure>

* **Mechanism:** An A2A interaction is initiated by one Agent (the sender) submitting a standard DeAgent operation (transaction) specifically targeting another Agent's address (the receiver).
* **Payload:** The operation payload contains the message or query intended for the receiving Agent, potentially structured similarly to a user query, but could include specific A2A directives or context.
* **Processing:** The interaction request enters the Interaction Pool like any other. An Executor processing the *receiving*Agent will fetch this A2A request. The receiving Agent's Lobe processes the request using its own Memory and Tools.
* **Response & State:** The receiving Agent's execution result (response, memory updates, potential tool use including decisions or further A2A messages) is submitted to the Candidate Pool and, if selected by Committers, updates the *receiving* Agent's state chain. The response part might be implicitly recorded on-chain or could trigger a reciprocal A2A message back to the original sender if designed that way.
* **Capabilities:** A2A communication enables sophisticated patterns:
  * **Information Exchange:** Agents querying each other for data or specialized knowledge.
  * **Task Delegation:** One Agent requesting another Agent with specific tools or expertise to perform a task.
  * **Coordinated Action:** Multiple Agents collaborating on a complex goal, potentially using the Decision Plugin and MPC for joint actions.
  * **Negotiation:** Agents engaging in dialogue to reach agreements.

The A2A protocol relies on the same fundamental DeAgent principles (Consensus, Identity, Continuity) ensuring that inter-agent communication is verifiable and consistently integrated into each participating Agent's state history.
