Skip to content
← Back to Diagrams

Agent Turn Loop

Context System prompt, history, tool results, rules Model Produces response from context Response Text, tool calls, or both Runtime Executes tool calls, collects results if tool calls results become new context