Reflexion

Improves repeated agent attempts using feedback stored as verbal episodic memory.

Method

Run an actor, evaluate its attempt, generate task-specific reflections and condition later trials on that memory without updating actor weights.

Applications

Code repair and iterative agent tasks.

Advantages

Reuses experience without gradient updates.

Limitations

Requires informative feedback; self-critique may be wrong and does not ensure improvement.

Alternatives

Self-Refine, supervised fine-tuning, search.

Example

Store a lesson from a failed unit test before retrying.

Editorial clarification

Reflexion is a specific feedback-and-memory framework, not every form of self-reflection.

Sources

Educational reference only, not professional advice.

All algorithms