
AgentAnycast
io.github.AgentAnycastPublished by GitHub account AgentAnycastv0.3.2Updated Oct 24, 2026
P2P runtime for A2A protocol. Encrypted agent communication with zero-config NAT traversal.
Overview
Peer-to-peer agent networking daemon that exposes A2A task sending, agent discovery and peer inspection as MCP tools for AI assistants.
- What you can do
- Inspect the local node, its agent card and connected peers
- Discover agents by skill and fetch local or remote agent cards
- Send tasks to a peer by ID or by skill (anycast) and check task status
- Run as a stdio or Streamable HTTP MCP server, and optionally wrap another MCP server command as a P2P-accessible agent
- When to use it
- Use it when you want an assistant to hand work to other agents over an encrypted peer-to-peer network, either on the same LAN with zero configuration or across networks through a self-hosted relay.
- Requirements
- A local daemon binary (agentanycastd) started with the MCP flag, or the npm package; an identity key file (default under the user's home directory) and a local data store; a relay or bootstrap peers for cross-network use; optional Python or TypeScript SDKs talk to it over gRPC.
Installation
In SourceWeft
- Open AgentAnycast in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AgentAnycast Node
The core daemon powering AgentAnycast's P2P agent network.
AgentAnycast Node (agentanycastd) is a sidecar daemon that runs on each machine, providing P2P networking, end-to-end encryption, and A2A protocol routing. Language SDKs (Python, TypeScript) communicate with it over gRPC.
Fully decentralized. On a local network, agents discover each other via mDNS with zero configuration. For cross-network communication, deploy your own relay with a single command.
Features
Quick Start
Standalone -- local network (zero configuration)
With Python SDK
MCP mode -- use as an AI tool
Cross-network -- deploy your own relay
Configuration
Priority: CLI flags > environment variables > config file > defaults
CLI Flags
Environment Variables
Config File
Default location: ~/.agentanycast/config.toml
Architecture
Internal Packages
gRPC API
MCP Server
The daemon can run as an MCP (Model Context Protocol) server, exposing P2P capabilities as tools for AI assistants.
Transport modes:
- stdio -- for local AI tool integration (Claude Desktop, Cursor, VS Code, Gemini CLI, JetBrains)
- Streamable HTTP -- for remote clients (ChatGPT)
MCP Remote Proxy
Wrap any MCP Server as a P2P-accessible agent with a single flag:
The proxy auto-generates an Agent Card from the MCP server's tool list, registers skills with the relay, and bridges incoming A2A tasks to MCP tool calls.
HTTP Bridge
Exposes an A2A-compatible HTTP endpoint for P2P ↔ HTTP interop:
GET /.well-known/a2a-agent-card-- Agent Card discoveryPOST /-- JSON-RPC endpoint for task operations- Optional TLS and CORS support
ANP Bridge
Exposes an ANP-compatible HTTP endpoint for Agent Network Protocol interop:
GET /agent/ad.json-- Agent Description (JSON-LD)GET /agent/interface.json-- OpenRPC specificationPOST /agent/rpc-- JSON-RPC 2.0 endpoint
Observability
Prometheus Metrics
Available on a configurable HTTP port (default :9090):
OpenTelemetry
Distributed tracing with W3C Trace Context propagation. Spans cover task lifecycle, transport hops, and envelope encryption.
Building
Disclaimer
This software is provided "as is", without warranty of any kind. This software uses cryptography and may be subject to export controls in certain jurisdictions.
License
FSL-1.1-ALv2 -- Functional Source License, Version 1.1, with Apache License, Version 2.0 as the future license. Each release converts to Apache 2.0 two years after its publication date.
Source: README.md at commit a09660a
Tools
0Version history
1- v0.3.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.