Self-Reflection (Reflexion)
ReAct + a critic step before returning the answer. Catches hallucinations, incomplete reasoning, and factual errors.
When Reflexion adds value
| SCENARIO | REFLEXION HELPS? | WHY |
|---|---|---|
| Complex multi-step reasoning | Yes | Critic catches logical errors the actor missed |
| Factual accuracy required | Yes | Critic can verify facts against tool results |
| Simple lookups | No | Overhead of critic step isn't worth it for single-tool queries |
| Creative writing | Depends | Useful for tone/quality checks, not for "correctness" |
| Time-sensitive queries | No | Reflexion adds 1-3 extra LLM calls = 5-15s additional latency |
Implementation with structured critique
Continue Reading
This topic continues with more in-depth content, code examples, and diagrams. Sign up free to unlock the full guide with all 87 sections.
Sign Up Free to UnlockFree access · No credit card required