05 · Getting Models to Act

ReAct

Reasoning + Acting

A pattern where the model alternates between reasoning and taking actions (searching, calling a tool), using each result to inform the next step. A foundational idea behind AI agents.

Concrete example

Think → search the web → read the result → think again → answer: that loop is ReAct.

Why it matters

The basic skeleton underneath most agents.