ReAct (Reason + Act) prompting alternates between thought steps and action steps. The model reasons about what to do, takes an action (e.g. API call, search), observes the result, reasons again, and repeats until the task is done. This is the foundational pattern behind LangChain agents, AutoGPT, and most tool-using LLM systems.
The 5-Mode Loop
5 of 5 modes available
Read · See · Animate · Test · Build
Before this, understand: chain of thought
Where this topic shows up outside its home domain: