AI TutorialLearn AI, visually

Module 02Agents

The Agent Loop

A model, some tools and a loop: how a chatbot becomes something that gets work done.

Beginner9 min
SAFETYScene 7 of 8

Every loop needs a way out

Loop steps8
Tool calls7
Spend$0.49
Support leadLLMAgentruns the loopweb_searchLimitsmax 8 steps · $0.50orders_apidraft_emailstopped at 8 steps
promptreplytool calltool result
drag to rotate · shift-drag to pan · scroll to zoom · double-click to reset
Scene 7 of 8 · Limits