OBS-OBS-01Tier IIObservability & Traceability

Live Telemetry & Anomaly Detection

Detect abnormal agent behaviour at runtime, not in post-hoc audits, and surface alerts to the right operator.

Runtime: ObserveAgentOps: Operate & MonitorSee on the matrix →
LIVE TELEMETRY & ANOMALY DETECTION Telemetrytool mix ·tokens · Baselineexpectedenvelope Δ Detectstatisticaltest Alertseverity ·rotation On-Callinvestigate ·stopMachine-speed action needs machine-speed alerting, not nightly log review.
In Plain English

This page is the complete instruction page for one pattern called "Live Telemetry & Anomaly Detection." It explains the problem this pattern solves, the idea behind the solution, when you should (and should not) use it, and what happens afterward, both the good effects and the costs.

This matters because building AI agents is not just about making them clever. It is also about making them safe and predictable. Following a well-tested pattern like this one helps avoid common mistakes, and shows you exactly which safety rules and regulations it connects to, listed under "Standards Mesh" on this page.

Context

Agents that misbehave at machine speed can cause damage faster than manual review catches. Runtime anomaly detection is the difference between an incident and a near-miss.

Problem

Reviewing logs nightly is insufficient for systems that act in seconds.

Forces

  • Alert volume vs catch rate
  • Detection latency vs false positives

Solution

Define expected behavioural envelopes: tool-use mix, average reasoning depth, token spend per task, refusal rate. Stream telemetry into anomaly detection. Alert on statistically significant deviations. Route alerts to a named on-call rotation.

Placement

Where this pattern acts in the two lifecycles

Runtime Cognitive
01Perceive
02Reason / Plan
03Decide
04Act
05Observe
06Reflect / Learn
07Terminate

05 Observe. Tool result ingestion, state update. 7 of 61 catalogue patterns act at this stage.

AgentOps Lifecycle
01Design & Scope
02Build & Integrate
03Evaluate & Red-Team
04Deploy
05Operate & Monitor
06Iterate & Adapt
07Decommission

05 Operate & Monitor. Runtime telemetry, drift detection. 18 of 61 catalogue patterns act at this stage.

Stages and counts from the catalogue data. The Runtime lens is the loop the agent runs each turn; the AgentOps lens is the lifecycle the team runs the agent through. See the Matrix for every pattern at each stage.

Applicability

  • High-volume production agents
  • Agents with write access
  • Multi-tenant platforms

Anti-Patterns

  • No alerting, only dashboards
  • Alert thresholds set once and forgotten

Consequences

  • +Fast detection of regressions and attacks
  • +Statistical baseline for "normal"
  • −Tuning effort
  • −Alert fatigue if thresholds wrong