Skip to the document
Madhuopen lab
Outcome School · AI agents18 min read

by Amit Shekhar · 30 April 2026

ReAct Agent

The ReAct Agent - what it is, how it is built, its anatomy, how it thinks and acts, and how to handle its common failure modes.

3,484 words#ai-agent#llm#ai#machine-learning4 recall cards

ReAct Agent
Read on Outcome School ↗then come back to lock it in
Before you read, guess

What are the five essential components of a ReAct Agent, without which it ceases to exist?

Ten seconds, a guess, then read — a wrong guess still makes the answer stick.

What this article covers

  1. What is a ReAct Agent
  2. ReAct Agent vs AI Agent
  3. Anatomy of a ReAct Agent
  4. The ReAct Prompt Template
  5. How a ReAct Agent Thinks and Acts
  6. A Full Trace Example
  7. Implementing a ReAct Agent
  8. Common Failure Modes and How to Fix Them

The article lives on outcomeschool.com. Read it there, then come back: the tutor in the margin has read it and will answer questions, and the questions below check what stayed.

Before you go

In one sentence, what was this chapter about?

From memory, without scrolling up. Writing it is what makes it yours; the grade is only to show you what you had.

How sure?