ReAct (Reason and Act)(ReAct)

AI

AI

ReAct (Reason and Act) is an approach in which an AI agent alternates between reasoning about the next step, taking an action with a tool and checking the result, until the task is done.

The approach comes from the research paper "ReAct: Synergizing Reasoning and Acting in Language Models" (Yao et al., 2022). A language model writes a thought, picks an action such as a search or a system lookup, and receives an observation back.

That loop of thinking, doing and checking repeats. This lets an agent look information up instead of guessing, and adjust its plan when something turns out differently.

Tip

Not to be confused with React, the JavaScript library for websites. And only give an agent the tools and permissions it really needs.

Our page on this

Related terms

← All terms