# ReAct

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

## What is ReAct?

**In one sentence:** ReAct is a popular agent method where the model alternates between reasoning and acting.

The name comes from "Reason + Act." The model writes a thought, takes an action like a search, reads the result, then thinks again. This mix helps it stay grounded in real information.

![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 ReAct?

Thought: "I need the population of Japan." Action: search. Observation: "about 124 million." Thought: "Now I can answer."

## Why does ReAct matter?

ReAct is the basic pattern behind many modern agents.

## Related Concepts

- [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.
- [Reflection](https://getaimath.com/dictionary/reflection/): Reflection is when an AI looks back at its own work, finds problems and improves it.
- [Task Decomposition](https://getaimath.com/dictionary/task-decomposition/): Task decomposition is breaking a big task into smaller, easier sub-tasks.
- [Self-Correction](https://getaimath.com/dictionary/self-correction/): Self-correction is an AI noticing and fixing its own mistakes.
- [Agent State](https://getaimath.com/dictionary/agent-state/): Agent state is everything that describes where an agent is in its task right now: its goal, progress, data and pending steps.
- [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.

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