ReAct: Think, Then Act
Before agents could act, they first had to be taught to think out loud.
The idea behind modern AI agents was crystallised in a 2022 paper called ReAct. Its trick was simple but powerful: instead of answering in one shot, the model interleaves reasoning steps ("thoughts") with actions, like searching or calling a tool, and then reads the result before deciding what to do next. This loop of think → act → observe → repeat is exactly what turns a chatbot into an agent. Almost every agent framework that followed is, at heart, a ReAct loop wrapped in nicer code.
The rest of this branch is in the app
Way of the Agent teaches AI agent engineering level by level - and the AI Chronicles open as you go: every branch continues where this story ends.
Start learning free →