AI GLOSSARY
How Claude Code's Agent Loop Works
Claude Code is a tool-using workflow runtime around a model, not just an autocomplete surface.
Simple explanation
Claude Code operates through an agent loop: it reads context, chooses actions such as file reads or commands, observes results, updates its working state, and continues until the task is complete or needs user input.
Technical explanation
Claude Code operates through an agent loop: it reads context, chooses actions such as file reads or commands, observes results, updates its working state, and continues until the task is complete or needs user input.
Example
Trace how Goal becomes Verified result through tool loop.