---
id: 2039
card_url: "https://mdrss.com/ai-agents/agent-frameworks/2039"
permalink_url: "https://mdrss.com/m/2039"
thread_url: "https://mdrss.com/s/ai-agents"
markdown_url: "https://mdrss.com/ai-agents/agent-frameworks/2039/2039.md"
title: "AgenticGoKit"
annotation: "Robust Go framework for building intelligent multi-agent AI systems The most productive way to build AI agents in Go. AgenticGoKit provides a unified, streaming-first API for creating intelligent agents with built-in workflow orchestration, tool integration, and memory management."
state: published
thread: ai-agents
domain: ai-agents
category: agent-frameworks
type: reference
tags: ["agentic-ai", "agentic-ai-development", "agentic-coding", "agentic-framework", "agentic-rag", "agentic-workflow", "agents", "ai"]
ontology_terms: []
relation_terms: []
license: "Apache-2.0"
version: 1
snapshot_at: "2026-08-04T12:16:57.792Z"
source_url: "https://github.com/AgenticGoKit/AgenticGoKit"
source_kind: "mdrss-final-catalog"
platform_scam_risk: null
platform_evidence_score: 0
evidence_urls:
  - "https://github.com/AgenticGoKit/AgenticGoKit"
---
# AgenticGoKit

> **🚀 BETA RELEASE** - The v1beta API is now stable and recommended for all new projects. While still in beta, the core APIs are working well and ready for testing. We continue to refine features and welcome feedback and contributions!
>
> **📋 API Versioning Plan:**
> - **Current (v0.x)**: `v1beta` package is the recommended API (formerly `vnext`)
> - **v1.0 Release**: `v1beta` will become the primary `v1` package
> - **Legacy APIs**: Both `core` and `core/vnext` packages will be removed in v1.0

**Robust Go framework for building intelligent multi-agent AI systems**

