Technique

ReAct

Reasoning and Acting Framework

/ree-akt/

A paradigm that allows language models to alternate between performing reasoning thoughts and executing external actions or tool calls.

In plain English
ReAct lets an AI think and act like a human researcher. It writes a thought ('I need to check the weather'), executes an action (calls a weather API), observes the result, and uses that new information to decide its next step.
Real-world example
An AI travel agent reasoning about flight options, querying an airline database API, and booking tickets.
Technical definition
ReAct (Reasoning and Acting) is an agentic framework that interleaves reasoning traces (Thought) with task-specific API calls or database lookups (Action). By structuring execution loops into Thought-Action-Observation cycles, the model dynamically updates its context and plans. This bridges the gap between static text generation and interactive problem-solving agents.