株式会社オブライト
AI Agent2026-05-17

Agent Loop

Also known as: Agent Loop / エージェントループ / 推論ループ

The cycle an AI agent repeats — reason, call a tool, receive results, re-reason — until a goal or stop condition is reached.


Overview

The loop: LLM generates a reasoning trace and tool-call JSON → host executes → result appended to context → LLM re-reasons. Repeats until done or a budget is exhausted.

Loop depth, token budgets, and error handling directly determine agent reliability. Claude Code's Hooks let developers inject logic at each iteration boundary.

Related Columns

Related Terms

Feel free to contact us

Contact Us