Lightweight Libraries for Backends
Install one package, scale to production.
Just a library, no SaaS.
Supports Rivet, Cloudflare, Node, Bun, Redis, memory, file system, TypeScript,
Rust, React, Hono, Express, Elysia, tRPC, Better Auth, and Vitest.
Documentation • Discord • X • Bluesky
  Node.js & Bun
  React
Browse snippets for how to use RivetKit with different use cases.
Example | Actor (JavaScript) | Actor (SQLite) | Frontend (React) |
---|---|---|---|
AI Agent | actor.ts | actor.ts | App.tsx |
Collaborative Document (CRDT) | actor.ts | actor.ts | App.tsx |
Chat Room | actor.ts | actor.ts | App.tsx |
Per-User Databases | actor.ts | actor.ts | App.tsx |
Rate Limiter | actor.ts | actor.ts | App.tsx |
Stream Processing | actor.ts | actor.ts | App.tsx |
Multiplayer Game | actor.ts | actor.ts | App.tsx |
Local-First Sync | actor.ts | actor.ts | App.tsx |
SQLite available in July.
Deploy RivetKit anywhere - from serverless platforms to your own infrastructure. Don't see the runtime you want? Add your own.
  Rivet
  Cloudflare Workers
  Vercel (On The Roadmap)
  AWS Lambda (On The Roadmap)
  Supabase (Help Wanted)
  Bun
  Node.js
  Redis
  Postgres (Help Wanted)
  File System
  Memory
Seamlessly integrate RivetKit with your favorite frameworks, languages, and tools. Don't see what you need? Request an integration.
  JavaScript
  TypeScript
  Python (Help Wanted)
  Rust (Help Wanted)
  Hono
  Vitest
  Better Auth
  AI SDK (On The Roadmap)
  LiveStore (Available In July)
  ZeroSync (Help Wanted)
  TinyBase (Help Wanted)
  Yjs (Help Wanted)
Help make RivetKit the universal way to build & scale stateful serverless applications.
Apache 2.0
Performance in every act - thanks to Rivet Actors.