ReAct

The original ReAct pattern A task enters from the left. Think, act, and observe form a clockwise loop, with an answer exiting to the right. The model reasons about the next step and requests an action, the program executes the tool, and the result returns to the model as an observation. The model can then continue the loop or answer. Thinking here refers to generated reasoning text, not direct access to the model's internal computation. Think Act Observe Task Answer