New Metric Evaluates LLM Agent Planning and Execution.

Babak Barazandeh, Subhabrata Majumdar, George Michailidis· July 21, 2026 View original

Summary

Researchers introduce Otap, a novel evaluation metric for large language model agents that assesses planning and execution trajectories by comparing execution graphs against valid solution graphs. This metric uses an unbalanced fused Gromov-Wasserstein transport problem, providing a more nuanced score than binary success flags or exact matching.

A new evaluation metric, named Otap (Optimal Transport for Agentic Planning), has been developed to provide a more sophisticated assessment of large language model (LLM) agents. Traditional evaluation methods often rely on simple binary success flags or exact matching against reference trajectories, which fail to capture the nuances of an agent's planning and execution process. These methods cannot differentiate between a lucky success and a well-reasoned solution, nor can they explain why a failure occurred. Otap reframes trajectory evaluation as a distance calculation between the agent's generated execution graph and a set of valid solution graphs. It employs an unbalanced fused Gromov-Wasserstein transport problem over attributed dependency graphs to achieve this. This approach yields a pseudo-metric that is inherently invariant to valid reorderings of steps and robust to redundant actions, allowing for flexibility in plan granularity and handling missing or hallucinated steps without forced matches. Experiments on controlled perturbations and public benchmarks demonstrate Otap's ability to distinguish valid from invalid trajectories, even in scenarios where semantic-only metrics perform poorly. Its accuracy is highest when dependency graphs are precisely recovered, offering a significant advancement in the rigorous evaluation of complex LLM agent behaviors.

Why it matters

As LLM agents become more complex, robust and nuanced evaluation metrics are essential for understanding their capabilities, diagnosing failures, and driving improvements beyond simple pass/fail criteria.

How to implement this in your domain

  1. 1Integrate Otap into LLM agent development pipelines to provide more granular feedback on planning and execution quality.
  2. 2Utilize the metric to identify specific weaknesses in agent trajectories, such as redundant steps or suboptimal planning structures.
  3. 3Compare agent performance using Otap against traditional metrics to demonstrate the value of structure-aware evaluation.
  4. 4Explore how Otap's insights can inform prompt engineering or fine-tuning strategies for LLM agents.

Who benefits

Software DevelopmentAI/ML ConsultingRoboticsAutomationGaming

Key takeaways

  • Otap is a new metric for evaluating LLM agent planning and execution trajectories.
  • It compares agent execution graphs to valid solution graphs using optimal transport.
  • The metric is robust to reordering, redundancy, and varying plan granularity.
  • Otap offers more nuanced insights than binary success or exact matching, aiding agent development.

Original post by Babak Barazandeh, Subhabrata Majumdar, George Michailidis

"arXiv:2607.17082v1 Announce Type: new Abstract: Large language model agents solve tasks by generating trajectories that interleave planning, tool calls, and intermediate results. Current evaluation metrics reduce such a trajectory to a binary success flag or compare it against a…"

View on X

Originally posted by Babak Barazandeh, Subhabrata Majumdar, George Michailidis on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses