Sveet

The opinionated agent-first SvelteKit starter kit, sweet as candy 🍬

SvelteKit + SQLite, a sandbox your agents can't escape. Skills instead of plugins. Built from years of experience in building software, and hands-on experience in shipping products with Agents. Sveet is powering onelink.ninja and more in production, and all learnings flows back here.

$ bun create nerdwerk/sveet my-app && cd my-app
$ bun run sandbox
# β†’ open http://localhost:4096 and say "set this project up"
Why another starter?

A few things that make starting easier. Not every feature you might need.

Most starters ship so much that you spend the first week deleting. Sveet ships one stack and one way to do each thing, and lets your agents add exactly what your project needs, without dead code.

🏝️

Self-reliant

SvelteKit + SQLite and a little glue. One compiled executable, no database server, no selling your soul to a big host. Fly.io is the easy default; it's plain Docker, so it runs anywhere.

πŸ€–

Agent-first

No pile of docs, no plugin system. Your agents get a sharp AGENTS.md, the Svelte MCP and project skills that set up, extend, deploy and upgrade the app for you.

πŸ›‘οΈ

Sandboxed

Agents run in a small Linux VM with your project folder and the internet, and nothing else. Your SSH keys and credentials stay safe. Deploys stay on your machine.

β€œI kept bootstrapping from the default SvelteKit setup, grabbing for the same tech decisions again and again. So I built the starter kit I wish I had found.”

β€œHonestly I went into the [repo] with the obligatory β€˜Who needs starter [templates] these days’, but I could definitely see the reasoning behind this.”

The stack

What makes it delicious 🍬

Every piece earned its spot in a real production app.

AppSvelteKit 3 + Svelte 5, compiled by adapter-bun into one executable 🏎️
Runtimebun for everything: install, dev, build, tests, scripts
DataSQLite + Drizzle, no server, migrations committed (migrations are gold)
AuthBetter Auth with passwordless magic links, behind one mail seam
MailConsole in dev, Scaleway TEM in prod: EU-hosted, 3,000 mails/month free
UIui-sdk components themed by tokens, plus Tailwind 4
TestsVitest on in-memory SQLite, Playwright on the real build
DeployDocker β†’ Fly.io, SQLite on a volume, migrations on start
Dev envmicrosandbox VM with the dev server, tests and agents
AgentsAGENTS.md, Svelte MCP, skills and ponytail
🍬

Defaults, not handcuffs. Picks like Scaleway and Fly.io are opinionated, sensible defaults so you can ship on day one. Want Resend, Postmark, Railway or your own box? Eject and swap them: the sveet-mail and sveet-deploy skills walk your agent through it.

Getting started

Three steps. The agent does the rest.

πŸ’‘

Heads-up: the sandbox is optional. It needs an Apple Silicon Mac or Linux with KVM. Elsewhere, skip it and run everything with bun on your machine: bun install && bun run setup && bun run dev. Your agent then has your user's full access, so keep its permission prompts on.

Install the tools

bun, microsandbox for the dev VM, and flyctl if you want to deploy. Or grab the Brewfile.

$ brew install bun \
  superradcompany/tap/microsandbox \
  flyctl

Create & boot

The first boot takes a few minutes. After that, about a second.

$ bun create nerdwerk/sveet my-app
$ cd my-app && bun run sandbox
  App    http://localhost:5173
  Agent  http://localhost:4096

Say β€œset this project up”

The sveet-setup skill asks for a name, a one-liner, deploy and mail. β€œJust the defaults” and you're done after two questions. It rewrites the project and runs the tests.

Prefer the Svelte CLI?

Sveet is also an sv community add-on and produces the exact same project.

$ npx sv create my-app --template minimal --types ts --add @nerdwerk --install bun
Working in the sandbox

Let agents go wild. Just not on your machine.

The agent runs without permission prompts, but it only sees your project folder and the public internet. The folder is mounted live, so your editor sees every change. And bun run deploy refuses to run in the VM, so nothing ships to production by accident.

Bring your agent: opencode (default, web UI on :4096), Claude Code or Codex. Or drive the VM's agent from Zed over ACP.

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
πŸ‘΄πŸΌ <   It's dangerous to go alone! Take this. βš”οΈ β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
bun run sandbox Boot the VM, print the URLs
sandbox restart Restart the dev server
sandbox logs Follow the log (magic links land here)
sandbox agent claude A terminal agent in the VM
sandbox shell A shell inside the VM
sandbox zed Zed settings for the VM's agent
sandbox stop | rm Stop or delete the VM
How agents write code here

Skills instead of plugins. Less code instead of more.

ponytail makes agents use what's already there before writing anything new. Every feature gets an e2e test of its happy path, and done means bun run verify passed. Project skills teach the flows:

πŸ”

You own every line

A Sveet project is a copy, not a dependency. Say β€œupgrade sveet” and the sveet-upgrade skill diffs your release against the newest and applies what fits.

πŸš€

Ship in four commands

Create the Fly app, a volume, set the secrets, bun run deploy. The image is one executable plus migrations on debian-slim. No bun, no node_modules at runtime.

βœ…

One gate everywhere

Lint, types, unit and e2e on the production build. The same verify runs in the pre-push hook, in CI and before every deploy.

Is it for you?

Probably. Unless…

🍭 Sweet fit

  • You want a kickstart, not a kitchen sink
  • You want to ship a real product fast, with agents doing the typing
  • One server and SQLite go a long way for you
  • You like owning your stack and your data
  • You're on macOS or Linux

πŸ™… Not your candy

  • You want to start inside a specific ecosystem like Supabase, Firebase or Convex
  • You want lots of boilerplate done for you: billing, teams, dashboards
  • You need Postgres or multiple servers from day one
  • You don't want to work with agents

Free, MIT, and staying that way πŸ’œ

If Sveet saves you time and you want to give something back, supporting on Patreon keeps me shipping tools like this.