Go Micro — Agent Harness & Service Framework for Go
Build agents as services with memory, tools, guardrails, planning, delegation, and MCP/A2A interop — all in Go.
- Source repo
- micro/go-micro
- Stars
- ★ 23k
- Last updated
- 1d ago v6.18.0
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- Apache-2.0
- Primary language
- Go
- FA score
- 51/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Go teams wanting to integrate AI agents into existing microservices without rewriting services.
- Not a fit if
- Lightweight scripts that don't want a service registry and gateway runtime
- Teams needing a mature ecosystem with many ready-made integrations
- Website
- go-micro.dev ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01latest release v6.18.0 (2026-11-23)
- Source review
- 51/100 · Major gaps
What does this agent do, and when should you use it?
Go Micro is an agent harness and service framework written in Go. It provides the runtime around an agent: tools, memory, guardrails, workflows, and protocols. Agents are services that register, discover, and expose a Chat RPC endpoint. Services are structs with methods; their endpoints become AI-callable tools automatically. The framework includes pluggable abstractions for registry, broker, store, and model provider, supporting 9 LLM providers. It integrates MCP for tools and A2A for agent interop, and supports paid tools via x402. A CLI (micro) scaffolds, runs, and debugs services and agents. Workflows provide durable execution.
Running micro run starts services, launches a gateway, an interactive console, and hot-reload. micro run --prompt "..." uses an LLM to generate services and an agent. Agents have built-in plan and delegate tools for multi-step planning and delegation to other agents. Services communicate via gRPC and are registered/discovered via the registry. Endpoints are exposed as MCP tools at /mcp/tools. micro a2a serve starts an A2A gateway making agents reachable over A2A protocol. micro mcp serve supports x402 payments. Flows enable durable, checkpointed execution that resumes after crashes.
- Go teams wanting to integrate AI agents into existing microservices without rewriting services.
- Developers who need agents to call internal APIs as tools, with automatic schema generation.
- Organizations requiring interop with other agent frameworks via A2A protocol.
- Companies wanting to monetize agent tool calls using x402 stablecoin payments.
- Teams needing persistent conversation memory and crash-resilient workflows.
- Developers wishing to generate backend services and agents from natural language prompts.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://go-micro.dev/install.sh | shgo install go-micro.dev/v6/cmd/micro@latest
- Environment variables
ANTHROPIC_API_KEY
How do you install or deploy this agent?
Install the CLI: curl -fsSL https://go-micro.dev/install.sh | sh, or go install go-micro.dev/v6/cmd/micro@latest. Binary install requires no Go.
How do you use this agent?
Quick start: micro new helloworld, then cd helloworld && micro run, then curl -X POST http://localhost:8080/api/helloworld/Helloworld.Call -H 'Content-Type: application/json' -d '{"name":"World"}'. For prompt-based generation, set an API key: export ANTHROPIC_API_KEY=..., then micro run --prompt "a task management system". Programmatic agent: micro.NewAgent("task-mgr", micro.AgentServices("task"), micro.AgentPrompt("..."), micro.AgentProvider("anthropic")), then agent.Ask(ctx, "...").
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Agent-as-service: endpoints automatically become AI tools.
- Built-in MCP and A2A support for cross-framework interop.
- Durable memory and workflows survive crashes.
- Pluggable model providers (9 LLMs) and dependency injection.
- CLI with hot-reload, templates, and one-command deploy.
- Relatively new framework with smaller ecosystem.
- x402 payments require external facilitator setup.
- Learning curve for harness and flow concepts.
- Some features (like A2A) may require additional configuration.
How does this agent compare with similar options?
No explicit competitors mentioned, but it can be compared to other Go microservice frameworks (e.g., go-kit) or general agent frameworks like LangChain.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Go Micro — Agent Harness & Service Framework for Go This agent | 51 · Major gaps | CLIFree + model costs | ★ 23k | 1d ago | Go | OpenAI API · Claude API |
| octo-agent | 73 · Some gaps | CLIFree + model costs | ★ 161 | 4d ago | Go | OpenAI API · Claude API |
| ADK Go | 72 · Some gaps | Library / SDKFree + model costs | ★ 9k | 1d ago | Go | — |
| agentest | 67 · Some gaps | — | ★ 59 | today | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README presents services as Agent tools exposed through HTTP/MCP. The security policy discusses TLS, JWT, input validation, rate limiting, and secret management; the dependency workflow names govulncheck and two tracked allow-listed items, supporting the sensitive-data and dependency scores. Deductions: the packet does not show Agent tool permission defaults, pre-action confirmation, data-flow disclosure, external-effect controls, or rollback. Publisher identity is unknown, and the evidence does not establish clear authorship or source attribution.
The README, CLAUDE.md, and source samples broadly describe the same Go Micro framework. CI workflows specify build, harness, and service smoke tasks; the protoc plugin has failure paths for input reading, parsing, missing generation targets, and output writing. Deductions: CLAUDE.md makes stronger claims about AI-native/MCP behavior than the README and source sample establish; dependency availability is represented by pinned go.mod versions and CI configuration, without fallback or degradation guidance.
The README distinguishes ordinary Go/RPC services, connecting an existing Agent through MCP, and building an Agent service, indicating several scenarios. The framework describes replaceable interfaces and targets Go environments. Deductions: the sample does not explain Agent permission boundaries, tool-selection conditions, or trigger scope. CLAUDE.md says services automatically become MCP tools, while the README describes gateway use as optional.
The README provides an installation command and documentation index; CLAUDE.md gives a directory map, contribution guidance, and example entry points. The LICENSE states Apache 2.0, and SECURITY.md documents supported versions and a reporting channel. Deductions: the packet does not include complete user-facing Agent installation or troubleshooting detail, a full FAQ, or limitations by feature. Version and maintenance information chiefly comes from CLAUDE.md status statements, while publisher identity and maintainer update path are not independently established by the evidence.
The framework connects RPC, discovery, messaging, storage, and configuration capabilities to Agent tools, with stated use cases for exposing services, building an Agent, and chatting. These interfaces and documentation entry points have practical integration value. Deductions: the packet does not quantify workflow gains, resource costs, or complexity, and does not establish net benefit in real use.
Some README claims are corroborated by CLAUDE.md architecture and directory descriptions, plugin imports in the main program, go.mod, and CI workflows; the security policy also provides locatable configuration examples. Deductions: key Agent execution behavior is not shown in the supplied source, CLAUDE.md includes progress and completion claims that this packet cannot independently verify, and the material does not clearly distinguish product facts from roadmap or self-reported claims.
- The packet does not show Agent tool-call permissions, confirmation, data-flow, or rollback implementation; review the complete Agent and MCP configuration before deployment.
- CLAUDE.md claims about automatic MCP exposure and project progress exceed what the supplied source sample can verify; treat them as project statements rather than independently verified facts.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * Add integrations page, submissions and sponsorship policy by @asim in https://github.com/micro/go-micro/pull/5068 * Run vulnerability scans weekly and update Go to 1.26.11 by @asim in https://github.com/micro/go-micro/pull/5067 * fix(model): propagate in-stream provider errors by @shuaiyafei in https://github.com/micro/go-micro/pull/5066 * fix(ollama): avoid duplicating the cloud API version by @shuaiyafei in https://github.com/micro/go-micro/pull/5069 * fix(gemini): honor output caps during generation by @shuaiyafei in https://github.com/micro/go-micro/pull/5071 …View on GitHub ↗ -
Release notes excerpt
What's Changed * Show service and agent code on the landing page by @asim in https://github.com/micro/go-micro/pull/5038 * fix(etcd): skip delete events without previous values by @asim in https://github.com/micro/go-micro/pull/5040 * Reconcile the next-phase roadmap and v6 support policy by @asim in https://github.com/micro/go-micro/pull/5043 * Document the v7 execution contract and adoption baseline by @asim in https://github.com/micro/go-micro/pull/5047 * Add durable recovery release gate by @asim in https://github.com/micro/go-micro/pull/5048 …View on GitHub ↗ -
Release notes excerpt
Bug fixes - Prevent the etcd registry watcher from panicking when a DELETE event does not include PrevKv (#5040, #5041).View on GitHub ↗
FAQ
How does Go Micro differ from LangChain?
Which LLM providers are supported?
Can I use my existing services with agents?
Does it support paid tool calls?
Is Docker required?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.