LESSON 23.02 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
ReAct
Watch an agent think, call a tool and read the result, step by step.
Needs23.01 The agent loop
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 23.02 · AGENT BAYTASK + 4 TOOLS · 79 TOKENS
01
Stage 1 of 6 · Task and tools
The agent gets a task and 4 tools. Only a tool call can read real prices.
Explain it simply
At the top you see the task: three cities, two nights in each, and a budget. Below it are the four tools the agent can call. The agent can't see a single price yet. To learn one, it has to ask a tool, like a traveller who phones a travel desk.
The task asks for a trip from Lisbon to Paris, Rome and Berlin, under 1,200 euros. Four tools: flights, hotels, weather and calculator.
The model is a fixed rule policy, not a trained language model.
task, observationstoolsproblemsactions, answer
Toy: the 23.C1 trip, 3 cities and 4 tools, 10 steps at most
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The first context holds the task and the tool list.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.