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.
When not to use an agent
card 4 of 6
The payroll script nobody can check
builds on: Describing a task: goal, context, constraints, check, What you stay responsible for
An analyst types: ▸ You: Update `payroll.py` so overtime uses the new rules. The agent edits the file and its summary sounds sure of itself. She can't read the logic well. No colleague reviews it, and real salaries depend on it. That fails check 1 and check 3. A better move is to find a qualified reviewer before anyone uses it. She can also work out a few pay slips by hand under the new rules and compare them with the script's output, which gives the reviewer something concrete to check.
Terms on this card
- agent
- An AI coding tool that reads your project's files, edits them and runs commands itself to finish a task you describe, rather than only replying in a chat.
- reviewer
- A person qualified to read a change and judge whether it is correct and safe before it is used.
- script
- A short program, often a single file, written to do one job such as processing a file or a calculation.
- output
- The text a command or program prints when it runs, including results and error messages.
- summary
- The message the agent writes at the end saying what it did. It is the agent's own claim, not a check.
Lesson goal: Recognise poor-fit situations: you cannot check the result, the change is tiny and faster by hand, the stakes are high and the reviewer is unclear, the domain or tool is too obscure, or you need to learn the skill yourself. ·
the whole lesson