a2a-go
by TheApeMachine·★ 3·综合分 33
A2A-Go 是一个分布式 AI 框架,实现了 Google 的 A2A 协议,并支持 MCP 互操作。
概述
A2A-Go 是一个使用 Go 构建的可扩展分布式智能体 AI 系统综合框架。它实现了 Google 的智能体到智能体协议,并集成模型上下文协议 (MCP) 以实现标准化工具交互。该框架采用微服务架构,智能体和工具作为独立服务运行,并内置 VPN 功能。它包含多个专业智能体(管理器、规划器、研究员、开发者)和目录服务,用于服务发现。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您需要使用谷歌 A2A 协议的分布式代理架构,并希望与 MCP 集成同时保持 Go 的性能优势,请选择 A2A-Go。
什么时候不要选它
如果您需要一个生产就绪的 MCP 服务器且要求完整的实现,请避免使用 A2A-Go,因为许多 MCP 资源功能仍未完成(资源管理不完整)。
此 server 暴露的工具
从 README 抽取出 12 个工具send_taskSend a new task to an agent
get_taskRetrieve a task by ID
cancel_taskCancel a task by ID
stream_taskStream the results of a task
list_promptsRetrieve a list of prompts from an agent
get_promptRetrieve a prompt by ID
set_promptCreate or update a prompt
delete_promptDelete a prompt by ID
tool_callingCall tools and receive the results
samplingSample a task from an agent
rootsGet the root task for a task
browserHeadless browser automation with Rod
可对比工具
安装
安装
从源码安装
git clone https://github.com/theapemachine/a2a-go.git
cd a2a-go
go build -o a2a-go main.go
./a2a-go --help使用 Docker
docker build -t theapemachine/a2a-go:latest .
docker run -it --rm theapemachine/a2a-go:latest ui快速开始
make server # 启动所有服务
make client # 运行终端 UI 客户端Claude Desktop 配置
要在 Claude Desktop 中使用,添加到 claude_desktop_config.json:
{
"mcpServers": {
"a2a-go": {
"command": "docker",
"args": ["run", "-it", "--rm", "theapemachine/a2a-go:latest", "ui"]
}
}
}FAQ
- A2A 协议和 MCP 有什么区别?
- A2A(智能体到智能体)是 Google 的 AI 智能体间通信协议,而 MCP(模型上下文协议)是 Anthropic 的标准化工具交互和数据交换协议。A2A-Go 实现了这两种协议并支持它们之间的互操作。
- VPN 功能是如何工作的?
- A2A-Go 包含一个使用 WireGuard 构建的 VPN 解决方案,专门为浏览器工具设计。它提供 SOCKS5 代理支持和网络上下文切换,允许浏览器从不同的网络端点操作,并使用 gVisor 实现自定义网络堆栈。
a2a-go 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。