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.
Running and trying the result yourself card 2 of 6

Reading shows intent, running shows behaviour

builds on: What automated tests are and how to run them, Reading the agent's summary skeptically
Reading code tells you what was written. Running it tells you what actually happens. A clean diff cannot show what is *missing*: a data format nobody wrote code for, an empty file, a number with a comma in it. The agent's "I ran it" is only a claim. It may have run before its last edit or misread the output. Or it used a `sample.csv` it wrote itself, which fits its own assumptions.
Terms on this card
diff
A listing of exactly which lines were removed ('-') and added ('+') in a file. It shows the change, not what the program does when run.
CSV
Comma-separated values: a plain-text table file where each line is a row and commas separate the columns. Spreadsheets and banks often export it.
output
The text a command or program prints when it runs, including results and error messages.
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: Run the program, the tests or the script yourself on a realistic input, including one edge case. Do not accept the agent's claim that it ran them, and explain what this catches that reading the diff does not. · the whole lesson