Prefix Executability: Evaluating Tool-Using Agents Beyond Final Success
Organizations: Oracle AI
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 -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.
Figures & tables
| Metric / signal | Ref.-free | Exec.-state | Prefix signal | Recovery |
|---|---|---|---|---|
| Exact Call Match | No | No | No | No |
| Trajectory Match | No | No | No | No |
| Final Success ( ) | Yes | Yes | No | Indirect |
| Yes | Yes | Survival at | No | |
| Yes | Yes | Conditional at | No | |
| TER | Yes | Yes | Full horizon | No |
| Dataset | LLM | Method | TER | Mean FED | AUC-PEC | RR- Eligible | RR | Final Success |
|---|---|---|---|---|---|---|---|---|
| BFCL | GPT-5.4 (high) | ReAct | 0.69 [0.63,0.76] | 5.61 [5.28,5.92] | 0.83 [0.79,0.87] | 61 | 0.00 [0.00,0.06] | 0.61 [0.55,0.68] |
| Prompt Planning | 0.78 [0.72,0.83] | 5.72 [5.39,6.05] | 0.85 [0.81,0.89] | 44 | 0.00 [0.00,0.08] | 0.78 [0.72,0.83] | ||
| Plan-Cond. ReAct | 0.47 [0.40,0.54] | 4.11 [3.73,4.50] | 0.54 [0.48,0.60] | 106 | 0.88 [0.80,0.93] | 0.94 [0.90,0.96] | ||
| Dual-Loop | 0.94 [0.91,0.97] | 6.41 [6.12,6.70] | 0.96 [0.93,0.98] | 12 | 0.00 [0.00,0.24] | 0.94 [0.90,0.97] | ||
| GPT-4.1 | ReAct | 0.62 [0.55,0.69] | 5.18 [4.84,5.51] | 0.76 [0.72,0.81] | 76 | 0.00 [0.00,0.05] | 0.52 [0.45,0.58] | |
| Prompt Planning | 0.79 [0.72,0.84] | 5.84 [5.54,6.16] | 0.87 [0.83,0.91] | 43 | 0.02 [0.00,0.12] | 0.77 [0.71,0.82] |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Evaluation | Primary signal | Relation to prefix executability |
|---|---|---|
| T-Eval [ 7 ] | Component capabilities: planning, reasoning, retrieval, understanding, instruction following, and review. | Diagnoses component abilities; PEC tracks executable prefixes across depths, and FED identifies the first invalid action. |
| ToolSandbox [ 4 ] | Task-specified required and prohibited conditions over states and traces. | Checks required or prohibited conditions; PEC/FED localize first non-executability and survival over depth. |
| -bench [ 6 ] and -bench [ 23 ] | Task outcomes in policy-constrained user–agent–environment interaction, including terminal goal-state checks. | Provide stateful environments where prefix metrics complement terminal reward. |
| TRAJECT-Bench [ 8 ] | Reference-based tool/argument/order matching and reference-free, LLM-judged trajectory satisfaction. | Combines reference-based and judged trajectory quality; prefix metrics measure benchmark-grounded executability, first failure, and recovery. |
| ToolPRMBench [ 9 ] | Correct/incorrect step cases for process-reward-model evaluation. | Assesses process judges; prefix metrics use benchmark execution semantics without a learned reward model. |
| AgentProcessBench [ 10 ] | Human-labeled step effectiveness; step and first-error prediction accuracy. | Evaluates agreement with human process labels; prefix metrics directly test benchmark execution feasibility. |
| Step | Emitted action | Benchmark outcome |
|---|---|---|
| 1 | Attempt to remove a contact using its phone number as its stored identifier. | Rejected because no matching identifier exists; state unchanged. |
| 2 | Search for the contact by phone number. | Returns the contact’s stored identifier. |
| 3 | Remove the contact using the returned identifier. | Accepted; the requested contact is removed. |
| Method | TER | Mean FED | AUC-PEC | RR (s/n) | Final success |
|---|---|---|---|---|---|
| GPT-5.4 (high) | |||||
| ReAct | .95 [.91,.98] | 5.92 [5.53,6.31] | .95 [.91,.98] | .22 [.06,.55] (2/9) | .43 [.35,.51] |
| Prompt | .94 [.90,.98] | 5.73 [5.34,6.13] | .94 [.91,.98] | .10 [.02,.40] (1/10) | .46 [.38,.54] |
| Plan-Cond. | .93 [.88,.96] | 5.84 [5.45,6.24] | .93 [.89,.96] | .25 [.09,.53] (3/12) | .51 [.43,.59] |
| Dual-Loop | .93 [.89,.97] | 5.74 [5.36,6.14] | .93 [.89,.97] | .27 [.10,.57] (3/11) | .46 [.38,.53] |
| GPT-4.1 | |||||
| Model | ReAct | Prompt | Plan-Cond. | Dual-Loop |
|---|---|---|---|---|
| GPT-5.4 (high) | 86k / 57s | 94k / 68s | 95k / 68s | 98k / 83s |
| GPT-4.1 | 142k / 65s | 156k / 70s | 161k / 73s | 180k / 78s |
| Llama-4 Maverick | 374k / 61s | 409k / 66s | 412k / 67s | 399k / 66s |
| Configuration | TER | AUC-PEC | Final | Tokens / Latency |
|---|---|---|---|---|
| Deterministic acceptance | [ ] | [ ] | [ ] | k / s |
| GPT-5.4 | [ ] | [ ] | [ ] | k / s |
| GPT-4.1 | [ ] | [ ] | [ ] | k / s |
| GPT-5.4 | [ ] | [ ] | [ ] | k / s |
| Dataset | LLM | Method | PEC@1 | PEC@2 | PEC@3 | PEC@4 |
|---|---|---|---|---|---|---|
| BFCL | GPT-5.4 (high) | ReAct | 0.95 [0.93,0.98] | 0.90 [0.85,0.94] | 0.81 [0.75,0.86] | 0.68 [0.61,0.74] |
| Prompt Planning | 0.96 [0.93,0.98] | 0.88 [0.83,0.93] | 0.82 [0.77,0.88] | 0.70 [0.64,0.77] | ||
| Plan-Cond. ReAct | 0.77 [0.70,0.82] | 0.61 [0.55,0.69] | 0.49 [0.42,0.56] | 0.42 [0.36,0.49] | ||
| Dual-Loop | 0.98 [0.96,0.99] | 0.97 [0.94,0.99] | 0.94 [0.91,0.97] | 0.82 [0.77,0.88] | ||
| GPT-4.1 | ReAct | 0.93 [0.89,0.96] | 0.84 [0.79,0.89] | 0.74 [0.68,0.80] | 0.61 [0.55,0.68] | |
| Prompt Planning | 0.97 [0.94,0.99] | 0.93 [0.89,0.96] | 0.86 [0.81,0.91] | 0.71 [0.65,0.77] |
Tool-Use Evaluation
Tool-use evaluation measures whether AI agents select, call, and rely on tools correctly, efficiently, and safely across realistic tasks.
See all 99 papers