AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarios
The paper introduces AsyncTool, a novel benchmark designed to evaluate the asynchronous tool-calling capabilities of LLM-based agents in multi-task scenarios with simulated latency, revealing that current models struggle with temporal coordination and efficiency when handling delayed tool responses.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Idea: The "Busy Barista" Problem
Imagine you are a master barista (the AI Agent) working in a busy coffee shop. You have a list of orders:
- Order A: Brew a complex espresso (takes 30 seconds).
- Order B: Grind beans for a latte (takes 5 seconds).
- Order C: Wipe down the counter (takes 2 seconds).
The Old Way (Synchronous):
In the past, most tests for AI baristas only checked if they could make one drink perfectly. If they started Order A, they would stand there staring at the espresso machine, doing absolutely nothing else, until the 30 seconds were up. Only then would they move to Order B. This is incredibly inefficient.
The New Reality (Asynchronous):
In the real world, you don't just stand still. While the espresso is brewing, a smart barista grabs the beans for Order B and wipes the counter for Order C. They switch back to the espresso the moment it's ready. This is called Asynchronous Tool Calling.
What is AsyncTool?
The authors of this paper realized that current AI tests are like the "Old Way." They check if an AI can use tools (like searching the web or running code) but they pretend the tools give instant answers. In reality, tools take time to respond.
AsyncTool is a new "exam" designed to see if an AI can handle the Busy Barista scenario. It tests three specific skills:
- Waiting: Can the AI realize a tool is "thinking" and not just guess the answer?
- Switching: Can the AI pause Task A, jump to Task B, and then remember to come back to Task A when the answer arrives?
- Tracking: Can the AI keep track of which tool belongs to which task without getting confused?
How They Built the Test (The Recipe)
To create this exam, the researchers didn't just make up random questions. They followed a careful recipe:
- Gathered Ingredients: They took existing, high-quality single-task data (like "search for a flight") from other benchmarks.
- Reconstructed the Path: They used a powerful AI (Gemini 2.5 Pro) to rewrite these tasks to ensure they had clear, step-by-step instructions.
- Human Proofreading: Humans checked the work to make sure the steps actually made sense and weren't broken.
- The "Mix": They combined these single tasks into groups. Sometimes they gave the AI two similar tasks (like two flight searches), and sometimes two very different tasks (like a flight search and a file management job).
- Simulated the Delay: They programmed the test so that when the AI asked a question, the "tool" would say, "I'm working on it, wait a moment," before giving the answer.
How They Graded the AI
They didn't just look at the final result. They graded the AI on three levels, like a teacher grading a student:
- Step Level: Did the AI ask the right question with the right words? (e.g., Did it spell the tool name correctly?)
- Sub-Task Level: Did it finish one small part of the job correctly? (e.g., Did it successfully find the flight?)
- Task Level: Did it finish the entire assignment, including all the different orders it was juggling?
They also added a special "Efficiency Score." This measured how often the AI switched between tasks. A good score means the AI switched often enough to be efficient, but not so often that it got confused.
What They Found (The Results)
The researchers tested 19 different AI models (both big commercial ones like GPT-4.1 and open-source ones). Here is what happened:
- The "Time" Shock: When the tools were delayed, almost every AI got significantly worse. It was like taking a test while someone kept tapping you on the shoulder.
- The "Hallucination" Trap: Many weaker AIs couldn't wait. When they asked a tool for data, they didn't wait for the answer. Instead, they just guessed the answer and kept moving. This led to errors.
- The "Forgetfulness" Issue: Some AIs would start Task A, switch to Task B, and then completely forget Task A existed. They would finish Task B and say, "All done!" even though Task A was still waiting.
- The Winners: The best models (like GPT-4.1) were the ones that could juggle. They knew exactly when to switch tasks and when to wait. They didn't just switch randomly; they switched strategically.
The Main Takeaway
The paper concludes that being good at using tools isn't just about knowing which tool to use. It's about timing.
To be a truly effective AI agent in the real world, it needs to be a good project manager. It needs to know:
- "I'm waiting for this result, so I'll do this other thing while I wait."
- "Oh, the result is back! I need to stop what I'm doing and finish that first task."
The paper argues that future AI systems need to get better at this "temporal coordination" (managing time and waiting) to be truly useful in complex, multi-task environments.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.