ReAct
An approach where the model alternately reasons and calls tools: Thought → Action → Observation.
What is it
ReAct is an abbreviation for Reasoning + Acting. The model works in a cycle:
- Thought — reasons what needs to be done;
- Action — calls a tool;
- Observation — receives the result;
- Repeats until an answer is reached.
Example
Thought: I need historical exchange rate data.
Action: Call the currency API.
Observation: Received a list of 30 values.
Thought: Need to calculate the average.
Action: Call the calculator.
Observation: Average is 89.4.
Final Answer: The average rate is 89.4 rubles.
Why it is important
ReAct transforms a regular chat into an autonomous agent that can act, not just talk.