Optimizing Agentic Workflows using Meta-tools

Sami Abuzakuk, Anne-Marie Kermarrec, Rishi Sharma, Rasmus Moorits Veski, Martijn de Vos · 2026

Read Optimizing Agentic Workflows using Meta-tools by Sami Abuzakuk, Anne-Marie Kermarrec, Rishi Sharma, Rasmus Moorits Veski, Martijn de Vos (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-22037.txt.

Introduction

Sami Abuzakuk and co-authors try to cut the cost of agentic workflows. Agentic systems let a language model reason, plan, and call tools to solve hard tasks. In practice they need many rounds of reasoning and tool calls, which drives up expense, delay, and failures from hallucination.

Their 2026 preprint optimizes such workflows using meta-tools, tools that act on the workflow itself rather than the task. Streamlining the steps an agent takes can reduce wasted calls and dead ends. The economics matter here. Agentic products bill by the token and the call. A leaner workflow can be the difference between a demo and a service that runs all day.

Catalog record

CREATORSami Abuzakuk, Anne-Marie Kermarrec, Rishi Sharma, Rasmus Moorits Veski, Martijn de Vos
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE53 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-22037

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Optimizing Agentic Workflows using Meta-tools Sami Abuzakuk, Anne-Marie Kermarrec, Rishi Sharma, Rasmus Moorits Veski, Martijn de Vos Abstract Agentic AI enables LLM ( 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 ( 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. 1 Introduction Agentic AI has emerged as a powerful paradigm for solving complex, open-ended tasks with minimal human intervention ( 1 ) . By combining LLM ( LLM ) with the ability to call tools, store memory, and perform iterative reasoning, agentic systems can dynamically plan and adapt while interacting with external environments. This flexibility allows LLM agents to execute a wide variety of workflows and solve user tasks, e . g ., making bookings across multiple services or managing personal finances, without requiring developers to explicitly program deterministic control flows in advance. Because of their flexibility, LLM agents are being integrated across an increasing number of domains, such as software engineering ( 10 ) , web-based task automation ( 16 ) , and customer support ( 27 ) . To enable such flexibility, LLM agents can access a set of pre-defined tools , each exposing a specific capability of the system. For example, developers can build tools to send emails, write to files, or search the web. In practice, these tools typically correspond to existing API endpoints of services that allow agents to retrieve information, modify state, or interact with external services ( 20 ; 16 ; 30 ) . To solve a task, the LLM outputs code that invokes particular tools with the required parameters. However, deploying LLM agents comes at a significant operational cost, introducing substantial overhead in both latency and resource consumption. Tool-calling agents invoke an LLM multiple times per task to plan, reason, revise, and recover from intermediate failures ( 32 ) . Each reasoning step incurs inference cost and contributes to end-to-end latency, which can be prohibitive in user-facing applications. This is particularly true if solving a task requires the execution of many tool calls in sequence, as is the case when interacting with fine-grained APIs. For example, creating a Spotify playlist and populating it using the web API requires multiple sequential requests (authorization, playlist creation, and playlist item addition). While agentic systems that work with such fine-grained tools end up being more flexible, the inherent nondeterminism of LLM can lead agents to explore redundant or suboptimal actions, particularly in multi-step tasks, further increasing computational costs and execution time. As agentic systems are deployed in increasingly complex environments and integrated into production workflows, these costs become a primary barrier to adoption, scalability and reliability ( 33 ) . Examining common agentic workflows, we observed that they often exhibit highly regular structure, particularly in their early stages. We executed the tasks in AppWorld , a public agentic AI benchmark ( 24 ) , and captured the trajectories that the agents follow. In Figure 1 , we present the lower bound of the number of tasks where the agents follow the same trajectory per step. For example, after 5 steps, at least 14.3% of the tasks being completed by the agent followed an equivalent trajectory. We attribute this duplication to the fact that the set of exposed tools is typically not designed with agentic usage in mind. Therefore, identifying and deduplicating LLM effort across tasks has significant potential in reducing the operational overhead of running agentic systems. Figure 1: Percentage of tasks where agents have equivalent trajectories at a given step in AppWorld (lower bound). In this paper, we introduce Agent Workflow Optimization AWO , a generic framework for improving the efficiency, utility, and runtime cost of agentic systems. AWO works by identifying and coalescing structural tool calls in trajectories, directly reducing the number of LLM calls in the agentic workflows. AWO provides the means to analyze tool call trajectories and detect recurring sequences of tool invocations that correspond to routine sub-tasks, and compiles these sequences into meta-tools . These meta-tools encapsulate common multi-step behaviors into single callable operations, allowing agents to bypass intermediate reasoning while retaining the ability to flexibly compose workflows at a higher level. In this way, AWO reduces inference cost and latency without sacrificing the generality that makes agentic systems effective. We evaluate the effectiveness of AWO using two representative agentic AI benchmarks, covering both API-driven application workflows and interactive web-based tasks. Across these settings, we analyze large collections of execution traces generated by state-of-the-art LLM agents and identify recurring tool invocation patterns that can be compiled into meta-tools. Our results show that integrating meta-tools substantially reduces the number of LLM reasoning steps and tool calls required to complete tasks, yielding reductions of LLM calls up to 11.9%. In addition, we observe that AWO improves the task success rates by up to 4.2 percentage points, indicating that reducing redundancy not only improves system’s efficiency but can also enhance the effectiveness of the agents. In summary, our contributions are as follows: • We introduce AWO , a novel framework for detecting redundant patterns in an agentic workflow through merging agentic executions ( Section 3 ). This allows for the creation of meta-tools removing unecessary reasoning steps, reducing the number of tokens used, and hence, costs when operating agentic AI. • We thoroughly evaluate AWO on a diverse set of agentic workflows, demonstrating its effectiveness in reducing token usage up to 11.9% and improving task success rate by 4.2 percent points ( Section 5 ). • We release AWO as an open-source framework 1 1 1 Removed for double-blind review , enabling reproducibility, community collaboration, and motivating further research advancement in optimization agents. Figure 2: The ReAct Loop. The agent interleaves reasoning with external execution (“Action”), creating a step-by-step workflow. Figure 3: (top) Two distinct user prompts (in blue) and the associated workflow, including LLM reasoning and tool calling. User prompts, while different from a surface-level, might share sequences of tool calls. Our framework leverages this property to create meta-tools , reducing the number of costly LLM calls. 2 Background and Motivation We first describe the technical underpinning of agentic AI, explain workflows and trajectories, and then illustrate using an example how existing workflows can be made more efficient by coalescing tool calls. 2.1 Agentic AI and ReAct Agentic AI refers to systems in which an LLM is used as a decision-making component that can autonomously pursue goals through interaction with an external environment. An agent maintains an internal

Read the complete text