Skip to main content
Restate makes AI agents and workflows innately resilient. It provides the reliability infrastructure you need to run AI workloads in production, from simple LLM chains to complex multi-agent systems.

AI Agent Quickstart

Build and run your first durable AI agent in minutes.

Why Restate?

Restate makes building AI workflows and agents easy:
  • ✅ Recovery from failures — Never lose agent progress again
  • ✅ Built-in session management — Store context in Restate’s K/V store
  • ✅ Complete observability — Trace every decision and action
  • ✅ Composable patterns — From simple agents to complex multi-agent systems
  • ✅ Production safety — Approvals, timeouts, rollbacks, and more
Whether you’re building chatbots, autonomous agents, or AI-powered workflows, Restate handles the complexity of distributed execution so you can focus on your AI logic.

Agent SDK Integrations

Restate works with popular LLM and Agent SDKs. Pick your framework and get started.
https://mintcdn.com/restate-6d46e1dc/VzG7GAPBH0jzpzUw/img/ai/sdk-integrations/vercel.svg?fit=max&auto=format&n=VzG7GAPBH0jzpzUw&q=85&s=4967ab5afdb94b8334f29f964de9dcb9

Vercel AI SDK

https://mintcdn.com/restate-6d46e1dc/eyiUDPHMMaoJj2hw/img/ai/sdk-integrations/openai.webp?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=bd5490a9489b6c4b602e28fe0fa0e6d5

OpenAI Agents SDK

https://mintcdn.com/restate-6d46e1dc/eyiUDPHMMaoJj2hw/img/ai/sdk-integrations/google-adk.png?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=efb9e6bea73fd103d930af1d22c3234c

Google ADK

https://mintcdn.com/restate-6d46e1dc/eyiUDPHMMaoJj2hw/img/ai/sdk-integrations/pydantic-ai.png?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=d02a69d0bf5318b36ae573f3464c1f89

Pydantic AI

https://mintcdn.com/restate-6d46e1dc/eyiUDPHMMaoJj2hw/img/ai/sdk-integrations/lite-llm_icon.webp?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=26d2b56cbaae9765079c2b25b855791e

LiteLLM

Integrating with other SDKs

Alternatively, you can use only Restate to manage and implement your own AI agentic loop.

Getting Started

The following pages give you a tour of how to build durable AI agents and workflows with Restate:

1. Durable Agents

Implement agents that survive crashes and recover automatically. Every LLM call and tool execution is durably persisted.

2. Durable Sessions

Add persistent sessions keyed by ID with built-in concurrency control. Conversation state survives crashes and restarts.

3. Approvals with Pause & Resume

Add resilient human approvals that pause the agent and resume when the response arrives, even across restarts.

4. Multi-Agent Orchestration

Route tasks between specialized agents with durable routing decisions. Coordinate via handoffs, tools, or remote calls.

5. Observability & Control

Inspect agent execution step by step, export traces, and cancel or kill stuck agents.

Implementation Guides

The following pages provide detailed implementation guides for common AI patterns:

Parallel Tool Calls

Workflows

Workflows as Tools

Remote Agents

Racing Agents

Retries & Error Handling

Rollback on Failures

Chat UI Integration

Streaming Responses

Notify when ready