Build Real-Time,
Stateful Applications
Without Servers

Rivet is an open-source platform for building AI agents, multiplayer applications, and real-time backends—without managing infrastructure. Scale instantly, persist state effortlessly, and integrate with your existing stack in minutes.

Try Rivet

Documentation

Easy to Start

Go from setup to production in minutes. Deploy with a single command and zero configuration.

No Limits

No execution time limits, no idle costs (actors scale to zero when idle), and no hard dependencies on external caches or message brokers.

Works with Your Tools

Supports WebAssembly and containers for seamless integration with existing codebases.

Open-Source & Self-Hostable

Use Rivet for free on your own infrastructure or on Rivet Cloud.

Core Features

Stateful Compute

Keep your state nanoseconds away from your compute. Your backend hold state in-memory like a traditional server, while persisting it transparently for durability

Storage

Store and retrieve data instantly with built-in key-value storage.

Global Low Latency

Every Rivet instance is automatically deployed near your users. This means faster response times and real-time updates without the latency of centralized servers

No Limits, On-Demand

Rivet Actors run with no forced timeouts or short execution limits. You get long-lived, stateful services without worrying about cold starts.

Build with Stateful Rivet Actors,
Not Servers.

Rivet introduces the concept of Rivet Actors – stateful units of logic that run on serverless infrastructure. With just a few lines of code, you define an actor that holds state and communicates with clients in real-time, without setting up databases or message brokers.

For example, here’s a simple chat room actor: at room actor:

actor.ts

import { Actor, type Rpc } from "@rivet-gg/actor";

class ChatRoom extends Actor {
  // Save incoming message to persistent state and broadcast to clients
  sendMessage(rpc: Rpc, username: string, message: string) {
    this._state.messages.push({ username, message });
    this._broadcast("newMessage", { username, message });
  }

  // Initialize actor state
  override _onInitialize() {
    return { messages: [] };
  }
}

Works for your Application

Built for Teams
and Production

Rivet Cloud is a full-featured platform that lets you focus on building.From collaboration to security, it provides everything needed to go to production. Rivet’s enterprise-ready features take care of the heavy lifting:

Team collaboration

Bring your whole team into one workspace. Rivet has no user seat limits for projects, so startups and large teams can collaborate seamlessly.

Security

Automatic DDoS mitigation and built-in SSL/TLS encryption for all connections. Your real-time data streams are secure by default.

Easy Deployments

One-command deploys with powerful release management enable instant rollbacks if needed. Continuous delivery and version control are built in.

Zero Maintenance

No servers to manage, ever. Rivet handles the scaling, load balancing, and infrastructure upkeep for you. Enjoy the benefits of cloud scale without the Ops burden.

Logging and monitoring included

Logging and monitoring tools to track actor activity and performance in real time, helping you diagnose issues quickly.

Logging and monitoring included

Get visibility out-of-the-box. Rivet includes logging and monitoring tools to track actor activity and performance in real time , helping you diagnose issues quickly.

Rivet on Any Cloud

Build Real-Time,
Stateful Applications
Without Servers

Rivet is an open-source platform for building AI agents, multiplayer applications, and real-time backends—without managing infrastructure. Scale instantly, persist state effortlessly, and integrate with your existing stack in minutes.

Try Rivet

Documentation

Easy to Start

Go from setup to production in minutes. Deploy with a single command and zero configuration.

No Limits

No execution time limits, no idle costs (actors scale to zero when idle), and no hard dependencies on external caches or message brokers.

Works with Your Tools

Supports WebAssembly and containers for seamless integration with existing codebases.

Open-Source & Self-Hostable

Use Rivet for free on your own infrastructure or on Rivet Cloud.

Core Features

Stateful Compute

Keep your state nanoseconds away from your compute. Your backend hold state in-memory like a traditional server, while persisting it transparently for durability

Storage

Store and retrieve data instantly with built-in key-value storage.

Global Low Latency

Every Rivet instance is automatically deployed near your users. This means faster response times and real-time updates without the latency of centralized servers

No Limits, On-Demand

Rivet Actors run with no forced timeouts or short execution limits. You get long-lived, stateful services without worrying about cold starts.

Build with Stateful Rivet Actors,
Not Servers.

Rivet introduces the concept of Rivet Actors – stateful units of logic that run on serverless infrastructure. With just a few lines of code, you define an actor that holds state and communicates with clients in real-time, without setting up databases or message brokers.

For example, here’s a simple chat room actor: at room actor:

actor.ts

