One turn through pi
architecture node:
User input:
Representation at this boundary
Source modules
Loop map
Inner loop — steps 3–6 repeat until the model stops emitting tool calls. Each tool result re-enters the model call at step 3.
Branch — when step 4 finds no tool calls, the turn settles: termination decision, then rendering.
Outer loop — a follow-up message or steering command re-enters at step 1; in-turn steering re-enters at step 3.