Index

AI · Agent 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.

Board: The Loop →

On a narrow screen the three panels stack. The dial stays above them, and the table scrolls sideways.

try this Drag Passes before a person takes over from 1 to 20 and watch The bill keep climbing after 12.

Included with a plan

This lab is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

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