Unverified50% confidenceFactExact time
Anthropic describes the client-side loop as a while loop based on stop reason: if the stop reason is tool_use, execute the tool and continue; exit upon encountering any other stop reason.
1
Sources
50%
Confidence
Long-term
Relevance
10/9/2026
First Seen
Sources
Related Entities
Related Claims
Unverified驱动Agent Loop循环的两个信号来自模型返回的stop_reason字段:当stop_reason等于tool_use时宿主执行工具并继续循环,否则循环退出73% similarUnverifiedLoop Assist's stopping behavior can be audited and intervened upon; the system provides a clear reason for stopping, and the user can override it or demand continued iteration.72% similarUnverifiedAnthropic officially defines a Loop as an Agent that repeatedly executes a cycle until a stop condition is triggered.71% similarUnverifiedstop_reason is a field in the Anthropic Claude API response, with common values including end_turn, max_tokens, and tool_use.70% similarUnverifiedThe 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.69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/991580API
curl https://kongchang.com/api/v1/knowledge/claims/991580MCP
get_claim(id=991580)