经 AI Skill Hub 精选评估,go-micro 获评「推荐使用」。在 GitHub 上收获超过 22.8k 颗 Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
go-micro是一款开源的Go微服务框架,专注于AI代理的开发和部署。它提供了一个分布式系统的基础设施,支持微服务的开发和部署。通过go-micro,开发者可以快速构建和部署AI代理,提高开发效率和系统的可扩展性。
go-micro 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
go-micro是一款开源的Go微服务框架,专注于AI代理的开发和部署。它提供了一个分布式系统的基础设施,支持微服务的开发和部署。通过go-micro,开发者可以快速构建和部署AI代理,提高开发效率和系统的可扩展性。
go-micro 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:go install(推荐) go install github.com/micro/go-micro@latest # 方式二:从源码编译 git clone https://github.com/micro/go-micro cd go-micro go build -o go-micro . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/micro/go-micro/releases
# 查看帮助 go-micro --help # 基本运行 go-micro [options] <input> # 详细使用说明请查阅文档 # https://github.com/micro/go-micro
# go-micro 配置说明 # 查看配置选项 go-micro --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export GO_MICRO_CONFIG="/path/to/config.yml"
| Category | What | Details |
|---|---|---|
| **AI** | Agents | micro.NewAgent() — intelligent layer that manages services |
| **AI** | Flows | micro.NewFlow() — event-driven LLM orchestration |
| **AI** | MCP gateway | Every endpoint is an AI tool automatically |
| **AI** | 7 LLM providers | Anthropic, OpenAI, Gemini, Groq, Mistral, Together, Atlas Cloud |
| **AI** | Chat router | micro chat routes to agents or calls services directly |
| **AI** | Service generation | micro run --prompt — describe a system, get running services |
| **Discovery** | Service registry | mDNS (default), Consul, etcd |
| **Communication** | RPC client/server | gRPC transport, load balancing, streaming |
| **Messaging** | Pub/sub events | NATS, RabbitMQ, HTTP broker |
| **Storage** | Key-value store | File (bbolt), Postgres, NATS KV |
| **Data** | Typed model layer | CRUD + queries, SQLite/Postgres backends |
| **DX** | Hot reload | micro run watches files, rebuilds on change |
| **DX** | Templates | micro new --template crud/pubsub/api |
| **Deploy** | One-command deploy | micro deploy user@server — SSH + systemd, no Docker |
| **Plugins** | Everything swappable | All abstractions are Go interfaces |
An Agent is a service with an LLM inside it. It has a proto-defined Agent.Chat RPC endpoint, registers in the registry, and is callable like any service:
agent := micro.NewAgent("task-mgr",
micro.AgentServices("task", "project"),
micro.AgentPrompt("You manage tasks and projects. You understand deadlines and priorities."),
micro.AgentProvider("anthropic"),
)
agent.Run()
The agent discovers its services from the registry, scopes its tools to their endpoints, and maintains conversation memory in the store. It registers itself so micro chat and other agents can find it.
// Programmatic interaction
resp, _ := agent.Ask(ctx, "What tasks are overdue?")
fmt.Println(resp.Reply)
Multiple agents coordinate via RPC — each is a service with an Agent.Chat endpoint. micro chat routes to the right one.
micro agent list # list registered agents
micro call task-mgr Agent.Chat '{"message": "What tasks are overdue?"}'
Install the CLI:
```bash
See all examples.
Go Micro is a framework for building microservices that AI agents can use.
Write services in Go. They register, discover each other, and communicate via RPC and events. Every endpoint is automatically an AI-callable tool via MCP. An agent orchestrates across services so they don't have to call each other.
go-micro是一款高质量的Go微服务框架,适用于AI代理的开发和部署,提供了分布式系统的基础设施和微服务的开发和部署支持,提高开发效率和系统的可扩展性。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:go-micro 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | go-micro |
| Topics | workflowdistributed-systemsgogolangmicromicroservices |
| GitHub | https://github.com/micro/go-micro |
| License | Apache-2.0 |
| 语言 | Go |
收录时间:2026-06-05 · 更新时间:2026-06-05 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端