Skip to main content
Feedback

Detecting anomalies

Agent Control Tower introduces anomaly detection, transforming the Agent Control Tower from a passive monitoring dashboard into an intelligent observability dashboard that enables you to rapidly identify issues. Anomaly detection empowers you with insight into irregular or unexpected agent behaviors.

Benefits of anomaly detection

  • Proactive Monitoring: Automatically flags unusual behavior in agent performance, helping you take corrective action before it impacts your business processes.
  • Data-Driven Insights: Uses statistical modeling based on the last 30 days of activity to define dynamic normal ranges for each agent.
  • Improved Visibility: Centralized Anomaly Page displays anomalies across all agents, with filters for provider, anomaly type, and time period.
  • Faster Troubleshooting: Enables you to quickly identify which agents, accounts, or metrics are behaving abnormally.
  • Operational Efficiency: Reduces manual monitoring effort and provides early signals for performance optimization or scaling decisions.

The Control Tower performs anomaly detection at the account level, not at the user level. The system activates anomaly detection when you log into your Control Tower account. Currently, the system does not provide active alerts when the Agent Control Tower is inactive.

Error vs anomaly

  • Error: It usually means something went wrong according to predefined rules, for example, all forms of Throttles, Server Errors, and Client Errors.

  • Anomaly: An Anomaly reports unusual, unexpected, or irregular behaviour that may not necessarily be wrong but is outside normal patterns. The detection uses a 30-day metric window to establish a baseline behaviour and scope out deviations.

How is an anomaly calculated?

The anomalies are calculated only when you log into the Control Tower. Anomalies are calculated by tracking trends over a 30-day period. Any deviation from the recognised trend is flagged as an anomaly. Agent Studio continues to collect the agent metrics as soon as you interact with an agent. Every 5 minutes Agent Control tower checks for anomalies, and any anomalies found are notified irrespective of the page you are working on but these notification banners are only visible if you are on control tower.

Anomalies are aggregated and displayed in time buckets of an hour. This aims to give you a deeper understanding as to when the agent behaved unusually.

Time range

The baseline of an anomaly is the average (AVG) and standard deviation (STDDEV) for a specific metric (e.g., ModelInvocationCount) computed over the past 30 days for a fixed agent.

A metric is marked as anomalous when its value differs from the 30-day average by more than a set multiplier (currently using a default value) times the 30-day standard deviation. The system checks the lowest and highest values in each 1-hour period. For example, if the average number of invocations over the last 30 days was 1,000, and a new period suddenly records 20,000, this sharp increase would likely be flagged as an anomaly because 20,000 is much higher than what the system’s 30-day baseline expects.

For new agents, anomalies are detected using whatever limited data is available. If a new agent’s metrics go beyond the allowed threshold range, they’ll be flagged as anomalies. However, small variations are expected and will still be considered normal, only large deviations from typical behavior are treated as anomalies.

Accessing anomalies

You can navigate to the Anomaly page from the left-hand menu or by using the anomaly icon present on every screen. When you log into Agent Control Tower, the system displays a notification for new anomalies.

Navigating to anomalies

For every detected anomaly, the system collects and presents the following data on the dashboard.:

  • Most Anomalous Agent: The agent with the highest number of anomalies detected within the selected time range and filters.
  • Peak Anomaly Day: The single day within the selected time range and filters where the highest number of anomalies occurred.
  • Peak Anomalous Account: The account with the highest number of anomalies detected within the selected time range and filters.

Filtering enables you to view anomalies according to specific requirements. You can filter between:

  • Agents
  • Providers
  • Anomaly Type

The filter reflects on all the cards and the table contents.

The anomaly types include:

Anomaly/Metric nameUnitDescription
InvocationCountInvocation Count refers to the total number of times an AI agent was invoked.
Model LatencySecondsModel Latency refers to the amount of time taken by the AI agent’s model itself to process and generate a response, excluding network and preprocessing delays.
Total TimeSecondsTotal Time refers to the overall time taken for an AI agent execution, from the start of the request to completion.
TTFT(Time to First Token)SecondsTTFT(Time to First Token) refers to the time taken from sending a user query to receiving the first token of the AI agent’s response.
Input TokenTokensInput Token refers to the total number of tokens in the text sent to an AI agent as part of a user query.
Output TokenTokensOutput Token refers to the total number of tokens generated in an AI agent’s response to a user query.
On this Page