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.

SDK integrations

Any LLM SDK — write the agent loop yourself with OpenAI, Anthropic, Vercel AI SDK, Google Gen AI, LiteLLM, or any other SDK. Wrap LLM calls in ctx.run() for durability.
https://mintcdn.com/restate-6d46e1dc-restate-1-7/C5_ewSQA1WwmVvZ5/img/ai/sdk-integrations/vercel.svg?fit=max&auto=format&n=C5_ewSQA1WwmVvZ5&q=85&s=80722cfc2b3f2f500ba2198b60c9647d

Vercel AI SDK

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

LiteLLM

Any other SDK

Agent frameworks — higher-level APIs for a faster start.
https://mintcdn.com/restate-6d46e1dc-restate-1-7/C5_ewSQA1WwmVvZ5/img/ai/sdk-integrations/vercel.svg?fit=max&auto=format&n=C5_ewSQA1WwmVvZ5&q=85&s=80722cfc2b3f2f500ba2198b60c9647d

Vercel AI SDK

https://mintcdn.com/restate-6d46e1dc-restate-1-7/C5_ewSQA1WwmVvZ5/img/ai/sdk-integrations/openai.webp?fit=max&auto=format&n=C5_ewSQA1WwmVvZ5&q=85&s=36ef632a6a3c191c150989371ebac46d

OpenAI Agents SDK

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

Google ADK

https://mintcdn.com/restate-6d46e1dc-restate-1-7/C5_ewSQA1WwmVvZ5/img/ai/sdk-integrations/pydantic-ai.png?fit=max&auto=format&n=C5_ewSQA1WwmVvZ5&q=85&s=31825c9a312dace0a36098764830829c

Pydantic AI

https://mintcdn.com/restate-6d46e1dc-restate-1-7/C5_ewSQA1WwmVvZ5/img/ai/sdk-integrations/langchain.svg?fit=max&auto=format&n=C5_ewSQA1WwmVvZ5&q=85&s=b518a159f50da23537f28bb27eeaefcf

LangChain

Integrating with other SDKs

Want another integration? Reach out on Discord or Slack.

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

Interrupt & Regenerate

Retries & Error Handling

Rollback on Failures

Chat UI Integration

Streaming Responses

Notify when ready