+−⟲ User Loop agent Task A Subagent Task B Subagent Task C Subagent Prompt Send response If the exit condition isn't satisfied,then the loop continues If the exit condition is satisfied,then the output is sent to the main agent,and the loop ends ✕ ✓