RAG & Agents

Agent Loop

observe → decide (choose a tool) → act → observe result → repeat until a stop condition.

Why interviewers ask about it

Bound steps, tokens, wall-clock and cost, and detect repeated identical calls. If you can draw the flowchart, write the flowchart instead of using an agent.

This term is part of the free AI/ML Engineer interview preparation module - browse the full glossary for every definition.