AI engineering, built from scratch

Build real AI systems from scratch

Clone a repo, implement a real system stage by stage, and get instant, deterministic pass/fail feedback. No toy models — real GPT-2 weights, real specs, real numbers. All in TypeScript.

theinference — test --watch
✓ PASS Load the GPT-2 weights 7ms
✓ PASS Implement causal self-attention 210ms
✓ PASS Match GPT-2 logits 1.2s
Stage 3/3 complete ✓ — synced to the site

How it works

A loop that actually teaches

The fast, satisfying inner loop is the whole point. You learn by building the real thing and watching it pass.

Step 1

Clone the starter

One command scaffolds the project with pinned dependencies. No GPU, no API keys, no setup drift.

Step 2

Implement a stage

Each stage is a real piece of the system — attention, a tokenizer, a retriever. You write the actual logic.

Step 3

Get instant feedback

A local grader runs in milliseconds and tells you exactly what is off — within tolerance, byte-exact, or recall@k.

The catalog

Start with these

View all 30

Build your own LLM today

The anchor course is free, runs entirely on your laptop, and you can clear the first stage in under ten minutes.