Explore templates to quickly start building with Rivet Actors, or give this to your coding agent to build something new.

A minimal example demonstrating RivetKit with a real-time counter shared across multiple clients.

Unified sandbox showcasing Rivet Actor features with a single registry, grouped navigation, and interactive demos.

Example project demonstrating queue-driven Rivet Actor AI agents with streaming Vercel AI SDK responses.

Example project demonstrating queue-driven Rivet Actor sessions that control a Sandbox Agent coding runtime.

Example project demonstrating real-time messaging and actor state management.

A shared text editor that uses Rivet Actors with Yjs for real-time CRDT sync and presence.

Example project demonstrating per-company database isolation with Rivet Actor state.

Example project demonstrating real-time cursor tracking and collaborative canvas.

Shows how to deploy user or AI-generated Rivet Actor code using a sandboxed namespace and Freestyle

A real-time Agar.io style arena showing a matchmaker coordinator and GameRoom data actors.

Demonstrates how to define and call actions on Rivet Actors for RPC-style communication between actors and clients.

Demonstrates how actors can call actions on other actors for inter-actor communication and coordination.

Store user session state in edge-local Rivet Actors so preferences and activity stay close to users.

Example project demonstrating raw HTTP fetch handling with Hono integration.

Demonstrates raw WebSocket handling with direct actor connections and real-time chat functionality.

Demonstrates how to schedule tasks and execute code at specific times or intervals using Rivet Actors.

Demonstrates persistent state management in Rivet Actors with automatic state saving and restoration.
Example project demonstrating Cloudflare Workers deployment.
Example project demonstrating Cloudflare Workers deployment with Hono router.

Demonstrates real-time cursor tracking and collaborative canvas using raw WebSocket handlers instead of RivetKit's higher-level WebSocket abstraction.
Example demonstrating custom serverless actor deployment with automatic engine configuration.
Example project demonstrating Elysia web framework integration.

Example project demonstrating how to build an AI agent that communicates through durable streams for reliable message delivery and persistence.
Build type-safe HTTP APIs with Hono web framework and RivetKit Actors. Features lightweight routing, middleware support, and seamless actor integration.

Example demonstrating full-stack Hono backend with React frontend integration.

Example project demonstrating all RivetKit features.

Demonstrates native WebSocket integration with Rivet Actors for real-time bidirectional communication.

Minimal Next.js example demonstrating basic actor state management and real-time updates.

Demonstrates raw WebSocket handling using a proxy endpoint pattern for routing connections to actors.

Demonstrates React frontend integration with Rivet Actors.
Demonstrates Drizzle ORM integration with Rivet Actors for type-safe database operations.
This example demonstrates using the raw SQLite driver with RivetKit actors.

Example project demonstrating real-time top-K stream processing.
Example project demonstrating tRPC integration.