Feedgarden

Browse

OnTrack: Real-Time Monitoring and Intervention in LLM Agent Trajectories via Streaming Structure-Aware Optimal Transport

https://arxiv.org/abs/2610.12375v1

LLM agents are increasingly deployed in domains such as trip planning, stock trading and IT incident triage, and most run autonomously with little rule-based safeguarding, so irreversible actions can burn cost or cause harm. Existing fixes either add a monitor agent at every step, which raises cost and latency, or evaluate logs after the run, when tokens are already spent and damage done.

The paper proposes OnTrack, a streaming monitoring mechanism that compares an agent's steps and dependencies against recorded successful runs, letting it alert users or block the agent at roughly a millisecond per step. The authors study three regimes of decreasing access: full reference access (historical runs plus tool schemas), intermediate access (tool schemas only), and no prior knowledge (only step logs as generated). They expect monitoring capability to decline as access drops, from detecting plan violations down to identifying loops, stalls and repeated tool calls.

OnTrack is evaluated on SWE-bench trajectories. Using only the first 8 steps, it ranks failing trajectories below succeeding ones better than content-similarity approaches, with a +0.057 AUROC gain. Paired with an abort policy, it saves about 18% of the compute that would be spent on failing runs, and 83% of interrupted runs were genuinely heading to failure (5 of 6 aborts were correct).

Search this site

The index loads when search opens.

    Image