Introduction
Offline evaluations help teams check an agent before release, but their results depend on the datasets and scoring criteria in use. They may not cover new user workflows, unexpected requests, or changes in tool responses. Datadog is adding Online Experiments to Agent Observability to let teams compare versions against real production interactions, rather than relying exclusively on prepared test sets.
Key points
- Compare variants on production traffic. Teams can test a baseline against a modified version, using randomized traffic allocation to reduce the influence of differences between requests. Feature flags provide a way to expose a change to only part of the audience initially.
- Consider quality alongside operating costs. Experiments can bring evaluator scores together with execution time, token usage, estimated cost, and workflow errors. Evaluators can assess answer quality, accuracy, and completeness, giving teams a broader view of the trade-offs behind a change.
- Trace outcomes back to agent behavior. Results can be linked to individual execution traces. Engineers can inspect tool calls, input parameters, and returned results to understand why variants behaved differently.
- Turn production discoveries into tests. Failures or unexpected behavior seen in real interactions can become candidates for offline regression datasets. Teams can then use subsequent experiments to check whether a fix works.
The article’s example splits production traffic evenly between GPT‑5.6 Luna and GPT‑6 Luna. A large-model evaluator scores investigation quality from 1 to 5. The newer model’s estimated cost is 44.3% lower, while its quality score is 3.86 versus 3.84 for the older model. However, estimated execution time and workflow errors rise for the newer model; the confidence intervals are too wide to establish a clear regression. Trace inspection also shows more invalid tool parameters, usually followed by successful retries. Datadog says the finding helped improve tool handling and identify cases to add to offline regression tests.
Why it matters
The significance is not simply another testing option. The approach links evaluation, controlled production experiments, and observability into a feedback loop: offline tests cover known cases, experiments probe behavior under real workloads, and traces help explain the causes behind results. It also makes trade-offs more visible. A cheaper model or revised retrieval strategy may affect latency, retries, or reliability, so a single quality score cannot tell the whole story.
Datadog positions this connection within its existing observability ecosystem. LangSmith and Langfuse offer agent tracing and evaluation, while platforms such as LaunchDarkly support controlled releases. Datadog’s emphasis is on connecting experiment results directly with operational metrics and execution evidence. Production experiments can complement offline evaluation, not replace it: a useful loop is to turn online discoveries into regression cases, then use controlled experiments to assess proposed fixes.
Comments
Checking sign-in status...
Loading comments...