ReAct

Interleaves language-model problem-solving text with environment actions and observations.

Method

Prompt an action-observation loop; execute permitted tool calls, return observations, and stop on a final response or budget.

Applications

Interactive question answering, tool agents.

Advantages

Uses feedback from tools rather than generation alone.

Limitations

Incorrect actions and malicious tool content can propagate; textual traces need not be faithful explanations.

Alternatives

PAL, Toolformer, plan-and-execute agents.

Example

Search for a fact and use the returned evidence in the answer.

Editorial clarification

Reviewed against method-specific primary or specialist reference; guarantees are conditional.

Sources

Educational reference only, not professional advice.

All algorithms