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.
Asking for a plan before any edits card 4 of 6

Asking for a plan in practice

builds on: Describing a task: goal, context, constraints, check
The agent only reads files. It doesn't edit anything, and it ends by spelling out the steps it intends to take and what it assumed.
▸ You: Add CSV export to the sales report.
  Don't edit files yet. Read what you
  need, then give me a plan: files to
  change, steps, assumptions.
⚙ Read: src/reports/sales.py
⚙ Read: src/reports/common.py
◂ Agent: Plan:
  1. Add export_csv() to sales.py
  2. Change load_rows() in common.py
     to return every column
  3. Add an "Export" button to the
     report page in sales.py
  Assumption: export all rows, not only
  the ones filtered on screen.
Terms on this card
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.
Learn this step by step on Bytewise
Lesson goal: Ask the agent to explore and propose a plan without changing files, using a plan or read-only mode or a plain instruction. Explain why this reveals misunderstandings before they become code. · the whole lesson