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 3 of 6

What to watch, call by call

builds on: Approvals and permission modes, How a code project is laid out
- **Search / Read**: do the files belong to the part of the project your task is about? Use what you know about the project layout. - **Edit**: does the task need every file it edits? Edits to config files or to unrelated features are a warning. - **Run**: is the command related to the task, and one you expected? - **Repeats**: if the same command fails again and again after small tweaks, the agent is stuck, not making progress. Each approval prompt is a natural pause for this check. In auto-approve mode there is no pause, so glance at the stream while it runs.
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).
auto-approve
A mode in which the agent edits files or runs commands without asking first. It is faster, but you only see actions after they have happened.
project layout
How a project's folders and files are organised: source code, entry point, config files, README, tests and so on.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
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: 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