State for every actor
Give each counter, room, or session a key and a home for its state.
RIVET ACTORS + SVELTEKIT
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.
Change a counter. Add an actor. Reload and find them here.
Connecting to Rivet. This counter demo needs no account or AI key.
Give each counter, room, or session a key and a home for its state.
Send typed actions. Receive realtime events. Keep your interface in sync.
Svelte 5 components, runes, and SvelteKit routes are already connected to Rivet.
START LOCALLY
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.
No cloud account or API key required. After startup, open localhost:5173.
Write your first actorgit clone https://github.com/brittianwarner/rivet-svelte-ai.gitcd rivet-svelte-ai && bun installbun run dev