execution
CANDID: Candidate-Driven Intervention for Disciplined Execution in Local Computer-Use Agents
Abstractory retrieval (Liu et al., 2025), and test-time scaling (Yang et al., 2025) strategies to improve execuWe present CANDID (Candidate-Driven In-tion robustness and task success rates. Yet such frequently fail at critical junctions due to rigiddeployment remains highly challenging: unlike action loops or premature DONE decisions. We introduce a loop-recovery 2026), local CUAs operate with limited model mechanism to filter candidates away from resizes and weaker multimodal reasoning. Under peated behaviors and a conservative, unani-these conditions, simply increasing execution mous DONE gating policy that requires abso-horizons or enlarging multimodal histories often lute consensus to terminate. Experiments onfails to reliably improve performance. The central OSWorld demonstrate that CANDID's strucobstacle is that local agents fail in two coupled tural control significantly improves success ways: they fall into repetitive action loops, orrates, outperforming feedback-based alternatives with minimal execution overhead. Moreover, naively scaling the step budget or 1 Introductioncontextual history merely shifts the failure pattern between the two, rather than resolving both. Computer-use agents (CUAs) have recently emerged as a promising paradigm for autonomous Prior methods for recovering failed agent trajectories primarily rely on textual reflection or verifier interaction with graphical user interfaces (GUIs), feedback (Shinn et al., 2023; Han et al., 2026), enabling multimodal agents to execute real-worldwhere the agent inspects its own recent trajectory, desktop and web tasks by understanding screenshots and executing GUI actions. Recent advances generates natural-language feedback, and incorporates it before revising its next action. These limitations prevent ingly realistic environments (Xie et al., 2024; Zhou et al., 2024; Bonatti et al., 2024; Deng et al., 2023). This suggests that the bottleneck lies not in the availability of good candidates, but in committing to one when progress or completion is uncertain. We therefore propose CANDID, a candidate-based control framework that treats candidate disagreement as an execution-control signal, rather than asking the model to reflect on its own failure.
BreakFun: Jailbreaking LLMs via Object Instantiation under Simulated Code Execution
Oskooei, Amirkia Rafiei, Aktas, Mehmet S.
Large Language Models (LLMs) are widely used because they process structures, syntax and code well, but this same ability also makes them paradoxically vulnerable. We introduce BreakFun, a jailbreak method that frames a harmful request as code-execution simulation. The prompt gives the model a benign Python class definition, the "Trojan Schema", and asks what that code would print if it ran. To answer, the model must create an object from the class and invent a value for each field, and the adversarial field names steer those values toward the attacker's goal. The harmful content therefore appears as a side-effect of the simulated instantiation, not as a direct answer. A three-part prompt carries the attack: an innocent frame, the Trojan Schema, and a Chain-of-Thought distraction. On JailbreakBench, BreakFun reaches an average attack success rate of 89% across 13 open-weight and commercial models (open-weight ~98%, API systems ~78%), and 100% on several. An ablation identifies the Trojan Schema as the strongest contributing component. As a counter-ablation probe we introduce Adversarial Prompt Deconstruction (APD), in which a second LLM writes out all readable text in the prompt before it judges safety. APD improves detection across three model families, and a probe-specific ablation shows that the transcription step gives most of the gain. Our findings show that LLM safety must account for content that a simulation task produces as a side-effect, not only for content that a user requests directly.
Agent-Native Applications: A New Application Paradigm
Luo, David, Leon-Garcia, Alberto
Traditional application architectures assume behavioral logic authored in advance, leaving reachable behavior largely bounded by explicit code and workflow rules. Large language model (LLM)-based agents challenge this assumption by enabling runtime reasoning and autonomous action to become part of application behavior, allowing applications to address situations not enumerated at design time. Extending this pattern, this paper identifies a new application paradigm in which LLM-based agents serve as central reasoning and action components responsible for the application's core logic and, where permitted, for adapting the application graph itself at runtime. We call these agent-native applications. While such applications significantly expand their possible behavioral space beyond explicit code and workflow rules, they also face a major control problem in which useful agentic reasoning should be preserved while application behavior should remain within a permissible space. We therefore propose an architectural model that represents the application as a portable graph of agents, tools, data sources, and human-in-the-loop (HITL) checkpoints, and encodes the application's permitted behavior as a behavioral envelope within a declarative application specification. At runtime, an application orchestrator serves as the control plane that coordinates tasks and governs how the graph and its permissions evolve, while an agent mesh serves as the data plane that mediates policy-relevant interactions and produces audit events. We then discuss the trust layer that makes agent-native applications governable and the supporting foundations required for practical operation. Two use cases illustrate the architecture, while Agent-Native Runtime (ANR) demonstrates selected core mechanisms in an executable prototype.
EasyOPD: An Easy-to-use On-Policy Distillation Framework for Large Language Models
Sun, Jie, Zheng, Mao, Song, Mingyang, Zhong, Qiyong, Li, Gengsheng, Hong, Zhepei, Wu, Chang, Liu, Pengfei, Fang, Junfeng, Wang, Xiang
Conventional language-model distillation often relies on fixed teacher-generated data, which may not cover the states encountered by an evolving student policy. On-policy distillation (OPD) instead collects teacher or evaluator supervision on student-generated rollouts. However, existing OPD methods differ substantially in supervision form, tokenizer compatibility, teacher access, and supervision granularity, leading to fragmented implementations that are difficult to reproduce and extend. We present \textsc{EasyOPD}, an on-policy distillation framework built on verl, a distributed reinforcement-learning framework for large language models. \textsc{EasyOPD} separates user-side configuration, method-specific supervision logic, and verl-based execution. Its method modules connect to the shared backend through extension boundaries for loss construction, rollout metadata, reward processing, tokenizer alignment, and teacher-side computation. We instantiate representative methods for three OPD settings -- cross-tokenizer OPD, on-policy self-distillation, and step-wise OPD. Experiments on reasoning, code-generation, scientific-knowledge, and tool-use benchmarks show that these implementations can be executed through the same verl-based backend while retaining their method-specific objectives and task-dependent performance profiles. We release \textsc{EasyOPD} with runnable YAML configurations, documentation, and an installable demonstration package and video.
BatchGen: An Architecture for Scalable and Efficient Batch Inference
Xu, Tairan, Xue, Leyang, Lu, Zhan, Deng, Jinfu, Xiao, Hongyang, Jiang, Yinsicheng, He, Congjie, Sandor, Matej, Xu, Le, Mai, Luo
Batch inference has become a central mode of AI computation, yet existing inference engines still rely on execution models designed for interactive serving. When scaled to millions of sequences, batch workloads reveal two fundamental requirements: the ability to handle extreme inter- and intra-sequence load variation that emerges only at runtime, and the ability to sustain high utilization across large fleets of GPUs. Existing systems fail to meet these requirements, losing substantial fractions of achievable throughput. We introduce a new architectural foundation for batch inference: the sequence coroutine compute model, which represents each sequence as a fine-grained, event-driven coroutine. This model exposes expressive primitives that allow the runtime to reorganize work dynamically, enabling larger expert-level batches, mitigating stragglers, reallocating work across devices, and maintaining utilization even on cost-effective or memory-constrained GPUs. Building on this abstraction, we implement BatchGen, a production-ready system that uses the coroutine model at cluster scale. On a 128-GPU cluster, BatchGen reduces batch completion time by up to $2.3\times$, and on memory-constrained accelerators it outperforms the strongest offloading baseline by up to $9.6\times$. We will open-source BatchGen at https://github.com/batchgen-project/batchgen
Where Is the Cost of Third-Party API Routers in Agentic Software Development?
Fu, Donghao, Li, Jingxin, Jiang, Xue, Dong, Yihong
Third-party API routers have become a common layer that unifies access across increasingly diverse LLM providers. In coding-agent workflows, high-autonomy operation is widely adopted because it reduces interaction overhead. As a result, a third-party API router, which sits between the agent and the upstream provider, inevitably occupies the trusted path. It can inspect and modify every request and response, yet no mechanism verifies alignment between the provider's output and the repository-level actions ultimately executed by the agent. Consequently, client-side permission mechanisms may become ineffective in practice. Whether this control gap produces real, hard-to-detect effects on software development tasks remains empirically unmeasured. In this paper, we conduct an empirical study of router-side injection in coding agents, examining four intervention levels of increasing subtlety: Response Substitution (L1), Response Append (L2), LLM-Polished Injection (L3), and LLM-Polished with Distribution Alignment Injection (L4). Moreover, we develop SIDEL, a framework for trace recording, replay, injection, and defense evaluation, with a curated dataset of 400 samples. We evaluate four representative coding agents, and further evaluate whitelist-based execution control and LLM review. Router-side intervention substantially alters repository-level actions and remains difficult for existing client-side safeguards to detect. Without additional mitigations, all evaluated agents achieved a defense success rate of 0 percent across all injection levels. Client-side mitigations and reactive reviews improve resistance but do not fully restore end-to-end control, motivating provider-side output-integrity guarantees. Our code is available at https://github.com/Riyasushin/SIDEL.
AgentAbstain: Do LLM Agents Know When Not to Act?
Liu, Xun, Zhang, Yi Evie, Kasprova, Vira, Rabbani, Parisa, Zahraei, Pardis Sadat, Zhang, Tianyu, Ebrahimpour-Boroojeny, Ali, Chandrasekaran, Varun
Agent systems based on large language models (LLMs) are increasingly deployed for autonomous tasks, yet existing evaluations mostly focus on task success rather than whether agents know when to abstain. This gap poses real risks: under ambiguity, conflicting constraints, or tool failures, agents may execute unintended and irreversible actions. To close this gap, we present the first systematic evaluation framework for agentic abstention: the calibrated ability of tool-using LLM agents to recognize when not to act. At its core, AgentAbstain is a paired-task benchmark built on an agent-native taxonomy of 8 abstention scenarios across pre-execution reasoning and runtime discovery. It contains 263 paired tasks across 42 executable sandbox environments, where each pair consists of a should-act task and a should-abstain variant produced through a controlled perturbation to the instruction, tool, or environment state. To scale this paired design and resist data contamination, we propose AbstainGen, a fully automated pipeline that synthesizes sandbox environments and generates paired tasks end-to-end, validated by deterministic replay and semantic LLM judges; fresh task instances can be regenerated on demand, and three independent annotators rate 94-98% of sampled tasks as well-designed. Across 17 frontier LLMs in 4 agent harnesses, the best agent (Gemini 3.1 Pro) achieves only 59.5% paired accuracy (correct on both the act and abstain sides of each paired task). More importantly, abstention capability is largely independent of general task-solving capability, indicating that scaling task-solving alone will not close this gap. We further identify failure modes such as post-hoc abstention, in which agents execute irreversible actions before recognizing abstention triggers. Our code and dataset are open-sourced at agentabstain.github.io.
Solver to System: LLM Reasoning Across Representations and Execution in Scientific Simulation
Berman, Eliza, Subramanian, Rohan, Jha, Shreya, Jagarapu, Lohit, Lopez, Romain, Ranganath, Rajesh
Simulators based on partial differential equations (PDEs) are widely used to model physical systems, but generating and interpreting PDE solver code with large language models (LLMs) remains challenging. Scientific simulation code is a useful testbed for LLM scientific reasoning because (1) one system can be represented by code, equations, natural language, and numerical trajectories and (2) code can execute successfully while implementing invalid physics. We introduce Solver2System, a dataset of PDE solvers with multiple representations, controlled corruptions, and lexical perturbations, to evaluate whether LLMs can recover the underlying physical system through (1) cross-representation consistency and (2) static and agentic detection of physical invalidity. Across eight open-weight models, LLMs systematically favor some representations when evidence conflicts, and lexical perturbations to code alter interpretation of other unchanged representations. Execution improves physical-validity judgments, but weaker agents can judge correctly without identifying the causal defect. Thus, LLMs may reach correct judgments despite inconsistent representation reconciliation or causal misdiagnosis.
DrainSinkhorn: Instance-Resident Batched Entropic Optimal Transport on GPUs
Much of the recent use of Sinkhorn in machine learning takes this form. Manifold-constrained hyper-connections (mHC) solve one problem per token and layer (Xie et al., 2025), and DeepSeek-V4 trains with them at up to 1.6T parameters (DeepSeek-AI, 2026). Distilling large language models solves one per generated token (Na et al., 2026), permutation-robust LLM training one per training prompt (Chen et al., 2025), supervised graph prediction one per predicted and target graph (Méndez et al., 2026), learned visual attribution one per image (Schinagl et al., 2026), and substructure alignment one per protein pair (Wang et al., 2026). At inference, a multi-object tracker couples the detections of consecutive frames, domain decomposition splits a large problem into cell problems that are "numerous, small, and with diverse shapes" (Medina & Schmitzer, 2025; Bonafini & Schmitzer, 2021), and coarse-to-fine registration solves one problem per matched patch pair (Yu et al., 2021; Qin et al., 2022). In training, the Sinkhorn iterations are themselves a layer: mHC projects one 4 4 residual mixing matrix per token and layer with 20 iterations (Xie et al., 2025), Optimal Transport Assignment (OTA) assigns detection labels per image with 50 (Ge et al., 2021a), and GeoTransformer matches 256 patch pairs of 65 65 points per 3DMatch scan pair with 100 (Qin et al., 2022).
AMTFV: Agentic Mathematical Tool-Flow Verification for LLM Self-Correction
Zou, Rui, Zhu, Yutao, Wei, Mengqi, Wen, Ji-Rong
Large language models have demonstrated strong mathematical problem-solving capabilities, yet reliably verifying their candidate answers remains challenging. Existing representative methods mainly revise outputs through natural-language reflection or assist verification by directly generating verification programs; the former may not reliably support exact computation, whereas the latter prematurely couples mathematical modeling with low-level implementation. We propose AMTFV (Agentic Mathematical Tool-Flow Verification). By introducing Mathematical Tool Flow (MTF) as an interrupt--execute--resume interface, AMTFV decouples verification modeling from concrete execution and supports exact computation through a mathematical toolbox. Specifically, the verification agent first constructs a verification workflow, encodes the mathematical objects and computational intent requiring reliable execution in an MTF request, and sends it to the mathematical toolbox agent. The latter parses the request, generates executable calls, and dispatches them to the backend for exact computation. Tool outputs then support candidate-answer adjudication, answer revision, and verification-workflow revision. We evaluate AMTFV on five challenging mathematical reasoning datasets with seven model configurations from DeepSeek, GPT, and Gemini. Experimental results show that AMTFV outperforms the representative baselines evaluated in this study overall; under an individual model configuration, it improves average accuracy over the strongest baseline by up to 8.3 percentage points, with larger gains on samples of medium and high verification complexity.