Unverified60% 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.
2
Sources
60%
Confidence
Long-term
Relevance
9/24/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedThe termination logic of an Agent Loop is to loop until the model no longer initiates any tool calls.78% similarUnverifiedThe two signals that drive the Agent Loop come from the stop_reason field returned by the model: when stop_reason equals tool_use, the host executes the tool and continues the loop; otherwise, the loop exits.78% similarUnverifiedThe three common termination conditions for an agent loop are: the model gives a response that no longer calls any tool, the step limit is reached, or human approval is awaited.77% similarUnverifiedIn the Agent loop, the model is called each round; if the model returns a tool call request, the system executes it and returns the result; if the model gives an answer directly, the loop terminates, and the loop has a maximum number of rounds.76% similarUnverifiedThe control flow rule of the agent loop is: as long as the stop reason is still tool use, keep looping; when the stop reason becomes end turn, stop and return plain text.75% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/948057API
curl https://kongchang.com/api/v1/knowledge/claims/948057MCP
get_claim(id=948057)