Why it matters
ReAct is baseline agent pattern. Understanding shapes agent design.
Advertisement
The architecture
Prompt: encourages thought + tool calls.
Loop: thought → tool → observation.
Terminate: on final answer.
Advertisement
How it works end to end
Prompt structure: examples of thought + action + observation.
Parse actions from LLM output.
Execute tool + feed observation.