Documentation

Documentation for the Go Micro agent harness and service framework.

Overview

Go Micro architecture

Go Micro is an agent harness and service framework for Go. A harness is the runtime around an agent: tools, memory, guardrails, workflows, state, discovery, and interop. Build an agent and it gets a model, memory, tools, planning, delegation, and service discovery; it is reachable over MCP and A2A. Write services and every endpoint becomes an AI-callable tool. Orchestrate the deterministic parts with durable flows. Agents, services, and flows come from the same primitives because an agent is a distributed system, and building one is building a service.

It’s built on a pluggable architecture of Go interfaces: service discovery, client/server RPC, pub/sub, plus auth, caching, and storage. Sane defaults out of the box, everything swappable.

Learn More

Start with Getting Started for install and the first local service. Then follow the first-agent on-ramp in the same order as the README: micro agent demo for the installed no-secret CLI affordance, micro agent quickcheck (or micro agent debug) for the short recovery map, micro examples for the provider-free examples map, micro zero-to-hero for the maintained lifecycle harness, examples wayfinding index for the runnable examples map, the smallest first-agent example for the fastest provider-free run, the 0→hero support reference for the full no-secret lifecycle example, No-secret first-agent transcript to run a mock-model support agent, Your First Agent to build a service-backed agent and talk to it with micro chat, Debugging your agent to use micro inspect agent <name> for runs and memory, and the 0→hero reference path to walk the full scaffold → run → chat → inspect → deploy dry-run lifecycle covered by CI.

Otherwise continue to read the docs for more information about the framework.

Contents

Development & Deployment

AI & Agents

Advanced


Interfaces

Define interfaces to extend microservices

Learn by Example

Learn by building real microservices with go-micro

Guides

Step-by-step guides for building with go-micro

Project

Architecture, design, and getting involved

AI Integration

Go Micro is an AI-native microservices framework. Every service you build is automatically accessible to AI agents, and every service can call AI models. This page explains how the pieces fit together

Analysis: Removing Reflection from go-micro

Architecture

An overview of the Go Micro architecture.

Authentication

Authentication and authorization in Go Micro

Client/Server

Go Micro uses a client/server model for RPC communication between services.

Commercial Support

Configuration

Go Micro follows a progressive configuration model so you can start with zero setup and layer in complexity only when needed.

Deploying Go Micro Services

This guide covers deploying go-micro services to a Linux server using systemd.

Getting Started

Go Micro has three core abstractions:

Go Micro Roadmap

The 2026 AI-native era roadmap for Go Micro, now superseded by the single current roadmap.

Hosting Go Micro Services

This document outlines what hosting looks like for go-micro services, the options available today, and what an ideal hosting platform would provide.

MCP & AI Agents

Go Micro provides built-in support for the Model Context Protocol (MCP), enabling AI agents like Claude to discover and interact with your microservices as tools.

Micro Server (Optional)

Model

Structured data model layer with CRUD operations, queries, and pluggable backends

Observability

Observability in Go Micro spans logs, metrics, and traces. The goal is rapid insight into service behavior with minimal configuration.

Performance Considerations

Plugins

Quick Start

Roadmap

TLS Security Migration Guide

Go Micro v6 verifies TLS certificates by default. This guide is for teams

Store

The store provides a pluggable interface for data storage in Go Micro.

Summary: Reflection Removal Evaluation

TLS Security Update - Important Information