← Latest papers
🤖 AI

Robustness Analysis of Agentic AI to Inconsistent and Incomplete Tool Responses

This qualitative pilot study demonstrates that agentic AI models exhibit distinct, channel-specific signatures in their log-probabilities when encountering inconsistent versus incomplete tool responses, revealing that robustness to these different fault types is asymmetric and requires tailored detection mechanisms rather than a universal approach.

Original authors: Jiachen Xu, Torben Bach Pedersen, Zhongming Yao, Xiaoyu Zhang, Yushuai Li

Published 2026-08-25
📖 6 min read🧠 Deep dive

Original authors: Jiachen Xu, Torben Bach Pedersen, Zhongming Yao, Xiaoyu Zhang, Yushuai Li

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

In the modern landscape of artificial intelligence, a new kind of digital worker has emerged: the language agent. Unlike earlier programs that simply answered questions based on a static database, these agents are designed to act. They can browse the web, query databases, and use software tools to solve complex problems, much like a human assistant who picks up the phone to make a reservation or checks a spreadsheet for inventory. However, these digital workers are not infallible. When they reach out to a tool, they expect a clean, accurate response. In the real world, tools sometimes fail, returning error messages, or they return data that looks perfect on the surface but contains a subtle lie. The central challenge for researchers is not just building agents that work when everything goes right, but building ones that can recognize when something has gone wrong and respond appropriately. If an agent cannot tell the difference between a broken tool and a misleading one, it will apply the wrong fix, potentially wasting time or making the situation worse.

A team of researchers at Aalborg University and Zhejiang University set out to investigate this exact moment of decision. They wanted to know if an artificial intelligence could instantly distinguish between a tool that has failed to return any data and a tool that has returned a well-formed but false answer. To test this, they created a controlled environment simulating a retail customer-service scenario. In this digital world, an agent acts as a support representative, using a set of sixteen different tools to look up order details, check payment methods, and update user information. The researchers took a standard, successful sequence of actions and, at a specific point, swapped the tool's normal response with a faulty one. They created three types of faults: a complete failure where the tool returned an error message, a falsified order status that changed the rules of what the agent was allowed to do next, and a falsified payment identifier that looked correct but didn't belong to the customer.

The researchers did not simply watch the agent try to finish the task and see if it succeeded. Instead, they paused the process the instant the faulty data arrived. They examined the internal "thought process" of the model, specifically looking at how likely it was to generate the next word in its response. They measured two distinct things. First, they checked how well the returned data fit the expected format of the tool itself. Second, they checked how well that data fit with everything the agent had already seen in the conversation, including the user's original request and previous tool results. They also looked at the agent's plan for the very next step, measuring how confident it was about what action to take and whether that action involved checking the state of the system again or moving forward with a change.

The results revealed a sharp and immediate difference in how the agent reacted to these different types of errors. When the tool returned a broken error message, the agent immediately recognized that the data did not fit the tool's basic format. This was a clear signal that the tool had failed. Consequently, the agent's plan shifted dramatically; it became highly likely to choose an action that would re-read the state of the system, essentially deciding to try again or check the facts. In contrast, when the tool returned a well-formed but false answer, the agent did not see any problem with the format. The data looked perfect. However, the agent's internal comparison of the new data against the history of the conversation revealed a conflict. The false data clashed with what the user had previously stated or what the system policy dictated.

Crucially, the researchers found that the agent's reaction to these false answers depended entirely on the nature of the lie. When the falsified information was a simple mismatch, like a payment ID that didn't belong to the user, the agent's plan remained largely unchanged. It did not become confused or uncertain; it simply accepted the false data and moved on, because the lie did not alter the fundamental rules of the interaction. But when the falsified information was an order status that changed the rules of what actions were permitted, the agent's behavior shifted. It became uncertain about what to do next, and its plan changed to reflect the new, incorrect reality. This showed that the agent could distinguish between a broken tool and a lying tool, but it could not always distinguish between a harmless lie and a consequential one that would derail the task.

The study also looked at what happened after the initial mistake. The researchers found that the type of error left a lasting trace in the agent's future behavior. The broken tool caused the agent to keep trying to re-read the system state in subsequent steps, a sign that it was stuck in a loop of verification. The falsified order status, however, sent the agent down a different path entirely, leading it to take actions that changed the system state based on the false information. The falsified payment ID, which the agent had initially accepted without issue, continued to be accepted in later steps, with no sign of the agent realizing it had been misled. This demonstrated that the agent's ability to recognize an error was not a single, universal alarm. Instead, it was a collection of different signals. One signal told the agent the tool was broken, another told it the data was inconsistent with the past, and a third told it the data was inconsistent with the rules. No single signal could catch every type of error.

The researchers concluded that robustness in these agents is not about having a single metric that flags all bad data. Instead, it requires reading multiple channels of information simultaneously. An agent must be able to see when data fails to match a tool's shape, when it contradicts the history of the conversation, and when it contradicts the rules of the domain. The study showed that these different types of errors produce distinct signatures in the agent's internal calculations. A broken tool is immediately obvious because it breaks the format. A lying tool is harder to catch because it fits the format but breaks the story. The most dangerous lies are those that change the rules of the game, as they can send the agent down a completely wrong path without triggering any confusion. By understanding these specific signatures, developers can build agents that are better equipped to diagnose their own mistakes and choose the correct remedy, whether that means retrying a tool, cross-checking a fact, or stopping to ask for clarification.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →