LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

ReAct Pattern

ReAct (Reasoning + Acting) is a prompting pattern that interleaves reasoning steps ("Thought") with tool actions ("Action") and tool results ("Observation"), letting an LLM iteratively decompose a task, query the world, and self-correct.

Full definition

Introduced by Yao et al. (Princeton/Google, 2022), ReAct outperformed both chain-of-thought-only and act-only baselines on knowledge-intensive and decision-making tasks. The pattern is now the canonical agent loop in LangChain, LlamaIndex, and most agent frameworks. Modern function-calling LLMs implement ReAct natively in their tool-use training.

Why it matters

ReAct is the simplest pattern that turns a chat LLM into an agent. Understanding it is prerequisite to designing reliable agentic workflows โ€” including knowing when ReAct's chattiness is excessive overhead and a planner-executor split would be cheaper.

Example

Thought: "I need yesterday's closing price." Action: get_stock_price("AAPL", "2026-05-01"). Observation: 224.18. Thought: "Now I can compute the daily change."

Source & further reading

Primary source: Yao et al. โ€” "ReAct: Synergizing Reasoning and Acting in Language Models" (ICLR) (2023).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/ko/glossary/react-pattern/.