internal/website/index.html
A pluggable framework for distributed systems with built-in service discovery, RPC, pub/sub, and AI agent integration.
go get go-micro.dev/v5
Sane defaults out of the box. Every abstraction is swappable.
Service Discovery
Automatic registration and name resolution via mDNS, Consul, or etcd.
RPC Client/Server
Request/response and bidirectional streaming with load balancing built in.
Pub/Sub Events
Async messaging with NATS, RabbitMQ, or the built-in HTTP broker.
Data Model
Typed CRUD and queries backed by memory, SQLite, or Postgres.
gRPC Native
Use gRPC transport with any standard gRPC client. No lock-in.
MCP & AI Agents
Every service is automatically an AI-callable tool via Model Context Protocol.
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.
Every service you build is automatically discoverable by AI agents via the Model Context Protocol. Add doc comments to your handlers and they become tool descriptions. No extra code, no configuration.
// SayHello greets a person by name.
// @example {"name": "Alice"}func(g *Greeter)SayHello(ctx, req, rsp)error{
rsp.Message ="Hello "+ req.Namereturn nil}
micro run starts your services with hot reload, an API gateway, and an agent playground. micro chat lets you talk to your services through any LLM. micro new --template crud scaffolds a production-ready service in seconds.
Go Micro is supported by companies building the future of AI infrastructure.
23,000+ stars on GitHub. Production-ready. Apache 2.0 licensed.