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
today
License
Apache-2.0
Primary language
Go

At a glance

How it runs
CLILibrary / SDKFramework
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
GoDocker (optional)Shell / CLINetwork accessLocal filesystem
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

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.

  1. Go teams wanting to integrate AI agents into existing microservices without rewriting services.
  2. Developers who need agents to call internal APIs as tools, with automatic schema generation.
  3. Organizations requiring interop with other agent frameworks via A2A protocol.
  4. Companies wanting to monetize agent tool calls using x402 stablecoin payments.
  5. Teams needing persistent conversation memory and crash-resilient workflows.
  6. Developers wishing to generate backend services and agents from natural language prompts.

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, "...").

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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 56 · Major gaps CLIFree + model costs ★ 23k today Go OpenAI API · Claude API
ADK Go 31 · Major gaps Library / SDKFree + model costs ★ 8.9k today Go —
ReachAI Enterprise Agent Platform 60 · Some gaps Self-hosted serviceFree + model costs ★ 952 today Java OpenAI API
CUGA 51 · Major gaps CLIFree + model costs ★ 1k 1d ago Python OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
56/ 100 5-point scale 2.8 / 5
This review covers the source as of Aug 11, 2026. The project has shipped 7 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 11/29
Reliability 9/14
Adaptability 12/18
Convention 10/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

Evidence shows guardrails like MaxSteps, LoopLimit, ApproveTool, but no explicit least-privilege defaults; user confirmation exists via ApproveTool but not default; data flow transparency via MCP/A2A gateways and tool wrappers, but logging not detailed; sensitive data handling has TLS and secrets management advice, but not framework-internal; dependency security has govulncheck workflow with ALLOWLIST, but known unfixed vulns; external effects include x402 payments and deployment, but side-effect control not explicit; rollback via durable flows and checkpoints, but no explicit rollback mechanism; source attribution via Apache-2.0, but publisher unverified.

Reliability9 / 14 · 3.2/5

Self-consistency: README and code examples align, but no execution verified; dependency availability: go.mod lists deps, but availability not verified; failure messages: error handling examples and CLI diagnostics, but not comprehensive.

Adaptability12 / 18 · 3.3/5

Audience and scenarios: developer-oriented with quick start and examples; capability boundaries: guardrails and tool wrappers, but limits not explicit; trigger precision: CLI commands and event-driven flows, but triggers not explicit; environment fit: multiple deployment options, but not all environments covered.

Convention10 / 18 · 2.8/5

Information architecture: README, docs, examples well-structured; install notes: install script and Docker options; naming stability: versioned module path; examples and FAQ: extensive examples and docs; known limitations: SECURITY.md mentions TLS default disabled, but not comprehensive; license: Apache-2.0; versioning and changelog: version support, but no CHANGELOG; maintenance responsibility: commercial support and community channels.

Effectiveness9 / 13 · 3.5/5

Output usability: CLI and API with clear output formats; marginal value: agent harness and framework with unique features; cost-benefit: open-source free, but commercial support paid.

Verifiability5 / 8 · 3.1/5

Claim traceability: README features have code examples and doc links; cross-source corroboration: test files and CI workflows; fact-inference separation: docs distinguish feature descriptions and design intent.

Risks and how to mitigate them
  • Publisher identity unverified; assess supply chain risk carefully.
  • Known unfixed vulnerabilities (e.g., pgx-related) exist; monitor dependency security.
  • TLS certificate verification disabled by default; enable explicitly in production.
  • No CHANGELOG provided; version history not transparent.
Evidence confidence: Low Reviewed Aug 11, 2026 Reviewed revision 77fc793d5bab New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v6.15.1
    Release notes excerpt
    What's Changed * Clarify the framework and its first project experience by @asim in https://github.com/micro/go-micro/pull/4990 * Simplify the README around the framework by @asim in https://github.com/micro/go-micro/pull/4991 * Add model.Decider with a TypeSafe implementation by @asim in https://github.com/micro/go-micro/pull/4992 * Remove community section from README by @asim in https://github.com/micro/go-micro/pull/4993 * Update copyright from 2026 to 2015 by @asim in https://github.com/micro/go-micro/pull/4994 …
    View on GitHub ↗
  2. v6.15.0
    Release notes excerpt
    What's Changed * Lead with agent development and switch the website to light by @asim in https://github.com/micro/go-micro/pull/4965 * Align README, website and docs around conversational development by @asim in https://github.com/micro/go-micro/pull/4966 * Shorten README and clarify services, agents, and application outputs by @asim in https://github.com/micro/go-micro/pull/4968 * Consolidate compatible provider loops and outline v7 ownership by @asim in https://github.com/micro/go-micro/pull/4969 …
    View on GitHub ↗
  3. v6.14.0
    Release notes excerpt
    What's Changed * agent: let a caller observe run events as they happen by @asim in https://github.com/micro/go-micro/pull/4905 * ai/atlascloud: report token usage from Generate by @asim in https://github.com/micro/go-micro/pull/4906 * agent: add a versioned inspectable run record by @asim in https://github.com/micro/go-micro/pull/4908 * docs: align agent and flow durability guarantees by @be-student in https://github.com/micro/go-micro/pull/4907 * flow: persist agent and service run lineage by @asim in https://github.com/micro/go-micro/pull/4911 …
    View on GitHub ↗

FAQ

How does Go Micro differ from LangChain?
Go Micro provides a full runtime including service registry, tools, memory, and guardrails, and integrates tightly with Go microservices.
Which LLM providers are supported?
Anthropic, OpenAI, Gemini, Groq, Mistral, Together, Atlas Cloud, MiniMax, and Ollama.
Can I use my existing services with agents?
Yes, just run them as micro services; their endpoints become tools automatically.
Does it support paid tool calls?
Yes, via x402 standard; you need to configure a pay-to address and network (e.g., Solana).
Is Docker required?
No, you can install the binary without Docker; Docker images are also provided.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents