AI · December 1, 2026

Datadog introduces online experiments for AI agent observability

a close up of a computer motherboard in the dark
Vishnu Mohanan / Unsplash

Datadog has expanded its Agent Observability platform by adding an Online Experiments capability. This new feature allows engineering teams to compare different versions of AI agents using real production traffic, reducing reliance on predefined evaluation datasets. The system integrates agent evaluation scores with operational metrics such as latency, token consumption, execution costs, and error counts to help teams verify if changes to models, prompts, retrieval strategies, or tools genuinely improve agent performance.

The release addresses a growing challenge in agent development where changes that perform well in controlled tests may behave differently when facing unpredictable user requests. By combining controlled experiments, production telemetry, and execution traces, the platform provides insights into both final outcomes and the behavioral details behind them. While offline evaluation remains a critical part of development for assessing outputs and identifying known regressions before deployment, its representativeness depends entirely on the datasets and scoring criteria used. New user workflows, unexpected requests, or changes in tool responses can expose defects that existing test cases never anticipated.

Online experiments target this gap by evaluating agent behavior based on real user interactions. Teams can compare a control version against a modified variant by randomly assigning production traffic between them, which mitigates the impact of user request differences. This approach reflects agent performance under actual workloads more accurately and helps identify new scenarios that can be added to offline regression datasets. The platform integrates Agent Observability evaluators with the Experiments capability, allowing teams to compare evaluation scores alongside standard operational metrics. Feature flags manage traffic allocation, enabling engineers to expose a small subset of users to a change before a full release.

This capability is significant because optimizations rarely come without trade-offs. A cheaper model might require more retries, while a revised retrieval strategy could improve evidence quality but increase execution time. Datadog also links experiment results to individual agent execution traces, allowing engineers to inspect tool calls, input parameters, and return results to understand why a variant performs differently. In a cited example, an experiment compared GPT-5.6 Luna and GPT-6 Luna with traffic split evenly between them. A large model evaluator scored investigation quality from one to five, considering accuracy, completeness, and evidence support. The results showed the new model reduced estimated costs by 44.3 percent, with quality scores remaining close at 3.84 and 3.86 respectively.

However, operational results revealed potential issues. The new model showed increased execution time and estimated workflow errors, though wide confidence intervals prevented confirmation of a clear regression. Inspection of execution traces indicated the new model more frequently provided invalid tool parameters, though it usually recovered after retries. This issue was difficult to capture in overall quality scores. Datadog used this finding to improve tool handling logic before proceeding with model changes, and the failed calls provided candidate cases for new offline regression tests. Competitors such as LangSmith and Langfuse offer agent tracing and evaluation, while LaunchDarkly supports controlled feature releases. Datadog's approach connects these concerns within its existing observability ecosystem, linking evaluation results directly with production experiments and execution evidence. The core philosophy is that online experiments build a feedback loop between production behavior and development testing, where unexpected online failures become new regression test cases, and subsequent experiments verify if fixes are effective. This shift moves focus from passing predefined evaluations to confirming better performance in real environments, making production experiments potentially as important as traditional software testing for agent engineering.