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.
Following the agent while it works card 4 of 6

A session heading the wrong way

builds on: Approvals and permission modes, How a code project is laid out
You asked about the invoice page, whose code lives in `src/invoices/`. Before you answer the approval prompt, read what the agent opened.
▸ You: On the invoice page, show dates
  as DD/MM/YYYY instead of MM/DD/YYYY
⚙ Search: "date" in src/
⚙ Read: src/reports/export_csv.py
⚙ Read: src/reports/monthly.py
⚙ Edit: src/reports/export_csv.py
[Approve? yes / no / always]
Terms on this card
approval prompt
A question the agent shows before an edit or command, asking you to allow it (yes), refuse it (no) or allow that kind of action from now on (always).
session
One working conversation with the agent, from the task you type until you accept or redirect the result.
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.
prompt
The message you type to the agent to give it a task or instruction.
src
Short for "source": a common folder name for a project's main code files.
Learn this step by step on Bytewise
Lesson goal: Read the stream of tool calls as it happens: which files it opens, what it searches for, what it runs. Spot early signs it has misunderstood, such as wrong files, unrelated edits or repeated failures. · the whole lesson