Go Micro is an agent harness and service framework for Go. It provides the runtime environment necessary for an agent to operate a system rather than just responding to prompts.
Key components of the harness include:
- Tools & Memory: The capabilities and state an agent uses.
- Guardrails & Workflows: Safety mechanisms and structured execution paths.
- Discovery & Protocols: How agents find and communicate with services.
- State & Checkpoint/Resume: Managing long-running agentic processes.
- Gateways: Support for MCP (Model Context Protocol) and A2A (Agent-to-Agent) communication, including streaming, push notifications, and multi-turn continuation.
Building an agent with Go Micro is conceptually equivalent to building a distributed service that can discover, call, and recover from failures in other services.