翻篇收录说明
翻篇网页快照

Agent loop: meaning and definition - TODO for AI

https://todofor.ai/blog/glossary/agent-loop

最近抓取:2026-12-04 02:27:56(北京时间)

最近内容变化:2026-11-30 22:45:08(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

The observe → think → act cycle an AI agent repeats, calling tools and reading results, until the goal is met or it stops.

正文摘录

AI Agent Glossary Agent loop The observe → think → act cycle an AI agent repeats, calling tools and reading results, until the goal is met or it stops. The agent loop is the core control structure: (1) the model receives the current context (goal, history, latest observation), (2) produces reasoning and/or an action, (3) the runtime executes the action and appends the result, (4) repeat until the model emits a final answer or a step/cost limit is hit. Almost every agent framework — ReAct, SWE-agent, Claude Code, OpenAI's Agents SDK — is a variation on this loop with different prompting, memory and termination rules. Loop length and per-step reliability together determine end-to-end success (see pass^k). Source: ReAct: Synergizing Reasoning and Acting in Language Models — Yao et al., 2022 (arXiv:2210.03629) Agent loop in our posts AI assistant that can control your computer: five that do it, and what each one can reachTerminal-Bench 2.1 at 91.0% with Opus 5.5: how the number was produced See the numbers behind this term: AI Agent Statistics 2026.