关于这个工具
Go
Micro 是什么 Go Micro 是一个 Go 微服务框架,主要用途是构建 Go 微服务,以及构建可通过 MCP(Model Context Protocol)和 A2A(Agent2Agent)网关被 AI 调用的智能体。
主要能力
- 服务即工具:可用 Go 编写服务,或从提示词生成服务。
- MCP 网关:每个服务端点都会通过 Model Context Protocol 自动成为可被 AI 调用的工具。
- A2A 网关:每个智能体都可通过 Agent2Agent 协议被访问,可被任何框架上的智能体发现和调用。
- 智能体运行框架(Agent Harness):每个智能体都带有模型、记忆、工具、计划/委派、护栏和执行中间件。
适用人群 AI 智能体开发者、Go 开发者和微服务开发者。
获取方式
Go Micro 是开源项目,采用免费模式,并提供公开 API。学习曲线为中等。
功能与使用场景
) # Agent has both document search AND service access all_tools = [rag_tool] + toolkit// Agent connects and discovers tools const ws = new WebSocket("ws://localhost:3000/mcp/ws", { headers: { "Authorization": "Bearer my-token" } })// Call a tool ws// List tools ws←Previous Next→ Last modified September 10, 2026: model: rename AI package and remove legacy data model (#4918) (8288b16be)🌐 MCP Gateway Every service endpoint is automatically an AI-callable tool via the Model Context Protocol🔧 Services as Tools Build services in Go or generate them from a prompt🤖 Agent Harness A model, memory, tools, plan/delegate, guardrails, and execution middleware around every agent🤝 A2A Gateway Every agent is reachable over the Agent2Agent protocol — discovered and called by agents on any framework0 protocol as stdio (initialize, tools/list, tools/call), so any MCP client that speaks WebSocket can connect0", id: 2, method: "tools/list" }))0", id: 3, method: "tools/call", params: { name: "users