Order the four phases of a single iteration of a ReAct (Reason + Act) loop in the correct sequence.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
One ReAct iteration runs Thought, then Action, then Tool execution by the orchestrator, then Observation appended back to context for the next iteration.
Picture a detective at a desk. First they think out loud about what they need to know next. Then they hand a note across the desk asking for a specific file. An assistant walks off, fetches the file, and brings it back. The detective glances at what the assistant returned, then thinks again. That cycle (think, ask, fetch, look) is one round of detective work. A ReAct agent does the same four moves in the same order. The model is the detective, the orchestrator is the assistant, the tool call is the note, and the observation is the file coming back.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: the four-phase order + who owns each phase + termination logic + how modern runtimes (LangGraph, OpenAI Assistants, Claude tool-use) implement it + common loop-failure modes.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Putting Action before Thought, or believing the model itself runs the tool instead of just emitting a request the orchestrator interprets and executes.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.