Tools / Durable & distributed execution

Restate

runtime

Lightweight durable execution runtime (a single Rust binary) that makes agents, workflows and services crash-proof.

Role Durable agent runtimeMaintained by RestateLanguages TypeScript, Java, Kotlin, Python, Go, Rust, RubyLicense BUSL-1.1 (server, converts to Apache-2.0 after 4 years), MIT (SDKs)First release Dec 2023

What it is

Restate turns ordinary functions — AI agent loops, workflows and backend services — into durable processes. A single Rust binary sits in front of your services like a reverse proxy or message broker, records each step in a journal, and adds durable state, timers and exactly-once service-to-service calls. It was built by the creators of Apache Flink, is designed for low per-step overhead (so you can make every model and tool call durable), and ships integrations for the Vercel AI SDK, OpenAI Agents SDK, Google ADK and Pydantic AI. The server is source-available under BUSL-1.1; the SDKs are MIT.

How it works

Requests reach your handlers through the Restate Server, which tracks every side effect (service calls, state updates, timers and `ctx.run` blocks such as LLM calls) in a per-invocation journal. If the process crashes, Restate replays the journal, skips the steps that already finished and resumes where execution stopped. Stateful entities (Virtual Objects) give each agent session its own key, state and single-writer concurrency.

Key concepts

Durable execution
Completed steps are persisted, so code resumes from where it left off after a failure.
Journal
The per-invocation log of side effects and their results that Restate replays on recovery.
Service
A group of related handlers exposed as durable, callable endpoints.
Virtual Object
A stateful entity identified by a unique key, e.g. one chat session or agent.
Workflow
A multi-step process that runs exactly once per ID, with durable promises for signals and approvals.

Use it when

  • You want each LLM and tool call inside an agent loop to be durable without a heavyweight workflow engine.
  • You need long-running agent sessions with persistent state, human approvals, timers and safe retries.
  • You want to self-host a single binary or use a managed cloud / BYOC deployment.

Look elsewhere when

  • You need an OSI-approved open-source license for the server itself — the server is BUSL-1.1 (it converts to Apache-2.0 four years after each release).
  • Your workloads are short-lived and stateless, where plain retries are enough.

Who uses it

  • Replit

    Moved Replit Agent's durable orchestration from Temporal to Restate, running thousands of durable steps per execution on BYOC cells.

    Evidence: restate.dev

  • DOSS

    Runs high volumes of enterprise workflows and sub-workflows on Restate, replacing a BullMQ setup.

    Evidence: restate.dev

Milestones

  1. Restate raised a $20M Series A led by Singular. (restate.dev)
  2. Restate 1.1 shipped with new SDKs for Go, Python and Rust. (restate.dev)
  3. Restate 1.0 released together with Restate Cloud early access and a seed round led by Redpoint Ventures. (restate.dev)

Start learning