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

Four signs, and when to stop

builds on: Giving useful feedback on a wrong result, Interrupting and redirecting mid-task
1. **Same fix again**: it repeats an edit or command it already tried and gets the same error. 2. **Patches over patches**: each attempt adds a special case or workaround on top of the last one. 3. **Flip-flopping**: approach A, then B, then A again. 4. **Apology without evidence**: 'this should work now', with no new command run or file read. Progress means the error changes or new facts appear. If the error is unchanged after two attempts, stop.
Terms on this card
special case
Extra code that handles one specific input differently, such as `if order.id == 1042`. Piling these up often hides a real bug.
workaround
A change that avoids a symptom without fixing its cause, such as catching an error and ignoring it.
flip-flopping
Switching between two approaches and back again (A, then B, then A) without either one working or any new information arriving.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
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