# Agent Anomaly Detection: what should teams check first?

> Google’s new Agent Anomaly Detection guide shows how to review agent behavior. Learn the preview limits and plan useful permission, logging and alert checks.

News analysis by ZemoPro, published 2026-11-17. Web page: https://zemopro.com/blog/agent-anomaly-detection-guide

A successful API response does not tell you whether an AI agent should have made the request. Google’s November 16 Agent Anomaly Detection guide puts that gap in focus. For teams connecting agents to real tools, the useful question is simple: how would you notice an action that worked technically but went beyond the user’s job?

## Quick steps

1. Write down the agent’s allowed task before granting tool access.
2. Use synthetic data to test one ordinary request and one request outside that task.
3. Check the server’s permission decision independently of the agent’s response.
4. Decide what your logs need to show and which sensitive fields to omit.
5. Assign someone to review alerts and verify the fix with a repeatable test.

## What Google’s November 16 guide actually covers

Google describes Agent Anomaly Detection as a service that reviews agent traces and logs for behavior outside the intended task. Its guide walks through a sample support agent, ordinary and out-of-scope sessions, findings and alerting.

The setup requires a project approved for Private Preview, billing and the specified access roles. Treat it as an integration to evaluate, not a feature available automatically on every account. The official guide is linked below; check its current prerequisites before planning a deployment.

## Start with the job, not the detector

Imagine a support assistant that can show a customer their own order status. The task is narrow, but a broadly named tool such as “fetch records” may expose more than that task needs. A monitoring dashboard will not make an overly broad server endpoint appropriate.

Write an allowed-action list in terms your backend can enforce: which record, whose account, which operation and what confirmation is required. “The prompt told it not to” is a weak acceptance test. Ask whether a caller outside the agent could make the same request and receive private data.

| Review question | Useful evidence | Warning sign |
| --- | --- | --- |
| Who may read this record? | A server-side account/record permission check | Only the prompt mentions ownership |
| Can the action change data? | An explicit scope and confirmation step | Every successful call is treated as approved |
| What happens after denial? | A clear denial result and safe recovery path | The agent retries with broader access |

## A small, repeatable review exercise

Use made-up records in a test environment. First ask the assistant to retrieve a record that belongs to the test account. Then ask for a record outside that account’s scope. Before either run, write down the expected server response and what the user should see.

Save the tool name, the minimum necessary input fields, the permission decision and whether any write occurred. Compare the observed result with your expectation. This exercise checks your application boundary; it is not a test of Google’s detection model.

### Keep the fixture deliberately boring

- Use fictional customer names and identifiers.
- Avoid production API tokens, cookies and raw customer messages.
- Include a legitimate request that should succeed, so a blanket denial is not mistaken for a good result.
- Repeat after changing a tool definition, permission rule or model configuration.

## Make a log useful without making it a data leak

An investigation needs enough context to connect an action to a session and a permission decision. It rarely needs an unrestricted copy of every secret that passed through the application. Choose the fields, access controls and retention period before enabling broad logging.

Use JSON Formatter to inspect a synthetic event and Text Compare to review a proposed change in the event shape. Keep a redacted fixture in your tests. These tools help you read data; they do not establish whether an authorization rule is correct.

```
{
  "session": "demo-session",
  "action": "read_order",
  "account": "test-account",
  "permissionDecision": "deny",
  "writeOccurred": false
}
```

## An alert needs a decision and an owner

When an alert arrives, someone needs to answer three questions: what happened, what could happen next, and which control should change? A list of high-severity labels without an investigation path can become noise. Keep the original test case so the team can verify its fix.

If the application embeds an outside page, review its frame permissions separately. The Iframe Generator can make the selected sandbox exceptions visible in exported markup. HTTP Headers Checker can show a public response’s headers. Neither utility monitors agent sessions or replaces account-level permission testing.

## What to measure in your first review

Count completed test cases and check whether you can explain each unexpected action. Track how often the team needed additional context, whether legitimate requests were blocked and how long an alert waited for review. Define those measures before comparing tools.

Avoid borrowing detection percentages or cost estimates from somebody else’s example and presenting them as your result. For a small team, a narrow tool endpoint, a clear permission decision and a test that catches a regression are useful outcomes even before a monitoring pilot.

## FAQ

### Is Agent Anomaly Detection available on every Google Cloud account?

The November 16 guide requires a project approved for Private Preview and lists billing and role prerequisites. Check the official guide for current eligibility.

### Does monitoring replace application permissions?

No. Enforce access to records and actions on the server. Monitoring helps a team investigate behavior; it does not grant or remove the caller’s underlying permissions.

### Can ZemoPro test an AI agent’s security?

No. Our JSON, text and web utilities can help inspect synthetic examples or public headers. They do not certify agents or run Google’s detection service.

### Should I upload real customer logs for these exercises?

Use fictional or carefully redacted fixtures. Decide which data is needed, who can access it and how long it is kept before sharing production traces.

## Conclusion

Start by making the agent’s job and permissions small enough to explain. Then test a legitimate request, test a boundary and decide who will review an unexpected action. Google’s new guide offers one monitoring route to evaluate; your own access controls and repeatable checks remain the foundation.

## Tools mentioned

- [Read a synthetic JSON event clearly](https://zemopro.com/tools/json-formatter)
- [Compare proposed log-field changes](https://zemopro.com/tools/text-diff-checker)
- [Review sandbox permissions in iframe markup](https://zemopro.com/tools/iframe-generator)
- [Inspect headers on a public endpoint](https://zemopro.com/tools/http-headers-checker)

## Source

- [Google Developers Blog: Agent Anomaly Detection hands-on guide, November 16, 2026](https://developers.googleblog.com/securing-your-agents-a-hands-on-guide-to-agent-anomaly-detection/)

_Prepared with AI assistance for source research, drafting and the conceptual illustration. We checked the release facts against Google’s guide; the review exercises below are our own analysis. We have not deployed or benchmarked this preview service, and these general utilities do not certify an agent as secure._

---

About ZemoPro: ZemoPro (zemopro.com) is a free collection of 111 online tools for images, PDFs, text, code, SEO, websites and social media, plus practical guides. No account or sign-up is needed. 95 of the 111 tools run entirely in the browser, so files and text stay on the user’s device. Remote tools send the submitted address and, in supported paste modes, the pasted HTML, XML or text to ZemoPro’s server for analysis. Public URL fetches use private-network protections. Check each tool’s processing notice before submitting sensitive information. Each tool page explains its limits honestly; ZemoPro does not promise rankings, traffic or results.
