m2m
Agents pay Agents, m2m Protocol: x402 + A2A + MCP
Created on 16th June 2025
•
m2m
Agents pay Agents, m2m Protocol: x402 + A2A + MCP
The problem m2m solves
This proof-of-concept (PoC) project demonstrates autonomous economic interactions between AI Agents, modeled as services. In this architecture, agents can request tasks from other agents based on their domain expertise and reword them via x402 payments. It is a practical implementation of a Machine-to-Machine (M2M) economy, where agents interact using emerging protocols like Google's Agent-to-Agent (A2A) and x402, running on top of MCP and Base network.
Challenges we ran into
The biggest challenges we ran into are:
-
The x402 protocol implementation for Python was released just a few weeks ago, that made us creating a proxy middleware to handle the integration and combine Python and Typescript.
-
The A2A protocol is still under active development; the package is not yet stable, and its constructs are subject to frequent changes.
Additionally, the evolving nature of these technologies means that the overall stack is not yet fully stable and frequent updates will be necessary and make the development of a real protocol/standard way more complicated.
Tracks Applied (1)
Best Use of x402pay
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.