Towards Data Science

Tail Control: The Counterintuitive Engineering of Reliable Agentic Workflows

Behind a customer's API, a high-quality answer isn't enough. It has to be usable, which means on time.

arXiv AI
Nov 16

Co-Sight Harness: Externalized Control Assets and Deterministic Enforcement for Long-Horizon Business Agents

The paper introduces the Co‑Sight Harness, a framework that externalizes workflow definitions, state, and domain knowledge into versioned control assets, leaving the language model unchanged. By enforcing these assets with a state machine and machine‑checkable acceptance gates, and having an independent auditor grade execution traces, the method improves reliability of long‑horizon business workflows. Evaluation on three deployed workflows shows significant gains: unattended completion rose from 50% to 100%, retrieval recall from 56% to 91.67%, and latency dropped from 440 to 159 minutes, with rapid team adoption in two additional domains.

By Luyao Wang, Xijun Zhu, Zhaohui Hao, Xiwen Zhang, Xingyu Wen, Weishan Li, Yuyang Liao, Yanqin Gao, Yongsheng Du, Lingjun Huang, Shaowei Zhao, Gang Li, Qifan Yu, Baoli Wang
arXiv AI
Oct 7

Catching Developers in the Flow: Low-Latency Agentic Program Repair at Google Scale

The paper introduces FlowAgent, an AI agent deployed at Google to automatically repair test failures in the pre-submit continuous integration workflow. FlowAgent uses a ReAct-style generate-and-validate loop with strict latency and quality filters, and was evaluated on 195 real-world failures with a 67.18% accuracy rate. After deployment, it suggested fixes on 295,508 changes, with developers previewing 65,069 and applying 28,554, and received positive feedback from interviews.

By Celal Ziftci, Spencer Greene, Ray Liu, Livio Dalloro, Lorenzo Dini
Towards Data Science
Aug 19

How to Scale an Integration Pipeline Without Breaking Correctness

The article describes a real‑world case of scaling an enterprise integration pipeline from 500 to 8,000 events per second. It emphasizes that during this throughput increase, two correctness guarantees were strictly maintained and never compromised. The post illustrates how to achieve high performance while preserving essential data integrity constraints.

By Yuelin Ou
arXiv AI
Oct 9

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

OnTrack introduces a real‑time, streaming monitoring system for large language model agents that compares each step and its dependencies against recorded successful runs, enabling rapid alerts or blocking in roughly a millisecond per step. The method is evaluated across three data‑access regimes—from full historical data to only step logs—and demonstrates improved failure detection over content‑similarity baselines, achieving a 0.057 AUROC gain. In practical tests on SWE‑bench trajectories, OnTrack’s abort policy prevented 18% of wasted compute, correctly interrupting 83% of runs that would have failed.

By Babak Barazandeh, Connor Swanson, Chinmay Kulkarni, Nikhil Mungel
Towards Data Science
Oct 25

Agentic AI in Production: Why Your Agent Keeps Answering After Its Tools Fail

The article discusses how an agent can continue to produce confident answers even when its tools fail, leading to a misleadingly positive dashboard display. It highlights the issue of agents generating responses from nothing after tool breakdowns, which can create a false sense of reliability. The piece serves as a cautionary note for developers deploying agentic AI systems.

By Benjamin Nweke
arXiv AI
Sep 12

Decoupling Readiness from Release for Tail-Aware Scheduling of Agentic LLM Workflows

The paper introduces a tail‑risk‑aware scheduling strategy for agentic LLM workflows that decouples readiness from immediate release of model turns. By jointly selecting which ready turn to release and controlling the amount of unfinished work kept in the queue, the method uses a mean‑CVaR objective to adapt to evolving tail risk and online turn‑work estimates. Experiments on real software‑engineering task traces show comparable performance to eager release under light load and a significant reduction in the 95th‑percentile workflow flow time, achieving up to a 3.5× speedup under contention.

By Bochao Feng, Jianjiang Li, Haojie Wang, Lin Qiao, Yinghui Li, Yukun Yan, Jidong Zhai