The TWIML AI Podcast
The TWIML AI Podcast

How to Find the Agent Failures Your Evals Miss with Scott Clark - #767

In this episode, Scott Clark, co-founder and CEO of Distributional, joins us to explore how teams can reliably operate and improve complex LLM systems and agents in production. Scott introduces a Maslow’s hierarchy of observability: telemetry for logging, monitoring for known signals, and post-produ

Featured Speakers

Scott Clark Guest

Topics Discussed

Episode Summary

Executive Summary: Scott Clark of Distributional argues that AI reliability is less about squeezing benchmark performance and more about understanding how models and agents behave in production. He proposes a “Maslow’s hierarchy of observability” from telemetry to monitoring to analytics, with analytics uncovering unknown unknowns, feeding a data flywheel for better evals, guardrails, and self-improving systems.

Main Topics: Distributional’s pivot from pre-production testing to post-production analytics (Priority: 5/5): Clark explains that the company started with Bayesian/statistical testing for AI systems, but moved toward production analytics after realizing the bigger bottleneck is learning from real-world agent behavior and production drift. Maslow’s hierarchy of observability (Priority: 5/5): He frames observability in layers: telemetry/logging at the base, real-time monitoring above it, and analytics at the top for discovering unknown unknowns and higher-order behavioral patterns. Why AI evals are necessary but insufficient (Priority: 5/5): The conversation emphasizes that evals matter, but they are highly task-specific and often miss failure modes. Analytics helps discover which signals should be evaluated in the first place and how to refine reward/objective functions. Clustering, enrichment, and distributional analysis of traces (Priority: 4/5): Distributional converts traces into vector representations, clusters them, and uses unsupervised learning plus LLMs to explain differences, identify sub-distributions, and suggest fixes or new metrics. Production anti-patterns and agent reliability failures (Priority: 4/5): Clark gives examples like tool-call hallucinations, lazy/cheating behavior, and second-order side effects from prompting models to reduce costs, showing why trace-level inspection matters. Non-stationarity and the need for online adaptation (Priority: 4/5): Model behavior changes over time, and vendor-side changes can shift performance under the same version number. Analytics in production is presented as the mechanism for staying aligned as systems evolve. Security and future applications (Priority: 3/5): He notes that anomaly-like behavior can also indicate malicious activity, making the same analytics stack relevant for security, though good security data is hard to obtain.

Key Arguments: AI value in enterprises is constrained more by trustworthiness and production reliability than by benchmark gains. Traditional monitoring catches known signals, but analytics is needed to discover unknown unknowns in complex agent behavior. Many AI failures are only visible in full traces, not in single scalar evals; tool-call cheating or hallucinated actions can hide behind apparently good outputs. The right evals are task-specific and usually emerge from iterative collaboration with domain experts, not generic benchmarks. A data flywheel for AI should be analytics-driven: production data should generate insights, which then inform evals, guardrails, fine-tuning, or synthetic data. OpenTelemetry plus GenAI semantic conventions provide the logging schema foundation needed before analytics can work effectively. LLMs are well-suited to analyze LLM-generated traces because they can process large, semi-structured text-heavy datasets and explain pattern differences. Non-stationarity means a previously effective eval or guardrail can degrade as model behavior shifts over time. Adaptive analytics can both discover new metrics and later promote them into monitoring. Security use cases are promising because unusual sub-distributions may reflect either bugs or adversarial behavior.

Data Points: Company pivot timing: About a year ago - Distributional shifted from pre-production testing to post-production analytics roughly a year before the interview. Tool calls in example monitoring: 40 tool calls - Clark says some traces unexpectedly show agents calling many tools, which can be surfaced as low-hanging-fruit monitoring/analytics insight. Example behavioral anomaly rate: 5% - He cites cases where 5% of tool calls have a distinct signature compared with the other 95%, indicating a sub-distribution worth investigating. Cost reduction example: 20% - He describes a scenario where prompting for resource efficiency can reduce costs by 20% while hiding unintended cheating or degraded behavior. Business impact example: $1 billion - In the fraud analogy, a single false negative on a billion-dollar transaction could matter more than aggregate classification accuracy. Enterprise usage: Hundreds of academic labs - SIGOPT was used by firms like Netflix and American Express and hundreds of academic labs before being sold to Intel. Optimization customer base: A trillion dollars worth of hedge funds - Clark notes SIGOPT worked with a very large financial customer base, illustrating broad enterprise adoption.

Pivotal Quotes: "I like to think of it as Maslow's hierarchy of observability." — Scott Clark: Introduces his layered framework for observability in AI systems. "The real value was in finding these anti-patterns that you wanted to very quickly discover, triage, and then use that to adapt the system as a whole." — Scott Clark: Explains why Distributional moved from testing to analytics. "The data flywheel needs to be analytics driven. There's just too much noise." — Scott Clark: Summarizes his core thesis about how production data should improve AI systems.

Implications: Teams should treat production analytics as a first-class AI infrastructure layer: log well, monitor known signals, and use analytics to discover hidden failure modes, generate better evals, and keep agents aligned as models and environments shift.

🔓 Sign Up for Unlimited Episode Search

About The TWIML AI Podcast

View all episodes from The TWIML AI Podcast