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.
Recognising when the agent goes in circles card 1 of 6

Busy, but getting nowhere?

builds on: Giving useful feedback on a wrong result, Interrupting and redirecting mid-task
You asked the agent to fix a failing test. Fifteen minutes later it has edited `src/dates.py` four times. The test still fails, and its latest reply begins: 'Apologies, you're right, this should now work.' It looks busy, so it must be close, right? How do you tell an agent that is making progress from one that is going in circles?
Terms on this card
test
A small piece of code that runs part of your program and checks the result is what was expected. It reports pass or fail.
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.
src
Short for "source": a common folder name for a project's main code files.
Learn this step by step on Bytewise
Lesson goal: Spot the signs of a stuck agent: the same fix tried repeatedly, growing patches over patches, flipping between two approaches, or an apology without new evidence. Decide to stop, revert and reframe. · the whole lesson