← Agent Planning & Reasoning
Reflection
Reflection is a deliberate self-evaluation step in which an agent reviews its own outputs, reasoning traces, or past actions and identifies mistakes, gaps, or improvements. A reflecting agent generates a critique of what went wrong and uses that critique to revise its plan or output. Reflection can be triggered automatically after each step or reserved for situations where the agent detects low confidence or task failure.