|
7 | 7 | </a> |
8 | 8 | </p> |
9 | 9 |
|
10 | | -<h3 align="center">Scalable. Stateful. Serverless.</h3> |
| 10 | +<h3 align="center">The open-source serverless platform.</h3> |
11 | 11 | <h4 align="center"> |
12 | | - Rivet is the platform to build realtime, edge, or agent applications.<br/> |
13 | | - No limitations of Redis or timeouts of Lambda. |
| 12 | + Easily deploy and scale AI agents, real-time applications, game servers, and complex backends on a frictionless platform that runs anywhere. |
14 | 13 | </h4> |
15 | 14 | <p align="center"> |
16 | 15 | <!-- <a href="https://github.com/rivet-gg/rivet/graphs/commit-activity"><img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/rivet-gg/rivet?style=flat-square"/></a> --> |
|
23 | 22 |
|
24 | 23 |  |
25 | 24 |
|
26 | | -## Intro |
| 25 | +## Overview |
27 | 26 |
|
28 | | -Rivet comes with simple primitives to build your backend. Leverage Rivet Actors to build complex functionality with ease. |
| 27 | +Rivet is a developer-focused serverless infrastructure platform that unifies stateless functions, stateful actors, and containerized workloads. It provides simple primitives to build your backend without managing servers. Leverage Rivet Actors to create resilient, long-lived services that maintain in-memory state between requests. |
29 | 28 |
|
30 | | -### Features |
| 29 | +Whether you’re building AI-driven services, collaborative apps, multiplayer games, or any cloud backend, Rivet’s technology provides the performance and scalability you need in a portable, open-source package. |
31 | 30 |
|
32 | | -- [**State & Persistence**](https://rivet.gg/docs/state): State that feels like memory but works like storage. Ideal for dynamic, fast-moving apps. |
33 | | -- [**Remote Procedure Calls**](https://rivet.gg/docs/rpc): Lightweight messaging built for speed. Complete client/server type safety included. |
34 | | -- [**Runs Forever, Sleeps When Idle**](https://rivet.gg/docs/lifecycle): Always available, sleeps on network inactivity or timeouts, and wakes instantly on demand. |
35 | | -- [**Edge Networking**](https://rivet.gg/docs/edge): Automatically distribute your applications near your users for ultra-low latency. |
36 | | -- [**Fault Tolerance**](https://rivet.gg/docs/fault-tolerance): Ensure application & state resilience through crashes with zero downtime. |
37 | 31 |
|
38 | | -### Infrastructure |
| 32 | +## Key Characteristics |
39 | 33 |
|
40 | | -- **Works with Your Runtime**: Supports V8 isolates, WebAssembly, and containers to work with your existing tools. |
41 | | -- **Scales to Zero**: Handle millions of connections with low latency and high-throughput writes while saving costs through instant actor sleep/wake cycles. |
42 | | -- **No Servers & No Configuration**: Deploy with one command. Scale on demand without any configuration. |
43 | | -- **Simpler Than Lambda, No Timeouts Ever**: No execution time limits, no complexity — just better serverless. |
44 | | -- **Batteries Included Monitoring**: Includes monitoring out of the box, or bring your own monitoring. |
45 | | -- **Built with Technologies You Can Trust**: Rust, FoundationDB, the [Rivet workflow engine](docs-internal/libraries/workflow/OVERVIEW.md), and [Rivet orchestrator](packages/services/pegboard/) make Rivet delightfully boring to use. |
| 34 | +- **Open Source & Portable** |
| 35 | + Run the Rivet platform on any infrastructure – use the fully-managed Rivet Cloud or deploy it on your own servers and cloud. |
46 | 36 |
|
47 | | -### Use cases |
| 37 | +- **Unified Primitives** |
| 38 | + Develop using stateless **Functions** (for request/response APIs), stateful **Actors** (for persistent, real-time services), or sandboxed **Containers** (for heavy or untrusted workloads). All are managed together or alone with a consistent CLI and tooling. |
48 | 39 |
|
49 | | -- AI agents |
50 | | -- Game Servers |
51 | | -- Collaborative applications |
52 | | -- Local-first apps |
53 | | -- Discord Activities |
54 | | -- Chat Apps |
55 | | -- Yjs Sync & Storage |
56 | | -- Sandboxed Code Execution |
| 40 | +--- |
57 | 41 |
|
58 | | -## Install CLI |
| 42 | +## Features |
59 | 43 |
|
60 | | -```sh |
61 | | -# macOS & Linux & WSL |
62 | | -curl -fsSL https://releases.rivet.gg/rivet/latest/install.sh | sh |
| 44 | +- **Stateful Persistence** |
| 45 | + Rivet Actors preserve data in memory with automatic durability to disk. This provides persistent memory-like state – you get the speed of in-memory access with the safety of persistent storage. Ideal for dynamic, fast-moving app state (caches, game lobbies, collaborative document data, etc.). |
63 | 46 |
|
64 | | -# Windows (cmd) |
65 | | -powershell -Command "iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex" |
| 47 | +- **Remote Procedure Calls (RPC)** |
| 48 | + Lightweight built-in messaging for clients and services. Rivet offers type-safe RPC calls and broadcast events between clients and actors, simplifying real-time communication without external message brokers. |
66 | 49 |
|
67 | | -# Windows (PowerShell) |
68 | | -iwr https://releases.rivet.gg/rivet/latest/install.ps1 -useb | iex |
69 | | -``` |
| 50 | +- **No Cold Starts** |
| 51 | + Services hibernate on idle and wake instantly on demand. Long-running actors “sleep” when inactive and recover state immediately on the next request. Instant cold-start recovery and consistently low latency for end-users. |
| 52 | + |
| 53 | +- **Edge Distribution** |
| 54 | + Deploy backend code closer to your users. Rivet distributes actors and functions across global edge regions for ultra-low latency. Supports HTTP, WebSocket, TCP, and UDP protocols without requiring external proxies. |
| 55 | + |
| 56 | +- **Unlimited Execution & Container Support** |
| 57 | + No arbitrary execution time limits – run long-lived processes or background jobs as needed. Rivet supports anything that runs in a Docker container. If it works in Docker, it works on Rivet. |
| 58 | + |
| 59 | +- **Fault Tolerance** |
| 60 | + Actor state is persisted so that if an instance crashes or is rescheduled, it can recover its exact state with zero downtime. Combined with intelligent routing, Rivet ensures high availability. |
| 61 | + |
| 62 | +- **Local Development** |
| 63 | + Develop and test locally with ease. Spin up a full Rivet cluster with `rivet dev` or Docker Compose. Iterate locally before deploying to production. |
| 64 | + |
| 65 | + ### Use cases |
| 66 | + |
| 67 | +- AI agents |
| 68 | +- Multi-tenant applications |
| 69 | +- Local-first apps |
| 70 | +- Collaborative applications |
| 71 | +- Sandboxed Code Execution |
| 72 | +- Game Servers |
| 73 | +- Yjs Sync & Storage |
| 74 | +- Chat Apps |
| 75 | + |
| 76 | +--- |
70 | 77 |
|
71 | 78 | ## Getting Started |
72 | 79 |
|
|
0 commit comments