import { Actor, type Rpc } from "@rivet-gg/actor";

class ChatRoom extends Actor {
  // Save incoming message to persistent state and broadcast to clients
  sendMessage(rpc: Rpc, username: string, message: string) {
    this._state.messages.push({ username, message });
    this._broadcast("newMessage", { username, message });
  }

  // Initialize actor state
  override _onInitialize() {
    return { messages: [] };
  }
}

Works for your Application

Built for Teams
and Production

Rivet Cloud is a full-featured platform that lets you focus on building.From collaboration to security, it provides everything needed to go to production. Rivet’s enterprise-ready features take care of the heavy lifting:

Team collaboration

Bring your whole team into one workspace. Rivet has no user seat limits for projects, so startups and large teams can collaborate seamlessly.

Security

Automatic DDoS mitigation and built-in SSL/TLS encryption for all connections. Your real-time data streams are secure by default.

Easy Deployments

One-command deploys with powerful release management enable instant rollbacks if needed. Continuous delivery and version control are built in.

Zero Maintenance

No servers to manage, ever. Rivet handles the scaling, load balancing, and infrastructure upkeep for you. Enjoy the benefits of cloud scale without the Ops burden.

Logging and monitoring included

Logging and monitoring tools to track actor activity and performance in real time, helping you diagnose issues quickly.

Logging and monitoring included

Get visibility out-of-the-box. Rivet includes logging and monitoring tools to track actor activity and performance in real time , helping you diagnose issues quickly.

Rivet on Any Cloud

Build Real-Time,
Stateful Applications
Without Servers

Rivet is an open-source platform for building AI agents, multiplayer applications, and real-time backends—without managing infrastructure. Scale instantly, persist state effortlessly, and integrate with your existing stack in minutes.

Try Rivet

Documentation

Easy to Start

Go from setup to production in minutes. Deploy with a single command and zero configuration.

No Limits

No execution time limits, no idle costs (actors scale to zero when idle), and no hard dependencies on external caches or message brokers.

Works with Your Tools

Supports WebAssembly and containers for seamless integration with existing codebases.

Open-Source & Self-Hostable

Use Rivet for free on your own infrastructure or on Rivet Cloud.

Core Features

Stateful Compute

Keep your state nanoseconds away from your compute. Your backend hold state in-memory like a traditional server, while persisting it transparently for durability

Storage

Store and retrieve data instantly with built-in key-value storage.

Global Low Latency

Every Rivet instance is automatically deployed near your users. This means faster response times and real-time updates without the latency of centralized servers

No Limits, On-Demand

Rivet Actors run with no forced timeouts or short execution limits. You get long-lived, stateful services without worrying about cold starts.

Build with Stateful Rivet Actors,
Not Servers.

Rivet introduces the concept of Rivet Actors – stateful units of logic that run on serverless infrastructure. With just a few lines of code, you define an actor that holds state and communicates with clients in real-time, without setting up databases or message brokers.

For example, here’s a simple chat room actor: at room actor:

actor.ts

import { Actor, type Rpc } from "@rivet-gg/actor";

class ChatRoom extends Actor {
  // Save incoming message to persistent state and broadcast to clients
  sendMessage(rpc: Rpc, username: string, message: string) {
    this._state.messages.push({ username, message });
    this._broadcast("newMessage", { username, message });
  }

  // Initialize actor state
  override _onInitialize() {
    return { messages: [] };
  }
}

Works for your Application

Built for Teams
and Production

Rivet Cloud is a full-featured platform that lets you focus on building.From collaboration to security, it provides everything needed to go to production. Rivet’s enterprise-ready features take care of the heavy lifting:

Team collaboration

Bring your whole team into one workspace. Rivet has no user seat limits for projects, so startups and large teams can collaborate seamlessly.

Security

Automatic DDoS mitigation and built-in SSL/TLS encryption for all connections. Your real-time data streams are secure by default.

Easy Deployments

One-command deploys with powerful release management enable instant rollbacks if needed. Continuous delivery and version control are built in.

Zero Maintenance

No servers to manage, ever. Rivet handles the scaling, load balancing, and infrastructure upkeep for you. Enjoy the benefits of cloud scale without the Ops burden.

Logging and monitoring included

Logging and monitoring tools to track actor activity and performance in real time, helping you diagnose issues quickly.

Logging and monitoring included

Get visibility out-of-the-box. Rivet includes logging and monitoring tools to track actor activity and performance in real time , helping you diagnose issues quickly.

Rivet on Any Cloud

Using Framer React Export version 2.24.0