← Glossary
Agentic AI concepts

Reflection Agent

An AI agent that critiques its own prior outputs, identifies errors or gaps, and generates improved responses by iterating over self-evaluation feedback before producing a final answer.

Reflection agents implement a generate-critique-refine loop. After producing an initial response or plan, the agent (or a separate critic model) evaluates it against explicit criteria—correctness, completeness, style, safety—then writes a critique. The original agent uses this critique as additional context to produce a revised response.

Studies on models like GPT-4 and Claude Sonnet 4.6 show that one or two reflection rounds significantly reduce factual errors and logical inconsistencies. Diminishing returns set in quickly, so production systems cap reflection at two or three iterations to control latency and cost.

Reflection can be self-reflection (same model) or cross-reflection (separate judge model). Cross-reflection with a stronger judge—for example using Opus 4.7 to critique a Sonnet 4.6 draft—tends to surface more diverse failure modes but roughly doubles inference cost per iteration.

## Related Terms

- [[glossary/self-consistency|Self-Consistency]] — the technique of sampling multiple reasoning paths and taking the majority answer - [[glossary/chain-of-thought|Chain of Thought]] — the prompting technique that asks the model to reason step-by-step before answering - [[glossary/agent-evaluation|Agent Evaluation]] — the structured process for measuring how well an agent meets its goals - [[glossary/agent-loop|Agent Loop]] — the iterative perceive-act-observe cycle the harness executes - [[courses/claude-agent-sdk-zero-to-production|Course: Claude Agent SDK — Zero to Production]] — hands-on practice with the concepts covered in this entry

Related terms
Self-ConsistencyChain of ThoughtAgent EvaluationAgent LoopPlanning Agent