Reflection is when an agent pauses to evaluate its own output before moving on. Did the code compile? Does the answer actually address the question? Self-correction loops improve reliability significantly, though they add latency and cost.

Reflection is what makes agents reliable enough for production. Without it, agents confidently produce wrong answers. With it, they catch their own mistakes before shipping them.

Key Ideas