AI NewsInfrastructureAnnouncement

Google added a token-misuse watcher to the Gemini Agent Platform, with recall from 29 to 76 percent

Google launched a Token Misuse detector in private preview for the Gemini Enterprise Agent Platform. Recall on a 106-session test rose from 29 to 76 percent against a statistical baseline.

AI News

Editorial3 min read

LinkedInX

Why it mattersA team paying for agent output sometimes pays for prompt loops. A watcher that spots the loops before the next bill is useful. Google is one of the first vendors to publish real numbers on it.

A team paying for an AI agent by the token has one hidden bill. A single user, or a single prompt, runs up tokens with nothing useful coming back. Google announced a Token Misuse detector on 3 December. The feature is part of Agent Anomaly Detection on the Gemini Enterprise Agent Platform. It is in private preview, and it needs Agent Development Kit version 2.1.0 or later. The author of the post is Kevin Islas, a senior software engineer at Google.

What the detector watches for

The post lists three patterns. First is a "token spike," where a user asks for far more output than a normal task needs. The example given is a request for 30,000 words. Second is a "recursive meta-summary," where each turn reworks the previous answer instead of pulling from a source document. Third is an "infinite loop," where a user keeps asking for small variations and the session never reaches a deliverable.

The detector runs in two stages. A cheap statistical pass screens all traffic. Sessions that look suspicious go to a second pass. Google says the second pass uses Gemini itself to evaluate the full session. The system is asynchronous. It runs about two minutes behind the live session, which means the detection never slows the agent down.

The numbers Google publishes

The post gives one real benchmark, on Google's own test set. The team built 106 simulated runaway-token abuse sessions across six agents. On that set, recall rose from 29 percent with a statistical-only baseline to 76 percent with the two-stage pipeline. Precision rose from 94 percent to 98 percent. Google says the detector produced zero false positives on honest power-user sessions in the same test.

These are Google's own figures, measured on Google's own benchmark. There is no third-party number yet. The 106 sessions are small. A team running the detector against its own agents will see different results. The rules of thumb do not translate without a pilot. But the direction of the numbers is the point. A statistical rule on its own catches less than a third of the bad sessions. Adding a language model as a second pass more than doubles that figure. It also does not create new false positives on honest power users.

What the detector does not do, and what to watch next

The post does not share pricing for the detector, or what the extra Gemini pass costs per flagged session. It does not say whether a flagged session is terminated, throttled, or just notified. It does not list any public preview sign-up page. A reader who wants to try it has to go through a Google account team. Google also does not describe the agent-on-itself case. That is when a legitimate agent runs up tokens by writing bad prompts against itself. That is the harder case, and the post leaves it open.

For a team already paying for Gemini-backed agents in production, two things are new here. Google is one of the first platform vendors to publish a measured anomaly-detection number. The figure sets a floor that competitors will have to match. And the two-stage pattern, cheap statistics first and a language model second, is worth copying inside a home-built observability tool. A team does not have to wait for the private preview to build the same shape against its own logs.

Source

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project