DET-221 · agent · confidence Medium

Spotting Agents That Run Too Hot

Alert when an agent's call volume, burst size, fan-out or spend departs sharply from its own history.

Some agent misuse shows up in the shape of activity rather than any single call. An agent that normally reads 40 records an hour and suddenly reads 40,000 is a signal, even if each read looks fine. The same goes for tight loops, strange timing, and wide fan-out to many tenants or recipients.

Baseline each agent on counts, rates, intervals, destinations, token use, storage growth and network volume. Compare each window with its own history, not with a global threshold. Include write and payment actions, since small fast changes can matter more than large reads.

Data sources
Agent gateway logsAPI gateway logsDatabase audit logsCloud billing exportVPC flow logs
Platforms
AI PlatformAWSSaaS

Logic

Per agent and per hour: calls = count(tool_calls); fanout = dc(target_id). Flag when calls > mean + 4*stddev over 14 days, or fanout > 3x the 14-day p95. SQL: SELECT agent_id, date_trunc('hour', ts) h, count(*) c FROM tool_calls GROUP BY 1,2 HAVING c > (SELECT p99 FROM agent_baseline b WHERE b.agent_id = tool_calls.agent_id).

False positives

Backfills, migrations, month-end jobs and launches. Tag planned bursts in the scheduler so they are excluded.

Catches 8 techniques