Glossary

What is ReAct?

In Turkish: ReAct · Topic: Models and training

A method in which a language model interleaves reasoning with action: the model thinks, uses a tool, sees the result and plans its next step accordingly.

How does it work?

ReAct takes its name from the words reasoning and acting. The model first writes a thought, such as 'I should search to find this information.' Then it takes an action, for example sending a query to a search engine. The returned result is fed back to the model as an observation, and the model continues with a new thought. This loop repeats until an answer is found. That way the model can check facts against outside sources instead of relying only on what it memorized.

Why does it matter?

ReAct is considered one of the forerunners of how today's AI agents work. A model that can use a tool and update its plan after seeing the result makes fewer things up than one that answers in a single pass, and it can carry out multi-step tasks. The think, act, observe loop mentioned in agent news mostly builds on this idea.

Example

When asked 'How old is this company's founder?', a model first searches for the founder, then finds the birth year, and finally does the arithmetic to give the answer.

FAQ

What is the difference between ReAct and chain of thought?

In chain of thought, the model only reasons step by step inside itself. ReAct adds tool use to that reasoning, so the model takes in information from the outside world and changes its plan accordingly.

Is ReAct related to AI agents?

Yes. Many agent frameworks are built on this loop, where the model thinks, calls a tool, reads the result and continues.

All terms