arXiv:2610.40444cs.AIOct 2026

Manuscript Offprint

arXiv:2610.40444

Prefix Executability: Evaluating Tool-Using Agents Beyond Final Success

Amir H. Rezaeian, Weiyi Sun, Yassine Benajiba, Dan Roth

Abstract

Tool-use benchmarks often score agents by final task success, but terminal outcomes can obscure whether the intermediate tool-call trajectory was executable. We propose prefix executability as a trajectory-level evaluation protocol for tool-using agents. The protocol measures whether every prefix of a predicted tool-call sequence remains executable under tool schemas, state preconditions, and data dependencies, and summarizes reliability using Prefix Executability Curves (PEC), First-Error Depth (FED), Trajectory Executability Rate (TER), horizon-normalized AUC-PEC, and Recovery Rate (RR). We instantiate the protocol on stratified samples from BFCL-v3 multi-turn and ToolSandbox, and on the complete Airline/Retail base splits of τ3\tau^{3}-bench. We observe that outcome-only and prefix-level rankings diverge: agents whose execution is conditioned on an unverified plan often achieve higher point-estimate final success than non-plan-conditioned baselines while substantially lowering TER and AUC-PEC. These divergences are precisely the failure modes that prefix executability is designed to expose: they reveal whether apparent success rests on an executable trajectory, where invalidity first enters, and whether success follows recovery from an earlier failure. As a validation intervention, explicit pre-execution plan checking can improve executable-prefix survival while maintaining competitive terminal success. These results show that final success alone is insufficient for evaluating tool-use agents and that prefix-level executability provides an actionable reliability signal for comparing agents, diagnosing failures, and assessing validation mechanisms.

1 Introduction

Tool-using language agents operate over APIs, user-defined tools, and interactive software environments where correctness depends on more than a final answer. A valid run must maintain an executable sequence of intermediate actions while respecting tool schemas, cross-step dependencies, and evolving environment state [1–4]. This requirement is especially acute in multi-turn settings, where an early invalid call can corrupt later state or force the agent into recovery behavior that is invisible to outcome-only scoring [3–6]. Consider a service workflow in which an agent first retrieves a record, then passes the returned identifier to update, payment, or notification tools. A later call may be syntactically well formed but non-executable if it references a stale identifier, skips a required precondition, or applies an update before the corresponding state exists; a subsequent repair can still produce the desired final state while hiding where the trajectory first became invalid.

Recent evaluation work has moved beyond simple terminal accuracy. T-Eval decomposes tool use into step-wise subskills [7]; ToolSandbox evaluates task-specified intermediate and final conditions and checks for prohibited states or events [4]; TRAJECT-Bench scores tool selection, argument correctness, and dependency ordering over full trajectories [8]; ToolPRMBench and AgentProcess-Bench assess local process quality [9, 10]; and procedure-aware evaluation shows that nominally

*Correspondence: Amir.Rezaeian@oracle.com.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

successful runs can still violate task procedures [11]. TRACE adds reference-free assessment of efficiency, hallucination, and adaptivity over tool-use trajectories [12]. Robustness studies further probe query perturbations, tool-set changes, and injected execution faults [13, 14]. These efforts make a remaining gap clear: standard metrics still rarely quantify how long a naturally generated rollout remains executable before its first invalid prefix, or how often final success is achieved only after entering a failure regime.

Prefix executability complements these evaluations by checking the execution feasibility of the actual emitted rollout under explicit tool and state semantics. It credits alternative executable action sequences without requiring one gold path and records first failure, survival, and recovery. Appendix A compares what prior evaluation protocols measure.

We study prefix-level executability failures: trajectory prefixes that may look plausible as text but are non-executable under the available tool schema, explicit preconditions, cross-step references, or current environment state. We argue that prefix executability is a missing reliability axis because final success and reference-trajectory match conflate three questions: how long the rollout remains valid, where validity first breaks, and whether later actions recover from the break. We therefore formalize executable prefixes and report a metric family centered on Prefix Executability Curves (PEC), First-Error Depth (FED), horizon-normalized AUC-PEC, Trajectory Executability Rate (TER), and Recovery Rate (RR). These metrics primarily diagnose reliability; when reported alongside trajectory length, latency, or monetary cost, they also support efficiency-sensitive analysis by distinguishing short, valid rollouts from long or failure-prone ones.

These distinctions are operationally important in cost-sensitive tool use. In workflows that trigger external transactions, consume scarce resources, modify persistent state, or require human escalation, the depth of the first invalid action can determine both the cost of failure and the feasibility of recovery. Prefix executability therefore provides a practical evaluation signal for deciding not only whether an agent eventually succeeds, but also whether execution remains uninterrupted or requires recovery along the way.

The paper is evaluation-first. We deliberately use a minimal Dual-Loop planner-verifier intervention only as a controlled probe: we test whether pre-execution validation improves those metrics even when final success rankings tell a different story. This framing separates the evaluation contribution from the particular intervention and lets us ask when plan conditioning helps tool use, and when it amplifies invalid intermediate structure.

Our contributions are:

  1. We formalize executable prefixes for tool-using agents and define PEC, FED, TER, AUC-PEC, and RR as a prefix-level evaluation protocol for variable-horizon trajectories. Appendix B establishes exact properties and consistency under explicit sampling assumptions.

  2. We instantiate the protocol on BFCL v3 multi-turn and ToolSandbox with stratified 200-example samples, and on all 164 Airline/Retail base-split tasks in τ3\tau^{3}-bench, using shared task IDs across methods and models, and task-level confidence intervals.

  3. We show that outcome-only and prefix-level rankings can diverge: unverified plan conditioning can improve final success while sharply reducing executability, whereas pre-execution validation consistently improves TER, AUC-PEC, and early PEC across three LLM conditions on BFCL v3 and ToolSandbox. A representative BFCL setting illustrates the pattern: an unverified plan-conditioned executor can reach the correct terminal outcome while emitting invalid intermediate tool-call prefixes, whereas Dual-Loop preserves terminal performance while restoring prefix executability. The τ3\tau^{3}-bench audit further demonstrates that prefix reliability and terminal success can rank methods differently.

We evaluate BFCL v3 and ToolSandbox because together they cover multi-step function composition and stateful, on-policy tool interaction [3, 4]. The Airline/Retail audit evaluates the protocol in policy-constrained user–agent–environment interaction in τ3\tau^{3}-bench. Together, the three benchmarks cover 564 task instances per model–method condition and 6,768 rollouts.

References (26)