Build Agents and Services in Go

An AI-native framework for agents, services, and flows. Every service is an MCP tool; every agent speaks A2A.

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.

Agents

A model, memory, and tools that manage your services. Plan, delegate, guardrails — built in, no harness.

Services

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

Flows

Event-driven, durable workflows. Ordered steps that checkpoint and resume after a crash.

MCP Gateway

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

A2A Gateway

Every agent is reachable over the Agent2Agent protocol — discovered and called by agents on any framework.

Pluggable Everything

All abstractions are Go interfaces. Swap any component without changing your 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

Want to support Go Micro and put your logo here?

Become a sponsor

Trusted by Developers

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