Skip to main content

Reflexion

Reflexion

  • Agents
  • Stage 3 · Going Deeper
  • refs checked 2026-11-19
What problem it solves

Let an agent write a post-mortem after failure, store the lesson in memory and avoid the same mistake next time.

What it is
After a failed attempt, the model writes a reflection over the trajectory and feedback. The reflection is stored in long-term memory and read back on the next attempt. No weights change; only the next prompt and strategy change.
Why it matters

Agents often repeat the same error. Reflection turns one failure into reusable experience instead of starting from zero.

Sources
  • Reflexion: Language Agents with Verbal Reinforcement Learning (arXiv 2303.11366) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →