Reflection
What is Reflection?
In one sentence: Reflection is when an AI looks back at its own work, finds problems and improves it.
After a first attempt, the model reviews the result, maybe with tests or feedback, and tries again. Like proofreading your essay, it often catches mistakes.
What does Reflection look like?
An agent writing code, running it, seeing an error, and reflecting on what went wrong before fixing it.
Why does Reflection matter?
Reflection makes agents more accurate without changing the model.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/reflection/">Reflection, explained simply</a> (The AI Math Dictionary)