Zenaique
Glossary · Tooling

Agent Loop

Also known as: Agent execution loop

The runtime: LLM call → tool call → observation → LLM call → … until a final answer or step cap.

The runtime pattern of an LLM agent: model output → parse for tool calls → execute → feed results back → repeat until the model produces a final answer or hits a step limit. ReAct, function calling, and MCP all instantiate this loop.

In practice

The implementation pattern for ALL agent frameworks. Interviews probe step caps, retry policy, and observability.

How it compares

The agent loop is the runtime pattern; agents are the systems that run it.

Related topics

Related terms