[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4
SEQ. 5
ReAct: Reason + Act
The ReAct Pattern
ReAct (Reasoning + Acting) is the foundational pattern for modern AI agents. Instead of just answering a question, the model emits a "Thought", then an "Action". The system runs the action and returns an "Observation".
Thought: I need to find the current price of AAPL. I will use the search_finance tool. Action: search_finance(ticker="AAPL") Observation: $195.50 Thought: Now I have the price. I can answer the user. Answer: The current price of AAPL is $195.50.
💡 Key Insight: ReAct works because forcing the model to write out its "Thought" (Chain-of-Thought) before predicting the "Action" drastically reduces errors and hallucinated tool calls.
SYNAPSE VERIFICATION
QUERY 1 // 1
In the ReAct pattern, what is the sequence of steps?
Act → Observe → Reason
Reason → Act → Observe
Observe → Answer → Quit
Think → Code → Test