
Why Restate?
Agents in production run for minutes or hours, call tools with side effects, wait for people, and delegate work to other agents. Whichever way you build, Restate gives you:- Recover work after failures, without paying a large durability overhead. Restate adds only milliseconds per step, so every model call, guardrail check, step inside a tool, and parallel branch recovers on its own. After a crash or a deploy, only the steps that were running start again: you don’t pay twice for completed model calls, finished tool work isn’t redone, and the agent stays on the path it took.
- No queue, workflow engine, or session database to run next to your agents. Sessions, workflows, calls between agents, timers, and concurrency limits are all part of Restate, a single binary. You deploy and debug one system, without glue code that keeps several systems consistent when a request fails halfway. Each session handles one request at a time, so concurrent messages can’t mix up the conversation.
- Wait days for an approval without keeping the agent running. Restate suspends an agent while it waits for a person, a webhook, or a timer, and resumes it when the answer arrives, including on serverless platforms such as AWS Lambda. You write no polling loops and no code to save the agent’s progress.
- See what a running agent does, and step in when it goes wrong. The Restate UI shows each model call and tool call as it happens. You can cancel, pause, resume, or restart a running agent, and concurrency limits cap how many agents run at once, for example to control model spend.
- Switch agent frameworks without rewriting your backend. Virtual Objects, workflows, and service calls don’t depend on the harness, so you can move from an agent SDK to Restate Harness or your own harness and keep the rest of your application.
Restate Harness
Restate Harness is a modern agent harness with best-in-class durability and a fast and responsive architecture, built natively on durable execution.Restate Harness overview
See how Restate Harness works, and find the page for each feature.
Quickstart
Run a weather agent built with Restate Harness on a local Restate Server.
Agent SDK integrations
Keep the agent framework that you use. The integration runs the agent in a Restate handler and makes its model calls and tool calls durable steps. Each integration page starts with a quickstart.Vercel AI SDK
OpenAI Agents SDK
Google ADK
Pydantic AI
LangChain
Integrating with other SDKs
Build your own harness
When an off-the-shelf harness limits you, build your own on Restate, so you don’t have to rebuild fault tolerance yourself. Start from the agent reference architecture: a complete TypeScript agent on Restate with human approvals, sandboxed tools, sub-agents, memory, and schedules. It runs each turn with Restate Harness. To run turns on your own agent loop, replace Restate Harness and keep the rest of the application, such as the controller, the queue, the schedules, and the UI. The project configures the Restate plugin for Claude Code and Codex, whose skills teach your coding agent Restate Harness and the Restate code that the agent is built from.Agent reference architecture
Explore the code and documentation of the reference agent.
Skills for coding agents
Install the skills in Claude Code, Codex, or another coding agent.
Examples
Examples
Browse example agents and templates for each SDK.


