# What is ReAct loop? Definition and meaning

An agent pattern in which the model writes a thought, takes an action with a tool, observes the result and repeats.

## Definition

**ReAct loop**: An agent pattern in which the model writes a thought, takes an action with a tool, observes the result and repeats.

In short: Alternating reasoning and acting.

## When it is used

The basic loop behind most tool-using agents.

## Where it fits

ReAct loop belongs to **Patterns** in the [Agentic AI](/topics/agentic-ai) topic. These are the other terms in the same group:

- **[Plan-and-execute](/glossary/plan-and-execute)**: A pattern where one step produces a plan and later steps execute and revise it.
- **[Reflection](/glossary/reflection)**: A pattern where the model reviews its output, finds mistakes and revises it before finishing.
- **[Tree-of-thoughts](/glossary/tree-of-thoughts)**: A search over multiple partial reasoning paths with evaluation and backtracking.
- **[Orchestrator-workers](/glossary/orchestrator-workers)**: One model breaks down a task dynamically and hands subtasks to workers, then combines their results.
- **[Multi-agent systems](/glossary/multi-agent-systems)**: A design in which specialized agents with separate contexts divide work and exchange results.
- **[Human-in-the-loop](/glossary/human-in-the-loop)**: Places human review at defined points of an automated workflow, especially before consequential actions.
- **[LLM-as-judge](/glossary/llm-as-judge)**: A model scores or compares responses against a rubric.
- **[Guardrails](/glossary/guardrails)**: Checks on inputs, outputs and actions that block unsafe, off-topic or malformed behaviour.

## Learn more

The full guide to **[ReAct loop](/tools/react-loop)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Ray Tune](/glossary/ray-tune) · Next term: [Real-time systems](/glossary/real-time-systems)
