Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

ReAct

Topic: AgentsAlso called Reason and Act

Definition

A prompting pattern where a model alternates between writing out its reasoning and taking an action, then reads the observation before the next step.

In more detail

ReAct, short for reasoning and acting, comes from a 2022 paper by Yao and colleagues. The model writes a thought, chooses an action such as a search, receives the result as an observation, and repeats until it can answer. Interleaving reasoning with real lookups reduced hallucination compared with reasoning alone.

Modern agents rarely use the original text format, because native tool calling and reasoning models do the same thing with structured messages. The idea survives as the basic agent loop: think, act, observe, repeat.

  • Agent loop

    The repeating cycle of model call, tool call, observation and next decision that drives an agent until the task is done or a limit is hit.

  • Chain-of-thought

    Having a model work through intermediate reasoning steps before it gives a final answer, either by prompting or by training.

  • Tool calling

    A model emitting a structured request to call a defined function, which your code runs and whose result is then fed back to the model.

  • Agent loop

    The repeating cycle of model call, tool call, observation and next decision that drives an agent until the task is done or a limit is hit.

    Glossary

  • What is an AI agent? A plain explanation

    An AI agent is a language model that uses tools in a loop until a task is done. What that means in practice, what agents are good at and where they go wrong.

    Article

  • AI agents

    Building systems where models plan and call tools in a loop to complete tasks.

    SkillIntermediate