An Agent Harness and Service Framework

Build agents, services, and workflows on one runtime.

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

The Runtime Around the Agent

An agent harness and a service framework in one — agents, services, and flows on the same runtime, with the production pieces agents need once they leave the demo.

Agent Harness

A model, memory, tools, plan/delegate, guardrails, and execution middleware around every agent.

Services as Tools

Build services in Go or generate them from a prompt. Their endpoints become typed tools automatically.

Durable Workflows

Use fixed, checkpointed code paths for deterministic work; hand off to agents when the path is dynamic.

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

From Prompt Loop to Operating Harness

Tell it what you need. The AI designs services, generates an agent, and drops you into an interactive console. The harness gives that agent tools, memory, guardrails, and workflows so it can operate across services.

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

Learn About Agents

Distributed Systems for Agents

Agents need the same substrate services do: discovery, RPC, events, state, auth, observability, and deployment. Swap any component without changing your 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 OpenAI Atlas Cloud

Want to support Go Micro and put your logo here? Or running it in production and need a hand?

Become a sponsor Commercial support

Trusted by Developers

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