Awesome AI AgentsCommunication Protocols

google-agentic-commerce/a2a-x402

⭐ 559 Python repository created 2025-06-10

The A2A x402 Extension defines how agents speaking the Agent-to-Agent protocol can charge each other for services and settle those charges on-chain, reviving the HTTP 402 Payment Required status code for agent-to-agent commerce. It is published by Google's agentic commerce group and consists of a versioned specification, core libraries in more than one language, and runnable example agents. The payment flow has three steps. A merchant agent that requires payment for a capability answers a request with a payment-required message describing what is owed. The client agent signs the payment details and returns them in a payment-submitted message. The merchant verifies the signature, settles the payment on-chain, and replies with a payment-completed message that carries the delivered result. Because the exchange is expressed entirely as A2A messages, the same flow can be implemented in any language, and the repository keeps the specification separate from the implementations so partners can add their own. A schemes directory holds experimental payment schemes drafted by contributors outside the core team. The libraries follow a functional core with an imperative shell: a protocol layer supplies the data structures and the functions that create, sign and verify payments, and an executor layer provides middleware that drives the whole handshake automatically, so an existing agent can gain payment support without its author writing the state machine by hand. Developers who need unusual behaviour can drop to the protocol layer instead. The extension builds on the underlying x402 payment protocol and sits alongside the Agent Payments Protocol from the same organisation. The intended audience is developers who expose an agent as a paid service, for API calls, data processing, model inference or any other billable capability, and those building client agents that must pay for such services.

https://github.com/google-agentic-commerce/a2a-x402

a2aa2a-protocolagentic-aiagentsgen-aigenerative-aimcpx402paymentsagent-commercespecification

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.

a2aproject/a2a-samples

Official sample repository for the Agent2Agent (A2A) protocol, with runnable agent and host implementations in Python, Go, Java, JavaScript and C# built on the official A2A SDKs.

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.

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.