OMP Pipeline — Outer Queue and Inner Loop

An inner provider-tool loop runs on one snapshot; late input joins only at a safe yield boundary

01 / Outer Input Queue 02 / Inner Agent Loop 03 / Shared Host — Model 04 / Shared Host — Tools 05 / Safe Yield Boundary 06 / Durable Result Queue + snapshot Provider-tool loop Yield or continue Accepted Input member message Outer Queue ordered pending input Start Inner Turn fixed snapshot + context Provider Call stream response Ordered Tool Batch authorize each call Continue Inner Loop tool result or final answer Yield Poll late input check safe boundary Settle Run journal + result durable drain + snapshot one request Legend User UI Agent logic Policy Tool action Context / trace

OMP Control

  • • Outer loop owns pending input
  • • Inner loop owns provider and tool iteration
  • • Late input joins only at a safe yield boundary

Best-Fit Tasks

  • • Exploratory diagnosis and research
  • • Tool-heavy work that needs a coherent inner loop
  • • Late steering without breaking in-flight effects

Shared Protection

  • • Host pins one snapshot per inner turn
  • • Python owns authority, checkpoints, journal, and settlement