Sign In

The open-source alternative to Durable Objects

Rivet is a library for long-lived processes with durable state, realtime, and scalability.
Easily self-hostable and works with your infrastructure.

Examples

AI Agent

Chat Room

Collab (Yjs)

Multiplayer Game

Local-First Sync

Rate Limiter

Per-User DB

Multi-Tenant SaaS

Stream Processing

Built for Modern Applications

Everything you need to build fast, scalable, and real-time applications without the complexity.

Long-Lived, Stateful Compute

Each unit of compute is like a tiny server that remembers things between requests – no need to re-fetch data from a database or worry about timeouts. Like AWS Lambda, but with memory and no timeouts.

Documentation

Blazing-Fast Reads & Writes

State is stored on the same machine as your compute, so reads and writes are ultra-fast. No database round trips, no latency spikes.

Documentation

Realtime, Made Simple

Update state and broadcast changes in realtime with WebSockets or SSE. No external pub/sub systems, no polling – just built-in low-latency events.

Documentation

Store Data Near Your Users

Your state lives close to your users on the edge – not in a faraway data center – so every interaction feels instant. (Not all platforms supported.)

Documentation

Infinitely Scalable

Automatically scale from zero to millions of concurrent actors. Pay only for what you use with instant scaling and no cold starts.

Documentation

Fault Tolerant

Built-in error handling and recovery. Actors automatically restart on failure while preserving state integrity and continuing operations.

Documentation

Type Safety

End-to-end TypeScript safety between clients and actors with full type inference and compile-time checking.

Documentation

Runs Anywhere

Deploy Rivet Actors anywhere - from serverless platforms to your own infrastructure with Rivet's flexible runtime options.

Don't see what you need? Add your own.

Works With Your Tools

Seamlessly integrate Rivet with your favorite frameworks, languages, and tools.

Don't see what you need? Request an integration.

Supercharged Local Development with the Studio

Like Postman, but for all of your stateful serverless needs.

Watch Demo
Live State Inspection

View and edit your actor state in real-time as messages are sent and processed

REPL

Debug your actor in real-time - call actions, subscribe to events, and interact directly with your code

Connection Inspection

Monitor active connections with state and parameters for each client

Hot Reload Code Changes

See code changes instantly without restarting - modify and test on the fly

Rivet Studio dashboard

Join the Community

Join thousands of developers building with Rivet Actors today

Performance in every act — thanks to Rivet Actors.