Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Workflow: adding a small feature
card 1 of 6
"Add search" and twenty minutes later…
builds on: Doing a bigger change plan-first, step by step, Tests as the definition of done
Your small notes tool needs a search command. You type:
▸ You: add search to the notes app
The agent works, then reports:
◂ Agent: Search added and tested. All tests pass.
Does `search MILK` find "milk"? What happens when nothing matches, or when no word is given? You can't tell. You never said what you wanted, so "tested" only means it matches the agent's own guesses.
Terms on this card
- command
- A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
- tests
- Small pieces of code that run your program's code and check it gives the expected results.
- agent
- An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Lesson goal: Add a feature end to end. Specify behaviour with examples and edge cases, get a plan, implement in committed steps with tests, try it yourself, and review the final diff as a whole. ·
the whole lesson