Log inStart free
LESSON 23.05 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Reflection and critic loops

Watch a critic check a trip plan, and the agent fix it, round by round.


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/mo
EXPLAINER · 23.05 · AGENT BAYDRAFT €740 · 0 TOOL CALLS
01
Stage 1 of 6 · The draft
The agent writes a draft from the fares it knows. It calls no tool and claims €740.
Explain it simply

At the top is the task: three cities, two nights in each, and a budget. Below it, the agent writes a first plan from the fares it remembers. It calls no tool, and it says the trip costs 740 euros. Look at the hotel line: it counts one night, not two.

The draft: Lisbon, Paris, Rome, Berlin, Lisbon. Flights 440 euros, hotels 1 night, 300 euros. Total 740 euros.

The agent and the critic are fixed rule policies, not trained language models.
task, real worldtoolsproblemsplans, answer
Task: LIS → PAR, ROM, BER → LIS · 2 nights in each city · spend under €1,200DraftLIS→PAR→ROM→BER→LISFlights €44090 + 100 + 110 + 140Hotels 1 night × €300Lumen · Sole · SpreeTotal €740Task: LIS → PAR, ROM, BER → LIS · 2 nights in each city · spend under €1,200DraftLIS→PAR→ROM→BER→LISFlights €44090 + 100 + 110 + 140Hotels 1 night × €300Lumen · Sole · SpreeTotal €740
Toy: the 23.C1 trip, 3 cities and 4 tools, 3 critiques at most
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
T0=F+n⋅H\sy{total}{out}{T_0} = \sy{f}{data}{F} + \sy{n}{param}{n}\cdot\sy{h}{data}{H}
T0=440+1⋅300=740T_0 = 440 + 1\cdot 300 = 740

The total adds the flights and n nights in each hotel.

Common mix-ups

MYTHA model that checks its own work catches its mistakes.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If PAR→ROM is sold out, does a plan checked by reflection pass the real check?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

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.