Home/AI Agents/go-micro
go-micro logo

go-micro

micro/go-micro

A Go agent harness and service framework

GraphCanon updated today · GitHub synced today · 33 views this month

23k stars2.4k forksLast push today Go Apache-2.0

Decision brief

go-micro is a Go-based agent harness and service framework focused on microservices architecture with integrated AI-agent capabilities.

Good fit when

  • Use go-micro if you seek to leverage its built-in `plan` and `delegate` capabilities for orchestrating multi-step workflows across microservices.
  • Opt for go-micro when developing distributed systems in Go that require hot-reloading during development sessions without the necessity of Docker deployment.

Avoid when

  • Avoid go-micro if you are looking for a tool that supports extensive documentation or examples outside of its inherent capabilities with `plan` and `delegate`; focus is more on agent harness and less.
  • Steer clear of this framework if your project architecture must be Docker-based, as the deployment methods provided by go-micro rely primarily on SSH and systemd rather than containerization.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
65 low (65 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

go get github.com/micro/go-micro
pkg.go.dev

How it fits your stack(10)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

go-micro is a framework for developing distributed systems using microservices architecture with AI-agents capabilities in the Go language.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 20, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 20, 2026

Languages
go

Source: github.language · Aug 20, 2026

Categories

Graph entities

Tags

README

Quick Start

Install the CLI:


---

### Plan & Delegate

Every agent gets two built-in harness capabilities, exposed as tools — no extra setup or separate graph runtime:

- **`plan`** — for multi-step work, the agent records an ordered plan in its store-backed memory and stays oriented across turns.
- **`delegate`** — the agent hands a self-contained subtask to another agent. If a registered agent already owns the relevant services, the hand-off goes over RPC to that agent; otherwise a focused, short-lived sub-agent is created for the subtask with its own isolated context.

This keeps intelligence distributed: an agent doesn't need to know *how* to do everything, only *who* does. See [examples/agent-plan-delegate](examples/agent-plan-delegate/).

```go
// A sub-agent is just an agent — created with New, talked to with Ask.
// delegate-first: reuse a registered agent, or spin up a focused one.
resp, _ := agent.Ask(ctx, "Plan the launch, create the tasks, and have comms notify the owner.")

Developer experience & deployment

FeatureDetails
Hot reloadmicro run watches files, rebuilds on change
Templatesmicro new --template crud/pubsub/api
One-command deploymicro deploy user@server — SSH + systemd, no Docker

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.