The course

Build a Claude-Code-class agent from scratch, one primitive per chapter, until you can explain every line of it.

free · in progress

The chapters, in the repo

Every chapter’s code, tests, and write-up are published in the repo as each chapter ships. swa grows by one primitive per chapter.

paid · later

The deep version

A deeper, paid version comes later, built around student-mode assessment. No price or date yet.

Every chapter has the same shape

  1. a mystery you have felt
  2. one experiment, one number on screen
  3. the law it reveals
  4. the diagram
  5. the code in swa
  6. the question you must now answer

The chapters

In build order. By chapter 12 the harness asks you to explain it.

Chapters — one harness primitive each
chStatusPrimitiveThe mystery
0◐Bare model callWhat is the model actually receiving?
1○Tool loopSame model, 30 points apart
2○File + shell tools, permission gateAuto mode: who decided that was safe?
3○Context windowWhy does my agent get dumber after an hour?
4○Prompt cachingWhy did this session cost $14 and that one $2?
5○Instruction layeringWhy did it forget the rule in my file?
6○SubagentsA huge band collapsing to a dot
7○WorktreesWhy did two agents clobber each other?
8○LoopsWhy did it rewrite the same test three times?
9○Review gatesWhy can't it check its own work?
10○SkillsOn-demand instructions and what they cost
11○Cost, failure modes, evalsHarness Bench
12○Student modeThe harness makes you explain it

Join the waitlist

Confirmation opens in a new tab. Every email has an unsubscribe link.