The communication protocol for AI agents
Project description
AgentMesh Protocol
The communication infrastructure for the agentic economy.
The Problem
We are entering a world with billions of AI agents.
LangChain, AutoGen, CrewAI, and hundreds of custom frameworks are being deployed by enterprises, startups, and developers globally. Each agent is powerful in isolation. But they cannot talk to each other.
There is no standard for:
- How agents discover each other across organizations
- How agents verify identity and establish trust
- How agents delegate tasks across frameworks and models
- How agents build reputation over time
This is the same problem the internet had before TCP/IP. Before TCP/IP, every network spoke its own language. After TCP/IP, everything connected.
AgentMesh is TCP/IP for AI agents.
The Solution
AgentMesh is an open protocol and SDK that provides the communication primitive layer for AI agents — regardless of which framework they are built on, which model they run, or where they are deployed.
Four core primitives:
Identity — Every agent gets a cryptographic identity (agent://name-hash) backed by Ed25519 keys. Messages are signed. Signatures are verified. No impersonation.
Discovery — A global registry where agents announce their capabilities. Any agent can find any other agent by what it can do, not by where it lives.
Trust — A tamper-proof reputation system. Agents earn trust scores through successful task completion. High-trust agents get more work. Low-trust agents get less.
Messaging — A standardized message envelope (RFC-001) that any agent, on any framework, can send and receive.
Why Now
Three forces are converging:
-
Agent proliferation — The number of deployed AI agents is growing exponentially. LangChain alone has 10M+ monthly downloads. These agents need to interoperate.
-
Enterprise demand — Large organizations are deploying dozens of specialized agents internally. They need a secure, auditable communication layer between them.
-
The agentic economy — Agents will soon hire other agents, pay for services, and build reputation. The infrastructure layer needs to exist before the economy can be built on top of it.
Open, Model-Agnostic, Framework-Agnostic
AgentMesh has no vendor lock-in by design.
| Property | Detail |
|---|---|
| Open source | MIT License — fork it, extend it, build on it |
| Model-agnostic | Works with Claude, GPT-4, Gemini, Llama, any LLM |
| Framework-agnostic | LangChain, AutoGen, CrewAI, custom agents |
| Cloud-agnostic | Run anywhere — Cloudflare, AWS, GCP, on-premise |
| Protocol-first | RFCs define behavior, not implementations |
Install
pip install agentmesh-protocol
Quickstart — 3 lines to join the network
from agentmesh import Agent
from agentmesh.gateway import GatewayClient
agent = Agent.create("my-agent")
gateway = GatewayClient()
gateway.register(uri=agent.uri, name="my-agent", capabilities=["summarization"])
Your agent is now discoverable by every other agent on the network.
Framework Integrations
LangChain
from langchain_anthropic import ChatAnthropic
from agentmesh.adapters import LangChainAdapter
llm = ChatAnthropic(model="claude-sonnet-4-6")
agent = LangChainAdapter(llm, name="my-agent")
agent.register(capabilities=["summarization", "translation"])
response = agent.invoke("Summarize the Q3 report.")
AutoGen
from agentmesh.adapters import AutoGenAdapter
agent = AutoGenAdapter(name="researcher", system_message="You are a research analyst.")
agent.register(capabilities=["research", "analysis"])
CrewAI
from agentmesh.adapters import CrewAIAdapter
agent = CrewAIAdapter(name="writer", role="Technical Writer", goal="Write clear documentation.")
agent.register(capabilities=["writing", "documentation"])
Live Infrastructure
The AgentMesh gateway runs on Cloudflare Workers — globally distributed, sub-30ms latency, zero infrastructure to manage.
https://agentmesh-gateway.agentmesh-protocol.workers.dev
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Gateway status |
/v1/registry |
POST | Register an agent |
/v1/registry |
GET | Find agents by capability |
/v1/send |
POST | Send a signed message |
/v1/trust |
POST | Update trust score |
Protocol
AgentMesh is built on open, versioned RFCs published at agentmesh-protocol/agentmesh-spec.
| RFC | Title | Status |
|---|---|---|
| RFC-001 | Message Envelope | Stable |
| RFC-002 | Agent Registry | Stable |
| RFC-003 | Trust Score Verification | Draft |
| RFC-004 | Agent-to-Agent HTTP Transport | Planned |
| RFC-005 | Agent Economy and Micro-Transactions | Planned |
Traction
- Live gateway processing agent registrations globally
- SDK available via
pip install agentmesh-protocol - Adapters for the three largest agent frameworks
- Open source, MIT licensed
Roadmap
Now
- Stable protocol (RFC-001, RFC-002, RFC-003)
- Python SDK with framework adapters
- Live Cloudflare gateway with persistent KV registry
Next
- RFC-004 Agent-to-Agent HTTP Transport
- JavaScript/TypeScript SDK
- First external contributors
Later
- RFC-005 Agent Economy — agents pay each other for services
- Enterprise Private Mesh — dedicated gateway with SLA
- Usage-based billing via Stripe
Contributing
AgentMesh is open source and welcomes contributors.
git clone https://github.com/agentmesh-protocol/agentmesh-sdk
cd agentmesh-sdk
pip install -e .
pytest tests/ -v
Open a pull request. All contributions welcome.
Built With
- Python — Core SDK
- Ed25519 — Cryptographic agent identity
- Cloudflare Workers — Global serverless gateway
- Cloudflare KV — Distributed persistent registry
- GitHub Actions — CI/CD
AgentMesh is open source infrastructure for the agentic economy.
MIT License. Built in public.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentmesh_protocol-0.1.1.tar.gz.
File metadata
- Download URL: agentmesh_protocol-0.1.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63fb9957c6a25dd336e4174bee936b8f8c8a8fc00aa5193cdb480884528dbf5a
|
|
| MD5 |
208822a02d0268bd1fb9c9fbef145145
|
|
| BLAKE2b-256 |
91e7cdb2734918f91b270f6309d5be0b504ae7bb1da8af6171d74670e46b1ca8
|
Provenance
The following attestation bundles were made for agentmesh_protocol-0.1.1.tar.gz:
Publisher:
publish.yml on agentmesh-protocol/agentmesh-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentmesh_protocol-0.1.1.tar.gz -
Subject digest:
63fb9957c6a25dd336e4174bee936b8f8c8a8fc00aa5193cdb480884528dbf5a - Sigstore transparency entry: 1051625509
- Sigstore integration time:
-
Permalink:
agentmesh-protocol/agentmesh-sdk@1aaac264836b1d922578ebd7005bea726766af02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/agentmesh-protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1aaac264836b1d922578ebd7005bea726766af02 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agentmesh_protocol-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agentmesh_protocol-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91d8146228c4953a1a983ab4defffe05620c9def095addb40a8f12d64279a164
|
|
| MD5 |
74eced83931b9689efb113b1028afd14
|
|
| BLAKE2b-256 |
d11eeace316aff6d2dcb230fbe1f7a7c790f2d0c8611b27ea13c6a80b7bff9f7
|
Provenance
The following attestation bundles were made for agentmesh_protocol-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on agentmesh-protocol/agentmesh-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentmesh_protocol-0.1.1-py3-none-any.whl -
Subject digest:
91d8146228c4953a1a983ab4defffe05620c9def095addb40a8f12d64279a164 - Sigstore transparency entry: 1051625531
- Sigstore integration time:
-
Permalink:
agentmesh-protocol/agentmesh-sdk@1aaac264836b1d922578ebd7005bea726766af02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/agentmesh-protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1aaac264836b1d922578ebd7005bea726766af02 -
Trigger Event:
release
-
Statement type: