Build Services and Agents in Go

A framework for microservices that AI agents can discover, use, and manage.

curl -fsSL https://go-micro.dev/install.sh | sh
Go Micro — AI agent orchestrating microservices

Everything You Need

AI generation and orchestration on top of a production microservices framework.

Services

Build services in Go or generate them from a prompt. They register and discover each other automatically.

Agents

Intelligent layer that manages services with scoped tools, memory, and domain knowledge.

Flows

Event-driven LLM orchestration. Subscribe to events and let an AI decide what to do.

Generate

micro run --prompt designs services and an agent, then starts everything.

MCP Gateway

Every endpoint is automatically an AI-callable tool via Model Context Protocol.

Pluggable Everything

All abstractions are Go interfaces. Swap any component without changing service code.

AI agent calling microservices via MCP

Describe, Run, Chat

Tell it what you need. The AI designs services, generates an agent, and drops you into an interactive console. Talk to the agent — it orchestrates across services automatically.

$ micro run --prompt "task management system"
> Create a project called Launch, add tasks, assign to Alice

Learn About Agents

Pluggable Architecture

Services connect through a registry for discovery and a broker for events. Swap any component without changing your service code — go from mDNS to Consul, or HTTP to gRPC, with a single option.

Go Micro architecture diagram

Developer Experience

micro run starts your services with hot reload, an API gateway, and an interactive console for talking to them. micro deploy pushes to production via SSH.

Terminal showing micro run and micro chat

Sponsors

Go Micro is supported by companies building the future of AI infrastructure.

Anthropic Atlas Cloud

Trusted by Developers

23,000+ stars on GitHub. Production-ready. Apache 2.0 licensed.