Gather, act, check, repeat
Swipe to change step
Step 1 of 8. The loop starts by gathering context. Good agents look before they act: here it reads the failing test and the code it covers. Task (fix failing test). Gather context (read test and code), highlighted. Take action (edit the function). Check the work (run the tests). Decide (continue or stop?). arrow from Task to Gather context. arrow from Gather context to Take action, labelled context. arrow from Take action to Check the work, labelled change. arrow from Check the work to Decide, labelled result. arrow from Decide to Gather context, labelled go again. a task moving along e0.
In this chapter
Chapter check
Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.
Loading check…