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.
Automatic registration and name resolution via mDNS, Consul, or etcd.
Request/response and bidirectional streaming with load balancing built in.
Async messaging with NATS, RabbitMQ, or the built-in HTTP broker.
Typed CRUD and queries backed by memory, SQLite, or Postgres.
Use gRPC transport with any standard gRPC client. No lock-in.
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 is automatically an AI-callable tool via MCP. Call LLMs from your services with 7 providers. Generate images and video. Orchestrate services through natural language with micro chat.
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.