Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain the structural difference between a pure chain-of-thought (CoT) trace and a ReAct trace. What does interleaving Thought → Action → Observation steps buy over a CoT trace that only reasons?
ReAct interleaves Thought, Action, and Observation, so each step reasons over a real tool result instead of a hallucinated continuation the way pure chain-of-thought does.
Imagine doing a long math word problem two ways. In the first way you sit in a quiet room and reason it out entirely in your head, never checking anything against the real world. If you misremember one number on line two, every line after it inherits that mistake and you never notice. In the second way, after each step you actually look something up, run a quick calculation, or check a fact, and then continue reasoning from what you really found. The second person stays anchored to reality. Chain-of-thought is the first person, reasoning in pure imagination. ReAct is the second person, thinking a little, acting to gather a real fact, looking at the result, then thinking again with that fact in hand.
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.
Start with the structural contrast: chain-of-thought is one autoregressive trace, ReAct is repeated Thought-Action-Observation triples with the Observation injected by the runtime. Then explain grounding and recovery, why interleaving beats plan then act, the hallucination drift failure of long pure reasoning, and the concrete cost of one LLM call per step.
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.
Describing ReAct as just chain of thought with tools bolted on. The point is interleaving, so each Thought reasons over a real Observation rather than a guessed one.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.