Dev Playground

Practise what you actually use when building with local AI

30 exercises in your browser and a capstone per track. You write code, it checks itself and, when it fails, tells you what it expected and what it got. Hints and a solution if you get stuck. No account.

LLM engineering Requests, streaming, JSON, RAG and sampling.

0/12

Capstone · 40 min Capstone: ask Ollama for JSON without it breaking Puts the track together: a streaming POST to Ollama, retries with growing waits, reading the NDJSON chunk by chunk and extracting the JSON safely. Unlocks when you finish the 12 exercises in this track. You can try it now.

Reliability Retries, timeouts, caches and limits.

0/6

Capstone · 35 min Capstone: a client that survives a slow backend Puts the track together in one client: an LRU cache, a timeout with AbortController and retries with growing waits. Unlocks when you finish the 6 exercises in this track. You can try it now.

Data and text Parse, clean, validate and escape.

0/6

Capstone · 35 min Capstone: from a messy CSV to a summary you can trust Puts the track together: parse CSV with quotes, validate every field with its line number and aggregate per model. Unlocks when you finish the 6 exercises in this track. You can try it now.

Web basics The interface around the model: accessible components, SVG and canvas.

0/6

Capstone · 30 min Capstone: an accessible table and chart behind one button Puts the track together: render data safely, an SVG chart with its title, and a toggle button with aria-pressed. Unlocks when you finish the 6 exercises in this track. You can try it now.

Long guide A whole topic, with its own playground.