Reflection and self-correction
Reflection is the capability to evaluate one's own output, identify errors, and generate corrections. In agents, reflection prevents error propagation: a mistake in step 3 of a 10 step task compounds if not caught. Reflexion and Self Refine are two established reflection patterns.