ReAct Prompting Guide: Reasoning Plus Acting for AI Agents (2026)

How the ReAct pattern works — interleaved reasoning, action, and observation. When ReAct beats chain-of-thought or pure tool use, and how to prompt for it.