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

A reframe that breaks the loop

builds on: Giving useful feedback on a wrong result, Interrupting and redirecting mid-task
Name what failed, add the missing evidence, and ask for an explanation before any edit.
▸ You: Stop. Your last 4 attempts only
  swapped %d/%m/%Y and %m/%d/%Y. The
  error never changed:
    ValueError: unconverted data
    remains: 10:30
  A real input line from data/orders.csv:
    05/03/2024 10:30
  I've undone your edits to src/dates.py.
  Don't edit yet. Explain why parsing
  fails for this line, then propose
  one fix.
Terms on this card
reframe
Restarting a task with a new message that names what failed, adds missing evidence, and changes what you ask for, such as a diagnosis instead of another fix.
loop
Code that repeats a step for each item in a list, e.g. adding up every row of a table.
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