The ReAct Pattern

4 min
Audience
ages 10–15
Time
20 to 30 min
Module
2/5
Badge to earn
Thinking-Out-Loud Detective

Today's mission

By the end of this lesson, you will be able to describe the Thought → Action → Observation cycle of the ReAct pattern and explain why making an agent's reasoning visible helps humans trust and supervise it.

The idea in one picture

A good detective doesn't solve the case silently inside their head and then announce the culprit. They think out loud: "This footprint suggests someone tall… let me check the door for scratches… yes, there they are… so they must have used a tool." Notice the rhythm: a thought, then an action to gather evidence, then a look at what was found, then a new thought. Reasoning and evidence-gathering take turns. That is exactly how a ReAct agent works, and it's why you can follow along and say, "Wait, that clue doesn't mean what you think it means!"

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Reasoning, planning, remembering” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one