Most long-running AI agent loops that run in memory lose execution progress on process crashes, restarts, or timeouts. When a process restarts, an AI agent starts from the beginning, re-executing the previous steps of LLM and tool calls, and wasting more tokens. agent-sdk-go ensures durable execution across both single binary and distributed environments. - In-Process / Single Binary: Uses durable-go (agenticenv/durable-go) for local file-system journaling to provide process-restart resilience without using external databases or orchestrators. - Distributed Services: Plugs into Temporal or Restate for multi-node workflow orchestration. Across all backends, step state is persisted and replayed so the agent loop resumes right where it left off. The repository includes a reference agent-chat app demonstrating live server crash recovery. Would love feedback on the execution model and general requirements for production AI agents!
Repository
agenticenv/agent-sdk-go
Agent SDK for Go
agenticenv/agent-sdk-go
Agent SDK for Go
Durable execution framework for AI agents in Go. Provides crash-resilient state, tool calls, and execution loops. Supports multiple LLM providers, MCP, A2A, sub-agents, human-in-the-loop, and distributed execution via Temporal or Restate.
Visit project- First shared
- Oct 2, 2026
- HN activity
- 21
Show HN@vnjrpOct 2, 2026
Show HN: Agent-SDK-go – Build crash-resilient AI agents in Go
Community