Prefix Executability: Evaluating Tool-Using Agents Beyond Final Success
Amir H Rezaeian, Weiyi Sun, Yassine Benajiba, Dan Roth
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › Agent Evaluation Benchmarks · Type: new method · Keywords: tool-using agents, evaluation protocol, trajectory reliability, prefix executability, benchmark divergence
Areas: AI Agents › Agent Benchmarking › Agent evaluation; Evaluation & Benchmarks › Agent Capabilities and Memory › Agentic Tool Use; Evaluation Methodology & Auditing › Agent and Reward Auditing › Agent Trajectory Evaluation; Benchmarks for LLMs & Agents › Cross-Domain Agent Evaluation › LLM Agent Benchmarks
Summary
Prefix Executability introduces a trajectory-level evaluation protocol that measures whether every prefix of a tool-call sequence remains executable, providing reliability metrics such as PEC, FED, TER, AUC-PEC, and RR.
Explained to a 5-year-old
Some robots help us by using tools, like a virtual assistant that can look things up. Right now, we only check if the robot finishes the whole task correctly. But sometimes the robot might get the right answer by luck, even if it made mistakes along the way. This paper says we should also check every step to make sure each step could be done before the robot tries it. By checking each step, we can find problems early and make the robots more reliable.
Explained to a 5-year-old, longer
Imagine a robot helper that can use tools, like looking up information on the internet. We want to know if the robot can do its job well. Right now, we only look at whether the robot finishes the whole task successfully. But finishing a task doesn't tell us if the robot made mistakes along the way. Sometimes a robot might get the right answer even though it took wrong steps. This paper says we should check every step the robot takes, not just the final result. We look at each step and see if it could be done safely and correctly. If a step cannot be done, we notice it before the robot actually tries it. This helps us find problems early, like a plan that might not work. We also see how often the robot can keep going without making a mistake. The paper shows that many robots that look good at finishing tasks actually have many hidden errors. By checking each step, we can improve the robots so they are more reliable and safer to use.
For a technical reader
The paper points out that current benchmarks for tool-using agents only measure whether the agent succeeds at the end of a task. This can hide unreliable behavior where the agent follows an invalid plan but still reaches a correct outcome. To address this, the authors define a new evaluation called prefix executability that checks each step of the agent’s tool-call sequence against the tool definitions and state requirements. They then compute several metrics-such as how deep the first error occurs, the overall trajectory executability rate, and recovery ability-to give a detailed reliability profile. Experiments on two popular benchmarks show that many agents score well on final success but poorly on prefix reliability, and that adding a simple plan-checking step can improve reliability without hurting final performance.
Problem
Current tool-use benchmarks evaluate agents only by final task success, which can hide failures in the intermediate tool-call trajectory. There is a need for an evaluation that assesses whether an agent’s entire sequence of tool calls is executable step-by-step.
Method
The approach defines a prefix executability protocol that checks each prefix of a predicted tool-call sequence against tool schemas, state preconditions, and data dependencies. It then aggregates these checks into reliability metrics such as Prefix Executability Curves, First-Error Depth, Trajectory Executability Rate, horizon-normalized AUC-PEC, and Recovery Rate. The protocol is applied to stratified samples from existing benchmarks to compare agents.
Results
Agents that rely on unverified plans achieve higher final success but have lower trajectory executability (TER and AUC-PEC), while explicit pre-execution plan checking improves executable-prefix survival without harming final success.
Contributions
The paper introduces prefix executability as a trajectory-level evaluation protocol and associated reliability metrics, demonstrates systematic divergences between final-success and prefix-reliability rankings, and shows that plan-checking can mitigate reliability loss while preserving performance.
Practical relevance
The protocol provides an actionable reliability signal for comparing agents, diagnosing failures, and assessing validation mechanisms, enabling more robust deployment of tool-using agents.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction