What is an agent loop?
Practice this question- The model proposes a step, the application validates and executes a permitted action, and the result becomes an observation.
- The loop repeats only while task progress and step/time/token limits allow it.
Adapted from 13_AI.MD · “29.8 AI agents”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.