Svelte and SvelteKit
[!NOTE]
Overview
Attribute Details Used Advection era (2023 to present) Projects Talk to My Agent, Cruffled, Autonomic Alpha Foundry, Two Truths & the Lie, The Brain's public reader Around it Vite, Capacitor for the stores, Custom Elements, Vercel
Where Andrea used it
- This site. SvelteKit and Svelte 4 on Vercel: the Gemini Live voice agent, the tool-calling chat over SSE, and
/tree, which renders the brain's public notes with a d3-force graph. - Cruffled. The game is SvelteKit wrapped with Capacitor for iOS and Android, live on both stores since September 2026; the same engine also builds as an IIFE bundle exposing a
<cruffled-puzzle>custom element embedded on the landing site. - Autonomic Alpha Foundry. A SvelteKit UI over WebSockets to the Python engine.
- Two Truths & the Lie. Svelte 4, Vite and Tailwind over Supabase.
Notable decisions
- One engine, two targets (Cruffled). The store app and the embeddable applet share the engine, so the puzzles on the website are the real game.
- Self-contained builds (this site). The sanitised brain copy is committed to the site repo, so a Vercel build needs no network access to the knowledge base.