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.
Reviewing and editing a plan
card 1 of 6
The plan looks fine. Do you say go?
builds on: Asking for a plan before any edits
You asked the agent to plan, not edit, for: *add an Export CSV button to the reports page*. It replies:
◂ Agent: 1. Install `pandas` to build the CSV. 2. Add an export handler in `app.py`. 3. Add the button to `templates/base.html`. 4. Tidy up `db.py` so queries are reusable.
It sounds competent and confident. Do you type *go ahead*?
Terms on this card
- CSV
- Comma-separated values: a plain text file of table rows, one row per line, with values separated by commas. Spreadsheets open it directly.
- pandas
- A popular, large Python package for working with tables of data. It's often overkill for simply writing a CSV file.
- export handler
- The piece of code that runs when someone clicks Export. It builds the file and sends it to the browser.
- queries
- Requests the app sends to its database to fetch or change data, such as 'all reports from March'.
- 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: Check a plan for wrong assumptions, missing steps, files it should not touch, and steps with no way to verify them. Correct the plan in words before approving it, which is the cheapest place to fix a design mistake. ·
the whole lesson