MCP Catalogs
首页a2a-go screenshot

a2a-go

by TheApeMachine·3·综合分 33

A2A-Go 是一个分布式 AI 框架,实现了 Google 的 A2A 协议,并支持 MCP 互操作。

ai-llmdeveloper-toolsops-infra
1
Forks
1
活跃 Issue
9 个月前
最近提交
2 天前
收录于

概述

A2A-Go 是一个使用 Go 构建的可扩展分布式智能体 AI 系统综合框架。它实现了 Google 的智能体到智能体协议,并集成模型上下文协议 (MCP) 以实现标准化工具交互。该框架采用微服务架构,智能体和工具作为独立服务运行,并内置 VPN 功能。它包含多个专业智能体(管理器、规划器、研究员、开发者)和目录服务,用于服务发现。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:构建具有专门角色的分布式多智能体 AI 系统
:跨不同企业工具(GitHub、Azure DevOps、Slack)创建自动化工作流
:使用 VPN 网络上下文切换实现安全的浏览器自动化
:A2A 协议和 MCP 有什么区别?
:VPN 功能是如何工作的?

什么时候选它

如果您需要使用谷歌 A2A 协议的分布式代理架构,并希望与 MCP 集成同时保持 Go 的性能优势,请选择 A2A-Go。

什么时候不要选它

如果您需要一个生产就绪的 MCP 服务器且要求完整的实现,请避免使用 A2A-Go,因为许多 MCP 资源功能仍未完成(资源管理不完整)。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • send_task

    Send a new task to an agent

  • get_task

    Retrieve a task by ID

  • cancel_task

    Cancel a task by ID

  • stream_task

    Stream the results of a task

  • list_prompts

    Retrieve a list of prompts from an agent

  • get_prompt

    Retrieve a prompt by ID

  • set_prompt

    Create or update a prompt

  • delete_prompt

    Delete a prompt by ID

  • tool_calling

    Call tools and receive the results

  • sampling

    Sample a task from an agent

  • roots

    Get the root task for a task

  • browser

    Headless browser automation with Rod

可对比工具

server-mcpmcp-go-servernomic-mcp

安装

安装

从源码安装

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 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。