Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Google's Agent Anomaly Detection scores well on external benchmarks - OpenSmartRoute
Google's Agent Anomaly Detection scores well on external benchmarks
Google tested its Agent Anomaly Detection tool on public benchmarks it did not create. The tool flagged most harmful instructions and false alarms varied by tool use.
Key points
Agent Anomaly Detection flagged 87% of harmful instructions carried out by agents
It scored 99% on the AgentDyn benchmark and 87% on InjecAgent
The tool flagged 45% to 62% of all harmful sessions across benchmarks
False alarms ranged from 2% to 16%, depending on the tool and task
Why it matters: Safety tools improve detection of harmful agent actions, reducing risks and potential costs in AI deployment.
By OpenSmartRoute editorial · written through the router by llm-small
Introduction - Google announces Agent Anomaly Detection testing on external benchmarks
Google has tested its Agent Anomaly Detection tool on public benchmarks that it did not create. This testing shows how well the tool can identify unusual or harmful agent behavior. The results provide insight into the tool’s ability to detect threats in real-world scenarios.
Google announced this testing on its AI developers blog. The tests focused on safety issues like goal hijack and tool misuse. These are common risks when AI agents interact with data and users. The results help understand how effective the tool is outside of Google’s own environments.
What is Agent Anomaly Detection - a tool that flags unusual agent behavior
Agent Anomaly Detection is a security tool designed to find when an AI agent acts outside its normal patterns. It analyzes traces and logs of agent activity after the fact. The tool looks for signs of harmful instructions or unexpected actions.
It works without adding latency, meaning it does not slow down the agent’s responses. When it detects behavior that seems suspicious or harmful, it flags the session for review. This helps teams catch issues that slip past the agent’s own safety measures.
Testing setup - how benchmarks and agents were configured for evaluation
Google used five public benchmarks to test Agent Anomaly Detection. These benchmarks are independent and not created by Google. They include different scenarios where agents might be tricked or misused.
Each benchmark used an agent built with the Agent Development Kit (ADK). The agents ran on simulated apps that mimic real-world tasks. The agents sent their traces and logs to the detection tool, just like a customer’s agent would. The final state of the apps was checked by a separate, deterministic process that could not be fooled.
Before testing, each agent ran at least 300 benign sessions. This helped the tool learn what normal behavior looks like. During tests, the agent was exposed to harmful instructions in different ways, including hidden in tool outputs or directly asked for harm.
Jensen Huang resigned as Nvidia's CEO following reports of affairs, alleged Chinese spying, and chip smuggling investigations, raising questions about company security.
Tether AI Research launched QVAC BotPsy-0.8B, a model for tool calls on personal devices, outperforming larger models on agentic benchmarks.
Benchmark results - detection rates for harmful instructions and false alarms
The testing showed that Agent Anomaly Detection flagged most harmful instructions that the agent actually carried out. It detected 87% of these sessions for post-execution review. The tool also flagged a small percentage of benign sessions as suspicious, ranging from 2% to 16%, depending on the tools used.
The tool was especially good at catching goal hijack and tool misuse. It was less effective at detecting instructions planted in long-term memory, known as poisoned memory. In these cases, it caught only a few of the harmful sessions. Overall, the tool flagged 1,774 sessions across all benchmarks.
When the agent followed harmful instructions, the detection rate was high. For example, on some benchmarks, it flagged over 85% of the harmful sessions where the agent acted on the instructions. Even when the agent refused to follow a harmful request, the tool often flagged the session if the request was read.
The detection tool’s strongest performance was in categories like goal hijack and tool misuse. These categories align with the OWASP Top 10 for Agentic Applications, a list of common security risks. The tool scored well on these threats, flagging most of the harmful sessions.
However, the tool was weaker at detecting poisoned memory, where instructions are embedded in the agent’s long-term knowledge base. It only caught a small number of these sessions. This indicates that while the tool is effective against some threats, it still has gaps in detecting others.
The results also showed that most public benchmarks focus on goal hijack and tool misuse. There are fewer benchmarks for cascading failures or identity and privilege abuse. Developing more comprehensive benchmarks would help improve detection methods across different threat types.
Limitations and challenges - areas where detection was weaker or false alarms higher
The testing revealed some limitations of Agent Anomaly Detection. It was less effective at catching instructions that the agent resisted or ignored. These small actions often look normal and are harder to distinguish from legitimate behavior.
False alarms were more common when the agent used high-impact tools in normal work. For example, flagging benign requests that resemble harmful ones increased false positives. This can lead to unnecessary reviews and reduce trust in the system.
Detecting instructions in poisoned memory remains a challenge. The tool only caught a few of these cases, showing the difficulty of identifying embedded threats. More research and better benchmarks are needed to improve detection in these areas.
Implications for safety - how this improves agent security and risk management
The testing results show that Agent Anomaly Detection can significantly improve agent safety. By flagging most harmful actions after they happen, teams can review and respond quickly. This reduces the risk of harmful instructions causing damage.
The tool’s ability to detect goal hijack and tool misuse helps prevent common attack methods. It also provides visibility into suspicious sessions, even if the agent refuses the harmful request. This supports better risk management and incident response.
However, the limitations highlight the need for multiple layers of security. Detection tools should work alongside controls that prevent harmful actions before they occur. Combining detection with prevention creates a more secure environment for AI agents.
How OpenSmartRoute helps - routing requests to enhance safety and detection
OpenSmartRoute is an open-source router for AI requests. It directs each request to the best-fit model, agent, or tool from a defined catalog. It scores every candidate based on quality, cost, speed, and safety. The team sets the importance of each factor for each request.
Using OpenSmartRoute helps improve safety by controlling how requests are handled. It can enforce rules that prevent harmful actions before they happen. For example, it can route sensitive requests to on-premises models or restrict high-impact tools. It also learns from outcomes, giving more traffic to well-performing models.
This routing system supports detection efforts by ensuring requests are processed securely. It can also flag prompt injections or personal data before they leave the system. The platform’s ability to measure routing accuracy and keep a cost ledger helps teams optimize safety and efficiency.
How it compares - what existed before, what this changes and what stays the same
Before the introduction of Agent Anomaly Detection, many organizations relied on static rules, manual reviews, or basic monitoring to protect AI agents. These methods often catch simple or known threats but struggle with complex or novel attacks. They also require significant human effort and can generate many false alarms.
Traditional security tools focus on endpoint protection, network monitoring, or user authentication. They do not specifically target the unique risks of AI agents, such as goal hijack or tool misuse. These tools are effective for general cybersecurity but less so for agent-specific threats.
Agent Anomaly Detection changes this by analyzing agent traces and logs asynchronously. It flags sessions where agents act outside their intended boundaries. This approach adds a layer of behavior-based detection tailored for AI agents. It does not replace existing security measures but complements them.
What stays the same is the need for multiple security layers. Static rules and manual reviews remain useful for known threats. General security tools continue to protect the infrastructure and data. Agent Anomaly Detection enhances these by focusing on agent-specific behaviors.
This system also introduces automatic scoring of sessions based on how likely they are to be harmful. It flags most harmful actions after they occur, allowing teams to review and respond. This shifts some security effort from manual oversight to automated detection.
In summary, it offers a new, behavior-based way to identify threats that traditional tools might miss. It works alongside existing controls to improve overall safety. It does not eliminate the need for other security measures but makes them more effective for AI agents.
Questions this leaves open - what the source does not say and how a reader can check it
The source does not specify how Agent Anomaly Detection performs over time. It does not say whether its accuracy improves as it processes more data. It also does not detail how often false alarms happen in different environments or with different tools.
It is unclear how well the system handles very sophisticated or long-term attacks. For example, if an attacker plants harmful instructions deep in memory, the detection rate drops. The source mentions this gap but does not say how it might be addressed in future updates.
The source does not explain how the detection system integrates with existing security infrastructure. It does not specify whether it can work with other tools or if it requires specific configurations. Teams might want to know how to set up and tune the system for their environment.
It also does not describe how the system learns from new threats. Does it update its models automatically? How does it handle evolving attack techniques? These are important questions for organizations planning to adopt the system.
To check these aspects, a team can run their own tests using different benchmarks and real-world scenarios. They can monitor false alarm rates and detection success over time. Comparing results across environments helps understand the system’s strengths and limitations.
Organizations should also review how the system fits into their existing security architecture. They can consult documentation or contact the provider for guidance on integration and tuning. Regular review of flagged sessions and false alarms can help improve accuracy.
Finally, staying informed about updates and new features from the system provider is essential. As threats evolve, detection tools must adapt. Engaging with the community or user groups can provide insights into best practices and emerging challenges.
What to do - best practices for deploying and improving agent safety tools
Teams should deploy multiple safety measures alongside detection tools. Use controls that block risky tool calls before they run. Implement approval processes for high-impact actions like payments or data sharing. Limit each agent’s tools and permissions to only what is necessary.
Enable telemetry by sending complete logs and traces to detection tools. This helps identify suspicious patterns and improve detection over time. Regularly review flagged sessions and false alarms to fine-tune the system.
Develop and use comprehensive benchmarks that cover different threat categories. This helps measure detection effectiveness and identify gaps. Combining detection with preventive controls creates a layered defense that better protects AI agents.
OpenSmartRoute can support these practices by routing requests through a secure, rule-based system. Its ability to learn from outcomes and enforce rules makes it easier to manage agent safety at scale. Setting up routing rules and telemetry collection can enhance your safety strategy.