Optimizing Agentic Workflows using Meta-tools
Sami Abuzakuk, Anne-Marie Kermarrec, Rishi Sharma, Rasmus Moorits Veski, Martijn de Vos
TL;DR
The paper tackles the high latency and cost of agentic AI workflows caused by iterative reasoning and fine-grained tool usage. It introduces Agent Workflow Optimization (AWO), a framework that analyzes execution traces to identify recurring tool-call patterns and compiles them into deterministic meta-tools, implemented via state-graph representations with horizontal and vertical merging. Across two benchmarks, AWO reduces LLM calls by up to $11.9\%$ and improves task success by up to $4.2$ percentage points, while also reducing tokens and monetary cost; results vary by model and task complexity. The work demonstrates a practical path to making agentic systems more efficient and robust, and provides open-source tooling to enable reproducibility and further research in meta-tool-based optimization.
Abstract
Agentic AI enables LLM to dynamically reason, plan, and interact with tools to solve complex tasks. However, agentic workflows often require many iterative reasoning steps and tool invocations, leading to significant operational expense, end-to-end latency and failures due to hallucinations. This work introduces Agent Workflow Optimization (AWO), a framework that identifies and optimizes redundant tool execution patterns to improve the efficiency and robustness of agentic workflows. AWO analyzes existing workflow traces to discover recurring sequences of tool calls and transforms them into meta-tools, which are deterministic, composite tools that bundle multiple agent actions into a single invocation. Meta-tools bypass unnecessary intermediate LLM reasoning steps and reduce operational cost while also shortening execution paths, leading to fewer failures. Experiments on two agentic AI benchmarks show that AWO reduces the number of LLM calls up to 11.9% while also increasing the task success rate by up to 4.2 percent points.
