RIVET ACTORS + SVELTEKIT

Build apps that
stay in sync.

A SvelteKit starter with Rivet Actors for state and realtime updates. Svelte renders the interface; actors own the state. Start with a working app and make it yours.

Live actor playground

Change a counter. Add an actor. Reload and find them here.

ACTOR PLAYGROUND

Connecting to your actors…

Connecting to Rivet. This counter demo needs no account or AI key.

01

State for every actor

Give each counter, room, or session a key and a home for its state.

02

Updates as they happen

Send typed actions. Receive realtime events. Keep your interface in sync.

03

Svelte from the start

Svelte 5 components, runes, and SvelteKit routes are already connected to Rivet.

START LOCALLY

Make it yours.

Clone the starter, run it locally, then change an actor or build a new one. The counter, session, and Svelte examples are yours to adapt.

Node 26Bun 1.4.4

No cloud account or API key required. After startup, open localhost:5173.

Write your first actor
QUICKSTART~/your-next-thing
01Clone the starter
git clone https://github.com/brittianwarner/rivet-svelte-ai.git
02Install dependencies
cd rivet-svelte-ai && bun install
03Start your app
bun run dev