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
LOOPScene 3 of 8

Think: the model picks a next step

Loop steps1
Tool calls0
Spend$0.01
Support leadLLMAgentruns the loopweb_searchLimitsmax 8 steps · $0.50orders_apidraft_email
promptreplytool calltool result
drag to rotate · shift-drag to pan · scroll to zoom · double-click to reset
Scene 3 of 8 · Think