页面简介
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.