Rivet

Scalable. Stateful. Serverless.

Rivet is the platform to build realtime, edge, or agent applications.
No limitations of Redis or timeouts of Lambda.

GitHub Discussions Discord Rivet Twitter Rivet Bluesky License Apache-2.0

Code snippets

Intro

Rivet comes with simple primitives to build your backend. Leverage Rivet Actors to build complex functionality with ease.

Features

Infrastructure

Use cases

Install CLI

# macOS & Linux & WSL
curl -fsSL https://releases.rivet.gg/rivet/latest/install.sh | sh

# Windows (cmd)
powershell -Command "iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex"

# Windows (PowerShell)
iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex

Getting Started

Quickstart (TypeScript)

See the full quickstart guide for a comprehensive walkthrough.

Step 1: Create Actor

npx create-actor@latest -p rivet -t counter

Step 2: Deploy Actor

cd your-project
npm run deploy

Step 3: Monitor

Visit the Rivet Hub to create & test your actors.

Documentation

Running Rivet

Community & Support

Technologies

Project layout

docker/                      Docker-related files
    dev-full/                Full development environment setup
    monolith/                Monolithic Docker setup
    universal/               Universal multi-stage builder image
docs/                        Documentation
docs-internal/               Internal documentation
examples/                    Example projects
frontend/                    Rivet Hub & other frontend components
packages/                    Project packages
    api/                     API package
    common/                  Common utilities
    infra/                   Infrastructure-related code
    services/                Service implementations
    toolchain/               Toolchain-related code
resources/                   Misc resources supporting Rivet
scripts/                     Scripts for various tasks
sdks/                        SDKs
    actor/                   Actor SDK
    api/                     Low-level SDK for calling API
site/                        Website & documentation

License

Apache 2.0