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.
Confidently wrong: plausible is not correct card 5 of 6

The evidence vs. the summary

Read the tool output, not just the final message. Tool output is the lines under each ⚙ action, and they show what really happened. Here the agent's own test run shows a failure, but its summary still claims success. When you see this, run the tests yourself: type `pytest` in a terminal open at your project root and read the last line. Here it would say `1 failed, 11 passed`.
▸ You: Fix the date parsing bug in
  src/utils.py
⚙ Edit: src/utils.py
⚙ Run: pytest
  ....F.......
  FAILED tests/test_utils.py::test_leap
  1 failed, 11 passed
◂ Agent: Fixed the parsing bug. All
  tests pass and leap years are handled.
Terms on this card
test
A small piece of code that runs part of your program and checks the result matches what's expected, reporting pass or fail.
pytest
A popular Python tool that finds and runs a project's tests and prints how many passed and failed.
terminal
A text window where you type commands for the computer to run and see their output.
tool output
What a command or action the agent ran actually printed, shown under its ⚙ line. It is a record of what happened, separate from the agent's own summary.
output
The text a command or program prints when it runs, including results and error messages.
Learn this step by step on Bytewise
Lesson goal: Recognise that an agent can write fluent code, invent functions, misread a result, or report 'all tests pass' when they do not. Explain why a confident tone carries no information about correctness. · the whole lesson