Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyAI, memory and agents

Agent Mesh

Lets your AI agent find and call tools and models that other agents publish on a private, authenticated network.

1.2k stars on GitHubby Google (open-source project)License Apache-2.0Updated 20 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add agentmesh -e AGENTMESH_CONTROL_PLANE_URL="<your value>" -- npx -y @agentmesh-p2p/sdk

What to fill in

NameWhat it isRequired
AGENTMESH_CONTROL_PLANE_URLControl plane URL supplied by your mesh operator. HTTPS is required beyond loopback unless explicitly permitted below.Yes
AGENTMESH_BOOTSTRAP_TOKEN_PATHAbsolute path to a bootstrap token file for first enrollment. Set this OR AGENTMESH_JWT_PATH; leave both empty only when resuming saved credentials.No
AGENTMESH_JWT_PATHAbsolute path to an OIDC/workload token file. Alternative to the bootstrap token; reread during credential refresh.No
AGENTMESH_STATE_DIRAbsolute directory for this client identity. Use a distinct directory per client and mesh. If omitted, uses ~/.config/agentmesh/mcp.No
AGENTMESH_INSECURE_CONTROL_PLANEAllow plaintext HTTP beyond loopback. Development only: exposes enrollment traffic to the network.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

List the tools other members of our mesh have published.
Call the summarizer service on the mesh with this report.

What it is

Agent Mesh is a private network for AI agents. A small program called a node runs next to your agent, joins the network, and gives the agent a local MCP server on your own computer. Through it your agent can discover and call services that other members publish, and publish its own.

What it can do

  • Discover services that other nodes publish on the mesh
  • Call tools and models that other nodes publish
  • Publish your own local tools and models to the network
  • Route model requests through an OpenAI-compatible endpoint
  • Prove who the node is with a credential other nodes can verify

When to use

  • β€ΊWhen you want several agents on different machines to share tools without opening them to the internet
  • β€ΊWhen you want your agent to use a model that someone else on your team serves
  • β€ΊWhen you need every call between agents to be tied to a verified identity and a policy

What you need

You need a mesh to join (a shared test mesh or your own control plane) and a sign-in through your identity provider or a bootstrap token. The node is installed with a script from the project.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The project is open source under the Apache-2.0 license. The readme says it is not an officially supported Google product.

Is anything reachable by default?

No. A node exposes no services until its configuration says so, and a node can only call services that the mesh policy has granted.

How does a node prove who it is?

A node enrolls with an OpenID Connect token or a bootstrap token. The control plane turns that into a short-lived credential bound to the node's own key.

Does it work behind NAT or on a phone?

Yes. Nodes connect directly when they can and through relays when they cannot, so it works across laptops, containers, clusters and phones behind NAT.

Can I run my own mesh?

Yes. The readme says a control plane can run on your laptop in one command, and there is a shared developer test mesh with no uptime promise.

Is it ready for production?

It is pre-1.0. The node, routers, control plane, identity and policy model are described as stable in shape, while sandboxed agents and the mobile app are in preview.

If it does not work

  • β€ΊRun the one-time login again with agentmesh-node join and the mesh URL if the node cannot reach the network.
  • β€ΊCheck that the node is running with agentmesh-node run, since the local MCP server listens on 127.0.0.1:8080.
  • β€ΊIf a call is refused, ask the mesh admin whether policy grants your node access to that service name.

5 new skills a week. 1 minute to read.