go-micro  by micro

Distributed systems framework enabling AI agent integration

Created 11 years ago
22,713 stars

Top 1.9% on SourcePulse

GitHubView on GitHub
Project Summary

A Go framework for distributed systems, Go Micro provides core RPC and event-driven communication capabilities. It targets developers building microservices, offering sane defaults and a pluggable architecture to simplify development and enable an agent-first workflow.

How It Works

The framework abstracts distributed system complexities through features like built-in authentication, dynamic configuration, a data storage interface, automatic service discovery (defaulting to mDNS), client-side load balancing, and dynamic message encoding (protobuf, JSON). Its pluggable interface design ensures runtime agnosticism, allowing any underlying technology to be swapped in. A key differentiator is its Model Context Protocol (MCP) integration, which transforms services into AI-callable tools.

Quick Start & Requirements

  • Install: go get go-micro.dev/v5@latest and go install go-micro.dev/v5/cmd/micro@v5.16.0. Use specific versions to avoid module path conflicts.
  • Prerequisites: Go, protoc-gen-micro.
  • Run: micro new <service-name>, cd <service-name>, micro run.
  • Links: 📖 Documentation, Discord, Examples, MCP Guide, Deployment Guide.

Highlighted Details

  • Agent-First Workflow: Services automatically become AI-callable tools via MCP, accessible through an Agent Playground and MCP Tools Registry.
  • Pluggable Architecture: Core distributed system abstractions are Go interfaces, allowing runtime agnosticism and easy replacement of underlying technologies.
  • Simplified Development: Abstracts complexities of distributed systems with sane defaults, enabling rapid prototyping and development.
  • Integrated Workflow: micro run provides local development with hot-reloading, API gateway, and more. micro deploy facilitates systemd-based Linux deployments without Docker or Kubernetes.

Maintenance & Community

The project is open-source with sponsorship opportunities and a Discord community. Adopters include organizations in fields like earth observation.

Licensing & Compatibility

The license type is not specified in the provided README.

Limitations & Caveats

Deployment is primarily focused on Linux environments using systemd, with no explicit support or mention of Docker or Kubernetes for deployment.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
35
Issues (30d)
5
Star History
54 stars in the last 30 days

Explore Similar Projects

Starred by Lilian Weng Lilian Weng(Cofounder of Thinking Machines Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
59 more.

AutoGPT by Significant-Gravitas

0.1%
182k
AI agent platform for building, deploying, and running autonomous workflows
Created 2 years ago
Updated 16 hours ago
Feedback? Help us improve.