LESSON 23.01 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
The agent loop
Watch an agent book a train, one tool call at a time.
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.01 · AGENT BAY4 TOOLS · 4 DAYS · LIMIT 14 STEPS
01
Stage 1 of 6 · The parts
An agent is a model with instructions, tools and memory. The agent cannot see the environment table.
Explain it simply
The agent box holds a model, the part that decides what to do next. Its instructions ask for the cheapest train on a dry day, for 60 dollars or less. The environment is the world the agent works in, and its grey values are hidden. The agent can only learn them through the four tools.
Three panels. The agent holds instructions, a model, a state, a plan and a memory table. Four tools sit between it and the environment, a table of four days with weather, fare and seats.
instructionsmodel output: plan, actionsobservations, memoryrepeats, failed checks
Toy: 4 days, 4 tools, a rule-based model (not a trained LLM)
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
An agent joins a model, instructions, tools and memory.
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.