What is it?
Reflection (and Reflexion)
Reflection is an agent pattern where the model critiques its own output and uses that critique to improve on the next try. Reflexion is a specific well-known method where the agent writes a verbal "what went wrong and why" note after a failure and stores it to do better next time. Reflection is one of the core building blocks of agentic behavior.
From the AI agent glossary
Where Reflection is explained
- The Building Blocks of Agentic IntelligenceAgentic RAG · The four core agentic patterns
- The Agent Loop PatternArchitecture and System Design · Variants of the loop
- Why Memory Matters, and the Write-Manage-Read LoopAgentic Memory · The write-manage-read loop
- How Memory Is Built and RetrievedAgentic Memory · Five families of memory mechanisms
- How Memory FailsAgentic Memory · Drift: knowledge slowly deviating from the truth