Skip to Main Content
Reliabilitype-citation-121P2

Self-reflection prompts enable agents to learn from their own failures.

Reflexion improved HumanEval coding…Reflexion improved HumanEval coding benchmark pass@1 from 80.1% to 91.0% by prompting the model to reflect on test failures and retry — without any weight updates.

Context & Methodology

Reflexion stores verbal 'lessons learned' in a memory buffer, allowing the agent to avoid repeating mistakes across attempts.

Applies To

openaianthropicgoogle

Confidence Level

High

Implementation Effort

high

Recommendation

test

Execution Priority

P2

Put This Evidence to Work

Use the STCO framework to implement findings like this in structured, testable prompts.

3 well-crafted few-shot examples (150 tokens) outperform a 600-token verbose instruction block, saving 75% on input cost.Brown et al., 'Language Models are Few-Shot Learne…