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.
Interrupting and redirecting mid-task
card 2 of 6
Wrong turns compound
builds on: Following the agent while it works
Each action builds on the one before it. If the agent decides early that "the database is the problem", every later read, edit and command assumes that. Stopped at step 3, it costs you seconds. Left for 30 steps, you have many edits to find, sort into wrong and right, and undo. The agent can't tell it's wrong: you know things it doesn't. One sentence from you at the right moment saves all of that.
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`.
- 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.
- database
- Software that stores data and lets programs query it. It needs its own setup, which is overkill for a small tool.
Lesson goal: Stop the agent as soon as it heads the wrong way and give a one-line correction. Explain why early redirection is cheaper than reviewing and undoing a long wrong run. ·
the whole lesson