Skip to content
Road to Intelligence

Concept · Chapter 13: Agents

Agent Reflection

Should knowUnderstand7 minDifficulty

Reflection turns feedback from an attempt into a proposed lesson for subsequent attempts.

The problem

An agent may repeat the same unsuccessful strategy.

The solution

Record what failed and why, then make that information available for a revised attempt.

The consequence

Reflection helps only when its feedback and diagnosis are useful.

Feedback before a lesson

In the cart lab, returning zero passes the empty-input case and fails ordinary carts. A useful reflection identifies overfitting to the reported example and calls for preserving the broader contract.

Reflexion stores linguistic feedback for later trials rather than changing model weights. This differs from optimizing a policy through gradient updates.

A critic is not a verifier

A reviewer can make the same mistake as the author. A test supplies an independently executable check, although its coverage can still be incomplete. Asking for repeated self-critique does not automatically add new information.

The effectiveness of reflection depends on the model, task, feedback and cost budget. Active research Evaluate an otherwise identical system with and without the reflection step, and inspect the failures. A longer explanation is not an outcome metric.

What to remember

  • Reflection turns feedback from an attempt into a proposed lesson for subsequent attempts.
  • Record what failed and why, then make that information available for a revised attempt.
  • Reflection helps only when its feedback and diagnosis are useful.

Key papers

Important

Reflexion: Language Agents with Verbal Reinforcement Learning

Noah Shinn et al. · 2023

Uses feedback and stored reflection to influence later trials without weight updates.

How to read it: Inspect the feedback sources and ablations, not just the final success rate.

~35 min readarXiv:2303.11366✓ verified 2026-10-05