
AgentAnycast
io.github.AgentAnycast由 GitHub 帳號 AgentAnycast 發布v0.3.2更新於 Oct 24, 2026
P2P runtime for A2A protocol. Encrypted agent communication with zero-config NAT traversal.
概覽
點對點代理網路守護程式,把 A2A 任務傳送、代理探索與節點檢視能力以 MCP 工具形式提供給 AI 助理。
- 可以做什麼
- 檢視本機節點資訊、代理卡片與已連線的對等節點
- 依技能探索代理,取得本機或遠端代理卡片
- 依節點 ID 或依技能(anycast)傳送任務並查詢任務狀態
- 以 stdio 或 Streamable HTTP 方式作為 MCP 伺服器執行,並可將其他 MCP 伺服器指令包裝成 P2P 可存取的代理
- 適用情境
- 當你希望助理透過加密的點對點網路把工作交給其他代理時使用:同一區域網路內零設定即可,跨網路則需自建中繼。
- 執行需求
- 需在本機執行守護程式二進位檔(agentanycastd)並以 MCP 模式啟動,或使用 npm 套件;需要身分金鑰檔案(預設位於使用者家目錄下)與本機資料存放區;跨網路使用需中繼或引導節點;可選的 Python、TypeScript SDK 透過 gRPC 與其通訊。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AgentAnycast,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 a09660a
工具
0版本歷史
1- v0.3.2最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。