# Reflection

- **Canonical URL:** https://getaimath.com/dictionary/reflection/
- **Topics:** [AI Agents & Agentic AI](https://getaimath.com/dictionary/category/ai-agents-and-agentic-ai/)
- **Last updated:** 2026-11-25

## What is Reflection?

**In one sentence:** Reflection is when an AI looks back at its own work, finds problems and improves it.

After a first attempt, the model reviews the result, maybe with tests or feedback, and tries again. Like proofreading your essay, it often catches mistakes.

![Chatbot vs. AI Agent: Giving Advice vs. Doing the Chore — Simple cartoon comparing a Chatbot (gives you a recipe and stops) with an AI Agent (plans steps, uses tools like your calendar and browser, checks if it worked, and finishes the job).](https://getaimath.com/diagrams/ai-agents-and-agentic-ai.png)
*Napkin Diagram (AI Agents & Agentic AI): A regular chatbot just talks back; an AI agent has hands (tools) and loops until the chore is actually finished.*

## What is an example of Reflection?

An agent writing code, running it, seeing an error, and reflecting on what went wrong before fixing it.

## Why does Reflection matter?

Reflection makes agents more accurate without changing the model.

## Related Concepts

- [ReAct](https://getaimath.com/dictionary/react/): ReAct is a popular agent method where the model alternates between reasoning and acting.
- [Self-Correction](https://getaimath.com/dictionary/self-correction/): Self-correction is an AI noticing and fixing its own mistakes.
- [Goal Planning](https://getaimath.com/dictionary/goal-planning/): Goal planning is turning a high-level goal into a concrete plan of actions an agent can follow.
- [Planning Agent](https://getaimath.com/dictionary/planning-agent/): A planning agent is an agent whose main job is to create and update a plan for other agents or steps to follow.
- [Task Decomposition](https://getaimath.com/dictionary/task-decomposition/): Task decomposition is breaking a big task into smaller, easier sub-tasks.
- [Execution Agent](https://getaimath.com/dictionary/execution-agent/): An execution agent is an agent that carries out specific tasks, often following a plan made by another agent.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/reflection/)
