Datadog adds production traffic experiments to AI agent evaluation

Datadog is adding Online Experiments to its Agent Observability platform so engineering teams can compare two versions of an AI agent on real user requests. Teams can use feature flags to limit an experiment to a small share of users, then randomly split that traffic between a control and a modified agent. The results show answer quality alongside execution time, token use, estimated cost and workflow errors.

In a model comparison described by InfoQ, Datadog split traffic evenly between GPT-5.6 Luna and GPT-6 Luna. A language-model evaluator scored each investigation on a scale of 1 to 5 for accuracy, completeness and whether the evidence supported its conclusions. The two models scored 3.84 and 3.86, respectively, while the newer model’s estimated cost was 44.3% lower.

The quality scores missed a difference in tool use. Execution traces showed that the newer model supplied invalid arguments to tools more often but usually recovered on retry. Estimates also suggested longer execution times and more workflow errors, though the confidence intervals were too wide to establish a regression. Datadog used the trace findings to improve its tool-handling logic before proceeding with the model change. The failed calls also provided candidates for offline regression tests.

The feature complements predeployment testing. A fixed dataset lets engineers check a revised prompt, model or retrieval strategy against known cases. Live requests can expose unfamiliar workflows and unexpected tool responses. By linking experiment results to the calls, arguments and responses in individual traces, engineers can investigate why two agents behave differently even when their final answers earn similar scores.