AI engineering glossary · Prompt context engineering

What is reAct prompting?

ReAct prompting (also called Reason and Act): A pattern in which the model alternates between written reasoning ('Thought'), an action such as a search or tool call ('Action'), and the result it gets back ('Observation'), repeating until it can answer. It is the basis of many agent loops.

Level: advancedTopic: Prompt context engineering

ReAct prompting: an example

Thought: I need today's USD-INR rate. Action: search('USD to INR'). Observation: 83.2. Thought: now compute.

Related terms

More Prompt context engineering terms

Where you learn it

ReAct prompting is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.