Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

AIAgent loops: max iterations and escalation

The loop cap

The returns desk's loop keeps asking the model until it answers. How many passes should it allow before it gives up and hands the customer to a person?

A hundred customer messages reach the returns desk's agent loop, and each needs a set number of passes before the model answers. Four never will. The panels show how many the loop answers, the day's bill at a million conversations, and the worst single conversation's cost. Raise the cap and more finish, while the stuck loops cost more.

Included with a plan

This lab is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

the lesson The Loop (an agent is a while loop around one model call)
The whole idea this lab came from, told start to finish.

on the path Module 5 of 9 in AI: The loop and its harness
The lessons, boards and videos around this lab, in reading order.

Board: The Loop

see also ReAct: Synergizing Reasoning and Acting in Language Models in Papers.