Lesson 06 · Shapes · 14 min
Loop shapes
The strategies below differ far less than their names suggest. All three are the same loop with a different system prompt, which is worth knowing before adopting a framework that presents them as distinct architectures.
Choose by failure mode rather than by reputation. If your agent gets lost on long tasks, planning helps. If it answers confidently with things the tools never returned, reflection helps. If it handles the common case well and breaks on surprises, plain ReAct with good stall detection is usually enough.
Run one task through all three in the lab and compare three numbers: iterations used, total tokens, and whether the answer is actually supported by the observations above it. The last one is the only one that matters, and it is the only one you have to judge yourself.
Reflection has a specific weakness worth knowing: a model checking its own work uses the same understanding that produced the work. It reliably catches unsupported claims and missing sub-goals, and reliably misses errors it does not know are errors.
Checkpoint
Find a task where one strategy clearly beats the others, and say what made the difference.