---
title: "Agent Anomaly Detection: Safeguarding agents across other clouds"
description: "Agent Anomaly Detection, now in Private Preview, can monitor agents running outside Google Cloud by reading their traces and logs. Agents on AWS Lambda, Microsoft Foundry, or on-premises send telemetry to a Google Cloud project via the Telemetry API and OpenTelemetry conventions. ADK for Python 2.12.0+ Google Cloud exporters and Workload Identity Federation enable this without a service account key. In tests, it flagged an AWS Lambda inventory agent for systematic scraping and resource exhaustion, and a Foundry customer-service agent for unverified refunds coerced by override instructions. The analysis runs separately and does not slow the agent."
---

# Agent Anomaly Detection: Safeguarding agents across other clouds

[Google](https://yomu.fyi/company/google) · Gopi Subburaja Alagar, Arvind Chaudhary · Nov 20, 2026

**Type:** Announcement

## Summary

Agent Anomaly Detection, now in Private Preview, can monitor agents running outside Google Cloud by reading their traces and logs. Agents on AWS Lambda, Microsoft Foundry, or on-premises send telemetry to a Google Cloud project via the Telemetry API and OpenTelemetry conventions. ADK for Python 2.12.0+ Google Cloud exporters and Workload Identity Federation enable this without a service account key. In tests, it flagged an AWS Lambda inventory agent for systematic scraping and resource exhaustion, and a Foundry customer-service agent for unverified refunds coerced by override instructions. The analysis runs separately and does not slow the agent.

## Context

Agent Anomaly Detection, now in Private Preview, previously monitored agents only on Google Cloud (Agent Runtime, Cloud Run, GKE). Many teams run agents on AWS Lambda, Microsoft Foundry, or on-premises, where they carry the same behavioral risks. This post explains how to extend monitoring to those environments.

## Approach / What changed

Agent Anomaly Detection reads traces and logs from agents via the Telemetry API and OpenTelemetry conventions. Agents on other clouds use Workload Identity Federation to obtain short-lived Google credentials without a service account key, and ADK for Python 2.12.0+ Google Cloud exporters send telemetry to a Google Cloud project. The analysis runs separately and does not slow the agent.

## Takeaways

- Agent Anomaly Detection monitors agents on other clouds by reading their traces and logs sent to a Google Cloud project via the Telemetry API.
- Agents use Workload Identity Federation to obtain short-lived Google credentials without a service account key, and ADK for Python 2.12.0+ exporters to send telemetry.
- In tests, Agent Anomaly Detection flagged an AWS Lambda inventory agent for systematic scraping and a Foundry customer-service agent for unverified refunds coerced by override instructions.

## FAQ

### What does an agent on another cloud need to send telemetry to Google Cloud?

The agent needs a Google identity without a service account key, obtained via Workload Identity Federation, and ADK for Python 2.12.0+ Google Cloud exporters configured with environment variables to send traces and logs to the Telemetry API.

### Does Agent Anomaly Detection require the agent's runtime to be on Google Cloud?

No. Only telemetry, including prompts and responses, goes to the Google Cloud project. The agent's model and tool calls still run where the agent runs, and the analysis runs separately so it does not slow the agent.

### What did Agent Anomaly Detection find for the AWS Lambda inventory agent?

Agent Anomaly Detection flagged sessions that showed systematic scraping, cascading failures, and resource exhaustion, even though no individual call failed. It recommended rate-limiting the list\_inventory tool.

**Tags:** [Agent Anomaly Detection](https://yomu.fyi/topic/agent-anomaly-detection), [AWS Lambda](https://yomu.fyi/topic/aws-lambda), [Google Cloud](https://yomu.fyi/topic/gcp), [Microsoft Foundry](https://yomu.fyi/topic/microsoft-foundry), [OpenTelemetry](https://yomu.fyi/topic/opentelemetry)

- Source: [Google](https://developers.googleblog.com/agent-anomaly-detection-safeguarding-agents-across-other-clouds)
- Source URL: https://developers.googleblog.com/agent-anomaly-detection-safeguarding-agents-across-other-clouds
- Ingested by Yomu: 2026-11-20T21:00:20.477Z

[Read original post](https://developers.googleblog.com/agent-anomaly-detection-safeguarding-agents-across-other-clouds)
