Go 1.24+ GitHub

Production-grade multi-agent orchestration for Go

AgentMesh leverages Pregel-style bulk-synchronous parallel graph processing to build sophisticated AI agent workflows with deterministic execution and enterprise observability.

Why AgentMesh?

  • πŸ”„ Pregel-based BSP engine for parallel graph execution
  • βš™οΈ Strongly typed tool integration with JSON Schema
  • πŸ“‘ Streaming-first event pipeline with real-time updates
  • πŸ’Ύ Versioned state store with checkpointing and time-travel
  • πŸ”­ Built-in OpenTelemetry metrics and distributed tracing

What is AgentMesh?

AgentMesh is a Go framework for building sophisticated multi-agent AI systems powered by Pregel-style bulk-synchronous parallel (BSP) graph processing. It provides production-grade orchestration for LLM-powered workflows with deterministic execution and enterprise observability.

πŸ”„ Graph-native Architecture

Build agents as directed graphs where nodes execute in parallel supersteps with deterministic ordering.

βš™οΈ Strongly Typed Tools

Register functions as tools with automatic JSON Schema generation and compile-time type safety.

πŸ“‘ Streaming Execution

Monitor graph execution in real-time with event streams for responsive user experiences.

πŸ”’ Enterprise Ready

Built-in checkpointing, time-travel debugging, OpenTelemetry integration, and production reliability.


Core capabilities

⚑ Pregel Graph Execution

Bulk-synchronous parallel processing enables efficient multi-agent coordination with deterministic superstep ordering.

πŸ€– LLM Integration

First-class support for OpenAI, Anthropic, Amazon Bedrock, Google Gemini, and custom model providers.

πŸ› οΈ Tool Orchestration

Type-safe function calling with automatic JSON schema generation, parallel execution, and robust error handling.

πŸ’Ύ State Management

Versioned state store with channel-based updates, automatic checkpointing, and time-travel debugging.

πŸ”€ Conditional Routing

Dynamic flow control based on agent outputs, enabling complex decision trees and multi-agent collaboration.

πŸ”­ Observability

Built-in OpenTelemetry metrics, distributed tracing, and structured logging for production monitoring.


Quick examples

Explore hands-on examples to see AgentMesh in action:


Explore the documentation

πŸš€ Getting Started

Install the module, run your first agent, and explore example workflows.

πŸ—οΈ Architecture

Understand the Pregel BSP model, graph builder pattern, and state management.

πŸ€– Agents Guide

Build ReAct agents, RAG agents, and custom graph-based workflows.

πŸ› οΈ Tools Guide

Create function tools with automatic schema generation and integrate external capabilities.

🧠 Models Guide

Connect OpenAI, Anthropic, Bedrock, Gemini, or custom LLM providers with routing.

πŸ”­ Observability

Configure OpenTelemetry metrics, tracing, and structured logging.