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 4 of 6
One session, start to finish
A short, realistic session. Map it onto the five phases. **Task**: your message. **Explore and plan**: the Read, the Search and the stated plan. **Edit**: the Edit. **Check**: the Run and the read of `out.csv`. The final report is where *your* **Review** begins.
▸ You: Add a --csv flag to report.py that
writes results to out.csv. Keep the
current printed output as the default.
⚙ Read: report.py
⚙ Search: "argparse"
◂ Agent: Plan: add a --csv flag via
argparse, write rows with the csv module.
⚙ Edit: report.py
⚙ Run: python report.py --csv
⚙ Read: out.csv
◂ Agent: Done. Added --csv; I ran it and
out.csv has 12 rows. Default unchanged.
Terms on this card
- session
- One working conversation with the agent, from the task you type until you accept or redirect the result.
- CSV
- Comma-separated values: a plain-text table format, one row per line, columns separated by commas. Opens in spreadsheet apps.
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