ReAct interleaves reasoning and acting: the model writes a thought, chooses an action (a tool call), receives an observation, and repeats, so each step is informed by real results.
Example: to answer an order-status question, it thinks "I need the order record", calls the order lookup tool, observes the shipping date, then answers.
It is simple and flexible, and works well for short sequential tasks, but it can wander, loop or lose the goal on long tasks, and each step costs a model call.
Loading…