[![Go Version](https://img.shields.io/badge/Go-1.24+-blue.svg)](https://golang.org)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/kunalkushwaha/agenticgokit)](https://goreportcard.com/report/github.com/kunalkushwaha/agenticgokit)
[![Build Status](https://github.com/kunalkushwaha/agenticgokit/workflows/CI/badge.svg)](https://github.com/kunalkushwaha/agenticgokit/actions)
[![Documentation](https://img.shields.io/badge/docs-latest-blue)](docs/README.md)

**The most productive way to build AI agents in Go.** AgenticGoKit provides a unified, streaming-first API for creating intelligent agents with built-in workflow orchestration, tool integration, and memory management. Start with simple single agents and scale to complex multi-agent workflows.

## Why Choose AgenticGoKit?

- **v1beta APIs**: Modern, streaming-first agent interface with comprehensive error handling
- **Multimodal Support**: Native support for images, audio, and video inputs alongside text
- **Real-time Streaming**: Watch your agents think and respond in real-time  
- **Multi-Agent Workflows**: Sequential, parallel, DAG, and loop orchestration patterns
- **Production-Ready Observability**: Built-in distributed tracing with OpenTelemetry support
- **Multiple LLM Providers**: Seamlessly switch between OpenAI, Anthropic, Ollama, Azure OpenAI, Azure AI Foundry Local, HuggingFace, OpenRouter, vLLM, BentoML, MLFlow, and more
- **High Performance**: Compiled Go binaries with minimal overhead
- **Batteries Included**: Built-in memory and RAG by default (zero config needed, swappable with pgvector/custom)
- **Rich Integrations**: Memory providers, tool discovery, MCP protocol support
- **Active Development**: Beta status with stable core APIs and ongoing improvements

---

## Part of the AgenticGoKit Ecosystem

AgenticGoKit is one part of a **three-part ecosystem** designed to take you from idea to production:

| Part | Repository | Purpose |
|------|------------|--------|
| **Core Framework** | [AgenticGoKit](https://github.com/AgenticGoKit/AgenticGoKit) | Build multi-agent systems with memory, RAG, tools, and orchestration. |
| **Developer Tooling** | [AGK CLI](https://github.com/AgenticGoKit/agk) | Scaffold, trace, evaluate, and manage agent workflows from the command line. |
| **Template Registry** | [agk-templates](https://github.com/agk-templates) | Official templates powering AGK scaffolds and integrations. |

**Typical flow:** **Design** with the core framework → **Scaffold** with AGK using official templates → **Build & ship** with your preferred deployment stack.

> 📦 Explore the full ecosystem at the [AgenticGoKit Organization](https://github.com/AgenticGoKit).

---

## Quick Start

**Start building immediately with the modern v1beta API:**

```go
package main

import (
    "context"
    "fmt"
    "log"
    "time"
    
    "github.com/agenticgokit/agenticgokit/v1beta"
)

func main() {
    // Create a chat agent with Ollama
    agent, err := v1beta.NewBuilder("ChatAgent").
        WithConfig(&v1beta.Config{
            Name:         "ChatAgent",
            SystemPrompt: "You are a helpful assistant",
            LLM: v1beta.LLMConfig{
                Provider: "ollama",
                Model:    "gemma3:1b",
                BaseURL:  "http://localhost:11434",
            },
        }).
        Build()
    if err != nil {
        log.Fatal(err)
    }

    // Basic execution
    result, err := agent.Run(context.Background(), "Explain Go channels in 50 words")
    if err != nil {
        log.Fatal(err)
    }
    
    fmt.Println("Response:", result.Content)
}
```

**Enable observability with a single environment variable:**
```bash
export AGK_TRACE=true  # Automatic tracing to .agk/runs/<run-id>/trace.jsonl
```

> **Note:** CLI tooling for AgenticGoKit is provided by the [`agk`](https://github.com/agenticgokit/agk) package. Install with: `go install github.com/agenticgokit/agk@latest`

## Core Capabilities

AgenticGoKit handles the complexities of building AI systems so you can focus on logic.

### [Workflow Orchestration](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/workflows.md)
Orchestrate multiple agents using robust patterns. Pass data between agents, handle errors, and manage state automatically.
- **Patterns**: Sequential, Parallel, DAG, Loop, and **SubWorkflows**.
- **Visuals**: Auto-generate [Mermaid diagrams](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/observability.md#visualizing-workflows) for your flows.
- **Example**: [Sequential Workflow Demo](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/sequential-workflow-demo/)

### [Real-time Streaming](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/streaming.md)
Built from the ground up for streaming. Receive tokens and tool updates as they happen, suitable for real-time UI experiences.
- **Example**: [Streaming Workflow](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/streaming_workflow/)

### [Memory & RAG](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/memory-and-rag.md)
**Batteries Included**: Agents come with valid memory out-of-the-box (`chromem` embedded vector DB).
- **Features**: Chat history preservation, semantic search, and document ingestion.
- **Configurable**: Swap the default with `pgvector` or custom providers easily.

### [Multimodal Input](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/README.md#multimodal-capabilities)
Native support for Images, Audio, and Video inputs. Works seamlessly with models like GPT-4 Vision, Gemini Pro Vision, etc.

### [Tool Integration & MCP](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/tool-integration.md)
Extend agents with tools using standard Go functions or the **Model Context Protocol (MCP)**.
- **Dynamic Discovery**: Automatically find and register tools from MCP servers.
- **Standardized**: Support for the emerging standard for LLM tool interoperability.

### [Observability & Tracing](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/observability.md)
**Production-Ready**: Built-in distributed tracing with zero configuration required.
- **Features**: OpenTelemetry integration, workflow trace hierarchies, OTLP/Jaeger support.
- **Exporters**: Console, file, and OTLP for complete visibility into agent execution.
- **Example**: [Observability Basics](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/examples/observability-basic.md)

## Supported LLM Providers

AgenticGoKit works with all major LLM providers out of the box:

| Provider | Plugin Import | Model Examples | Use Case |
|----------|--------------|---------------|----------|
| **OpenAI** | `plugins/llm/openai` | GPT-4o, GPT-4 Vision, GPT-3.5-turbo | Production-grade conversational and multimodal AI |
| **Anthropic** | `plugins/llm/anthropic` | Claude 3.5 Sonnet, Claude 3 Opus, Haiku | Advanced reasoning and long-context tasks |
| **Azure OpenAI** | `plugins/llm/azureopenai` | GPT-4, GPT-3.5-turbo | Enterprise deployments with Azure |
| **Azure AI Foundry Local** | `plugins/llm/foundrylocal` | Phi-3.5 Mini, Qwen 2.5, Mistral, Llama | On-device / local inference via Foundry Local (no auth required) |
| **Ollama** | `plugins/llm/ollama` | Llama 3, Gemma, Mistral, Phi | Local development and privacy-focused apps |
| **HuggingFace** | `plugins/llm/huggingface` | Llama-2, Mistral, Falcon | Open-source model experimentation via HF Inference API |
| **OpenRouter** | `plugins/llm/openrouter` | GPT-4, Claude, Llama, Mixtral | Access to 100+ models via a single API key |
| **BentoML** | `plugins/llm/bentoml` | Any model packaged as Bento | Self-hosted ML models with production features |
| **MLFlow** | `plugins/llm/mlflow` | Models via MLFlow AI Gateway | ML model deployment and management |
| **vLLM** | `plugins/llm/vllm` | Llama-2, Mistral, Qwen, etc. | High-throughput LLM serving with PagedAttention |
| **Custom** | — | Any OpenAI-compatible API | Bring your own provider |

## Learning Resources

### Documentation
- **[Getting Started](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/getting-started.md)** - Build your first agent
- **[API Reference](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/v1beta/README.md)** - Comprehensive API docs
- **[Observability Guide](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/observability.md)** - Distributed tracing and monitoring
- **[Memory & RAG](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/v1beta/memory-and-rag.md)** - Deep dive into memory systems

### Examples
- **[Story Writer Chat v2](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/story-writer-chat-v2/)** - Complete Real-time collaborative writing app
- **[Ollama Quickstart](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/ollama-quickstart/)** - Local LLM development
- **[Foundry Local Quickstart](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/foundrylocal-quickstart/)** - On-device inference with Azure AI Foundry Local
- **[MCP Integration](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/mcp-integration/)** - Using Model Context Protocol
- **[HuggingFace Quickstart](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/huggingface-quickstart/)** - Using HF Inference Endpoints
- **[BentoML Quickstart](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/bentoml-quickstart/)** - Self-hosted ML models
- **[MLFlow Gateway Demo](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/mlflow-gateway-demo/)** - MLFlow AI Gateway integration
- **[vLLM Quickstart](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/vllm-quickstart/)** - High-throughput inference

## API Versioning & Roadmap

### Current Status (v0.x - Beta)

- **Recommended**: Use `v1beta` package for all new projects
- **Import Path**: `github.com/agenticgokit/agenticgokit/v1beta`
- **Stability**: Beta - Core APIs are stable and functional, suitable for testing and development
- **Status**: Beta - Core APIs are stable; `v1beta` is the evolution of the former `core/vnext` package
- **Note**: `core` package is legacy and will be removed in v1.0

### v1.0 Release Plan

**What's Changing:**
- `v1beta` package will become the primary `v1` API
- Legacy `core` and `core/vnext` packages will be **removed entirely**
- Clean, stable API with semantic versioning guarantees

**Migration Path:**
- If you're using `v1beta` or `vnext`: Minimal changes (import path update only)
- If you're using `core`: Migrate to `v1beta` now to prepare
- **`core/vnext` users**: `vnext` has been renamed to `v1beta` - update imports

**Timeline:**
- v0.x (Current): `v1beta` stabilization and testing
- v1.0 (Planned): `v1beta` → `v1`, remove `core` package

### Why v1beta Now?

The `v1beta` package represents our next-generation API design:
- ✅ Streaming-first architecture
- ✅ Unified builder pattern
- ✅ Better error handling
- ✅ Workflow composition
- ✅ Stable core APIs (beta status)
- ⚠️ Minor changes possible before v1.0

By using `v1beta` today, you're getting access to the latest features and helping shape the v1.0 release with your feedback.

## Resources

- **Website**: [www.agenticgokit.com](https://www.agenticgokit.com)
- **Documentation**: [docs.agenticgokit.com](https://docs.agenticgokit.com)
- **Examples**: [examples/](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/examples/)
- **AGK CLI**: [github.com/AgenticGoKit/agk](https://github.com/AgenticGoKit/agk)
- **Template Registry**: [github.com/agk-templates](https://github.com/agk-templates)
- **Discussions**: [GitHub Discussions](https://github.com/kunalkushwaha/agenticgokit/discussions)
- **Issues**: [GitHub Issues](https://github.com/kunalkushwaha/agenticgokit/issues)
- **Discord**: [Join the Community](https://discord.gg/64BnqpcGfN)

## Contributing

We welcome contributions! See [docs/contributors/ContributorGuide.md](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/docs/contributors/ContributorGuide.md) for getting started.

## License

Apache 2.0 - see [LICENSE](https://github.com/AgenticGoKit/AgenticGoKit/blob/HEAD/LICENSE) for details.
