Home / Figures / Chapter 21

Figure 21.2: The coding-agent loop

The coding-agent loop.
Figure 21.2 The coding-agent loop. Each pass understands the task, locates the code, makes an edit, and runs the tests—the ground-truth beat, in accent—then reads the failures and iterates, leaving the circle only when the suite is green. The verifier the domain supplies for free is what closes the cycle; strip out that one beat and the loop is a text generator with commit access.