Unverified50% confidenceFactExact time
The termination condition of an agentic loop typically falls into one of two categories: the model returns a plain-text response (stop_reason is end_turn), or the preset maximum number of iterations is reached.
1
Sources
50%
Confidence
Long-term
Relevance
9/24/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedCommon termination strategies for Agent Loop include three layers: semantic termination (such as detecting the Final Answer marker), an iteration limit (max_iterations typically defaults to 10–15), and timeout protection (the timeout parameter).79% similarUnverified驱动Agent Loop循环的两个信号来自模型返回的stop_reason字段:当stop_reason等于tool_use时宿主执行工具并继续循环,否则循环退出78% similarUnverifiedAgent Loop的终止条件通常是LLM不再产生工具调用请求,或达到最大步骤限制(max_iterations)74% similarUnverifiedstop_reason是Anthropic Claude API响应中的一个字段,常见值包括end_turn、max_tokens、tool_use71% similarUnverifiedAnthropic officially defines a Loop as an Agent that repeatedly executes a cycle until a stop condition is triggered.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/948057API
curl https://kongchang.com/api/v1/knowledge/claims/948057MCP
get_claim(id=948057)