How the exercise ladder works
What it is
Ten stages, each adding one capability to the code from the stage before:
- Stages 1 to 2 (beginner): tools, then the loop. A working agent.
- Stages 3 to 5 (intermediate): memory, planning, and a graph with saved state. An agent that lasts.
- Stages 6 to 10 (advanced): several agents, human approval, guardrails, evaluation and observability. An agent you could ship.
Use one domain throughout. The stages below use a bookshop's order desk, so you cannot copy the Kirana Kart code from the lessons.
Why it matters
Doing the stages in order matters more than doing them quickly.
- Each stage's 'done when' checks are what the next stage relies on.
- Keeping one codebase means you feel each capability being added to something real, including the times it breaks what was there.
- A different domain from the lessons forces you to design tools and rules yourself, which is the skill being practised.
- Expect two to four hours per stage.
In the real world: A study group that worked the ladder over five weeks reported that stage 9, building the evaluation harness, was the one that changed how they worked afterwards.
Visual example
LadderEach row adds one capability to the row above.
Skipping to the stage that sounds most interesting. Multi-agent work on top of untested tools and an unbounded loop teaches you mostly about debugging.