← Directory

agent-sdk-go

Open Source
• Updated Aug 27, 2026, 03:27 PM

agent-sdk-go is an open-source Go framework for building stateful AI agents with durable execution.

Use Cases ▼
01

Building customer support agents that maintain conversation state across restarts

02

Automating multi-step workflows with persistent tool calls

03

Developing resilient background agents that can recover from failures

04

Orchestrating human-in-the-loop approval processes

05

Creating stateful chatbots with durable memory

06

Running long-lived autonomous agents that handle intermittent infrastructure issues

What Problem It Solves ▼

agent-sdk-go solves the problem of unreliable AI agent execution by providing durable state persistence and crash recovery. It ensures that agent state, active tool calls, and execution loops survive process interruptions, enabling agents to resume work without losing context or duplicating actions.

Key Features ▼
✓

Durable execution ensures crash resilience

✓

State persistence for long-running agents

✓

Built specifically for Go developers

✓

Open source and community-driven

✓

Simplifies retries and recovery logic

Overview

agent-sdk-go is an open-source Go framework for building stateful AI agents with durable execution. It is designed to keep agent state, tool calls, and execution loops resilient across process crashes and restarts. By providing primitives for persisting state and replaying execution, the SDK enables developers to create robust, long-running AI agent workflows.

Full Description ▼

The framework integrates with Go's concurrency model and offers a structured way to manage agent lifecycle, including tool invocations and retries. It abstracts away complexities of manual state management, allowing agents to resume from where they left off after failures. This is particularly useful for production environments where reliability and consistency are critical.

The project is hosted on GitHub under the agenticenv organization and is available as open source. It targets developers who want to build AI agents in Go without sacrificing durability. The SDK can be used in various scenarios, from customer support bots to automated decision-making systems.

Pros & Cons

Pros

+

Durable execution ensures crash resilience

+

State persistence for long-running agents

+

Built specifically for Go developers

+

Open source and community-driven

+

Simplifies retries and recovery logic

Cons

−

Young project with limited ecosystem

−

Go-only, not for polyglot teams

−

Requires understanding of durable execution concepts

−

Documentation may still be evolving

Similar Tools

Temporal Restate Azure Durable Functions LangGraph Inngest DBOS

More in AI Agents