Awesome AI AgentsCommunication Protocols

a2aproject/a2a-samples

⭐ 1764 Jupyter Notebook repository created 2025-05-27

This repository holds the official code samples and demonstrations for the Agent2Agent (A2A) protocol, an open standard that defines how independently built agents discover each other, communicate, delegate tasks and collaborate across frameworks and ecosystems. The samples are organized by programming language under a samples directory: Python agents built on the A2A Python SDK, Go agents on the Go SDK, C# agents on the .NET SDK, Java agents on the Java SDK, and Node.js agents on the JavaScript SDK. A quick start walks through the smallest end-to-end case, in which a Helloworld agent server is launched from its own virtual environment with its dependencies installed, and a second terminal runs a Python test client that acts as the host application and exchanges messages with that agent. The repository can also be opened directly in Firebase Studio from a template link. Because the examples are written across several languages and host applications, they are meant to show that the same multi-agent problem can be solved with interoperable components that do not share a runtime. The README links the surrounding ecosystem of related repositories, which includes the core A2A specification, an inspector user interface for examining A2A-enabled agents, a technology compatibility kit and an interoperability toolkit for validating protocol compliance and cross-SDK compatibility using multi-hop traversal and several transport protocols, and the official SDKs for Python, Go, Java, JavaScript, .NET and Rust. Contributions of samples, bug fixes and documentation improvements are invited through a contributing guide, and questions are handled on the issue tracker. The authors state explicitly that the sample code is for demonstration and illustrates protocol mechanics rather than serving as production-ready software. The material suits developers learning multi-agent interoperability or building A2A-compatible agents.

https://github.com/a2aproject/a2a-samples

a2aprotocolmulti-agentsamplesinteroperability

Also in Communication Protocols

novuhq/novu

Novu is an open-source communication infrastructure that unifies notification delivery across various channels for both products and AI agents, offering a single API for multi-channel messaging, wo...

google-agentic-commerce/AP2

Agent Payments Protocol (AP2) is a project focused on creating a secure and interoperable protocol for AI-driven payments, providing code samples and demos to facilitate development and integration.

agent-network-protocol/AgentNetworkProtocol

AgentNetworkProtocol (ANP) is an open-source protocol designed to enable secure, decentralized, and efficient communication and collaboration among intelligent agents, aiming to become the HTTP of the Agentic Web era.

universal-tool-calling-protocol/python-utcp

Python reference implementation of the Universal Tool Calling Protocol, a plugin-based standard that lets agents discover and call existing tools directly over HTTP, SSE, CLI and other transports.

google-agentic-commerce/a2a-x402

Specification and reference libraries for the x402 extension to the Agent-to-Agent protocol, letting one agent charge another for a service through on-chain stablecoin payments in a three-message flow.

a2aproject/a2a-java

a2a-java is the official Java SDK for the Agent2Agent protocol, providing client and server modules that expose agentic Java applications over JSON-RPC, gRPC and REST transports.

a2aproject/a2a-go

Go SDK for the Agent2Agent (A2A) protocol that provides client and server libraries for exposing and consuming agents over gRPC, REST and JSON-RPC, together with a CLI for discovery and messaging.

thu-nics/C2C

Research implementation of Cache-to-Cache, a method that lets two large language models exchange semantics directly by projecting and fusing their KV-caches instead of passing generated text between them.