Glossary · Term

Reflexion

← all terms

Definition

Plain language

A pattern where an AI agent reviews its own failures and writes notes to itself to do better next time.

As stated in the literature

An agentic technique in which the agent generates self-critique of failed trajectories and stores the reflections in memory to improve subsequent attempts.

Also called: Reflexion-style

Why it matters: It turns a single failed run into useful guidance for future tries, letting agents improve across attempts without any weight updates.

For example, after failing to debug a function, the agent writes itself a note saying "check imports before assuming the function signature is wrong" and uses it on the next attempt.

Heard on the show

“There's a close cousin worth naming — Reflexion.”
Episode 186 — How a Frozen Model Went From 2% to 77% on Physics Puzzles — Without Retraining

Mentioned in 4 episodes

  1. 186
    How a Frozen Model Went From 2% to 77% on Physics Puzzles — Without Retraining
  2. 170
    When a One-Liner Beats Your Agent's Clever Verification Logic
  3. 078
    Training a Markdown File: When LLM Self-Improvement Borrows the Discipline of Neural Net Training
  4. 030
    Why Your AI Agent Won't Stop Working — and Each Model Falls for a Different Trap

Related terms