# ReAct

Canonical page: https://www.theglitch.ai/ai-glossary/react-pattern

An agent pattern that alternates between thinking about what to do and taking an action, then reading the result.

[ReAct, common card \#185 in The Glitch AI glossary: An agent pattern that alternates between thinking about what to do and taking an action, then reading the result.](https://www.theglitch.ai/images/cards/glossary/react-pattern.png?v=d2adc7171dd2771a)

GLS 185 · common

Also called: Reason and act.

For: Builders

## Why it matters

It is the basic loop inside most tool-using agents.

## In practice

Think: I need the price. Act: search. Observe: $40. Think: now compare.

## Watch for

Loops can run forever; set a step limit.

## Related terms

[Agent](https://www.theglitch.ai/ai-glossary/agent) · [Tool calling](https://www.theglitch.ai/ai-glossary/tool-calling) · [Agent planning](https://www.theglitch.ai/ai-glossary/agent-planning)

## Sources

- [Yao et al. (2022): ReAct](https://arxiv.org/abs/2210.03629)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
