Glossary term
Glossary term
Architecture
Reasoning-and-acting pattern that interleaves thought, action, and observation.
Yao et al.'s original ReAct benchmark showed GPT-4 solving HotpotQA questions with 67% accuracy by alternating 'Thought: I need to search for X', 'Action: search(X)', 'Observation: result' steps.
LangChain's ReAct agent is used in enterprise knowledge-management deployments to answer questions about internal policies by searching Confluence, reading the result, and reasoning about relevance.
A financial research agent uses ReAct to answer 'What was Tesla's gross margin in Q1 2024?': Thought → search earnings, Action → call search tool, Observation → read table, Thought → extract number, final Answer.