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.
The shape of a session: task to review
card 5 of 6
Walking the phases, catching the gap
**Task**: names the file, the behaviour, and what must not change. Good.
**Explore and plan**: it read `report.py`, the right file, and its plan fits the task.
**Edit**: one file only, as expected.
**Check**: it ran *with* `--csv`, but never ran without it. "Default unchanged" is a claim, not something it tested.
**Review**: open `report.py` and look at the change. Then either type `$ python report.py` in your terminal (the text window where you type commands) to see the default output yourself, or redirect:
`▸ You: Run it without --csv too and show me the output.`
Terms on this card
- CSV
- Comma-separated values: a plain-text table format, one row per line, columns separated by commas. Opens in spreadsheet apps.
- default
- What a program does when you don't give it any special option.
- terminal
- A text window where you type commands, such as `python report.py`, and see their output.
- redirect
- Telling the agent its result or direction is off and what to do instead, so it continues from there.
- output
- The text a command or program prints when it runs, including results and error messages.
Lesson goal: Walk through the five phases of a typical session: you state a task, it explores and plans, it edits, it runs checks, and you review and accept or redirect. Name what you do in each phase. ·
the whole lesson