惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
量子位
V
Visual Studio Blog
博客园 - Franky
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
罗磊的独立博客
小众软件
小众软件
V
V2EX
GbyAI
GbyAI
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
月光博客
月光博客
Recent Announcements
Recent Announcements
雷峰网
雷峰网
F
Fortinet All Blogs
M
MIT News - Artificial intelligence

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Improve AI agent quality with Bits Evals
Rashel Hoover, Michael Bevilacqua-Linn · 2026-06-09 · via Datadog | The Monitor blog

Coding agents such as Claude Code and Codex can handle much of the actual coding work involved in AI agent development, but they aren’t as well-equipped for other key tasks, such as setting up experiments and evaluations, analyzing errors and experiment results, and creating datasets. These activities require some level of human judgment, which makes the full AI agent development workflow hard to automate. While teams often develop and maintain custom scripts, skills, and runbooks to help them in these efforts, engineers still spend hours on manual work.

Bits Evals, available in Preview, is a set of agentic features that handles the repetitive parts of the agent development loop while keeping engineers in control of the decisions that matter. This helps your team move from a production failure to a validated fix and a shipped improvement in hours, not days. For example, instead of spending hours combing through traces to find examples to add to your offline evals, Bits Evals can do the first-pass error analysis for you. Based on online evals or customer input like thumbs up or down, it generates candidate dataset records and evaluators, while leaving the choice of which ones to pull into your experiments up to you.  

In this post, we’ll outline the full agent improvement workflow, then look at how Bits Evals supports this loop by helping you:

  • Capture user feedback directly in traces

  • Analyze production failures with structured root cause analysis

  • Generate evaluators and interpret experiments

Automating the AI agent improvement loop

Most AI engineering teams already follow some version of the same operational loop for building and improving AI agents. Teams collect signals from users, investigate failures in production traces, make changes to prompts or workflows, validate those changes with evaluations and experiments, and then monitor the results after deployment.

The challenge is that each step in this loop relies on different types of expertise (such as observability, eval design, experimentation, and deployment) and different toolsets. Production traces live in observability systems, evaluator logic often exists in custom scripts, and experiment analysis frequently depends on manual interpretation. As a result, teams spend significant time repeating operational work during every iteration of the loop.

For example, if end-user feedback lives in a different system than traces, there’s no direct connection between a user frustration signal and the spans that caused it. Analyzing errors means manually combing through traces with no structured way to surface what’s actually failing. Evaluators are often written from scratch based on intuition instead of production behavior, and experiment results require manual interpretation. This same workflow gets kicked off manually after every deployment, and the cycle begins again.

Bits Evals automates many of the repeatable steps in this workflow while preserving the human checkpoints that require engineering judgment. Engineers still decide which failures are important, which examples belong in a golden dataset, and whether a candidate build is ready for production. Bits runs the analysis so engineers can spend their time on decisions, not on gathering the inputs to make them.

Capture user feedback directly in traces 

Reliable evaluation starts with understanding what users actually experienced. Production traces can capture request flows, tool calls, and latency, but they do not always indicate whether the interaction was successful from the user’s perspective. For example, a support assistant may complete every tool call successfully while still returning an unhelpful answer. Without explicit user feedback, that interaction may appear operationally healthy even though it represents a quality failure. Adding user feedback to traces helps Bits Evals identify those cases earlier.

Teams can capture thumbs up/down feedback and structured user feedback events through the ddtrace SDK or the Agent Observability API, attaching them directly to Agent Observability traces as a first-class signal alongside operational telemetry and evaluation results. You can then query this feedback alongside spans, tool calls, and eval scores. 

The ability to attach user feedback to traces as a signal is what makes downstream Bits Evals workflows more accurate. Without this signal, error analysis is limited to operational signals like latency and tool errors, which show that something went wrong but not whether the interaction satisfied the user’s intent. User feedback closes that gap, giving Bits Evals the input it needs to classify failures and generate evaluators that reflect real user outcomes rather than proxy metrics.

Agent Observability trace view showing user metadata attached to an agent interaction

Analyze production failures with structured root cause analysis

Once production feedback and online evaluations are attached to traces, Bits Evals can perform structured analysis on failing interactions. Instead of manually reviewing long trace lists, teams can use Bits Evals to classify sessions, group failures, and identify likely root causes.

The /llm-obs-session-classify Claude skill included in Bits Evals evaluates whether user intent was satisfied across an individual trace, a session, or a larger set of sessions associated with an application. To improve accuracy, the analysis combines multiple signal sources, including Agent Observability traces, data on user behavior from Datadog Real User Monitoring (RUM), Audit Trail events, and evaluation results where available. The skill returns a concise classification result—yes, partial, or no—with a one-sentence supporting reason. Engineers can also use verbose mode to get a markdown report that summarizes the failure patterns observed across sessions.

Teams can then use the /llm-obs-trace-rca Claude skill to perform root cause analysis on failing traces. The analysis produces a structured failure taxonomy that includes failure categories, supporting evidence from traces, and specific fix proposals grounded in the actual trace data. Rather than generating generic suggestions, the workflow analyzes prompt structure, routing logic, tool arguments, and system behavior captured in the trace. And when you run this skill inside Claude Code with access to the application codebase, it can also identify relevant source files and propose concrete code diffs tied to the observed failures.

Structured root cause analysis output showing failure categories, supporting evidence, and proposed fixes for an AI agent workflow

Even with automated analysis, human review remains important. Engineers still decide which failure groups represent high-priority issues and which traces should become part of the evaluation dataset.

These workflows are powered by the Agent Observability MCP Server, which gives coding agents direct access to traces, evaluations, and experiment data from within the development environment. Instead of switching between dashboards, notebooks, and local tooling, engineers can investigate failures directly from the environments where they build and debug agents.

Generate evaluators and interpret experiments

After identifying failure patterns, teams need a reliable way to validate fixes before deployment. Writing evaluators and curating datasets manually can become a bottleneck, especially when teams are iterating quickly on prompts, retrieval pipelines, or agent workflows.

Bits Evals helps speed up and improve these workflows by generating evaluator candidates directly from production traces and root cause analysis reports. The /llm-obs-eval-bootstrap Claude skill analyzes production failures and proposes evaluators that align with the observed failure modes.

You can use this skill to generate evaluators in several formats depending on your workflow, including as:

  • Python LLMJudge or BaseEvaluator classes ready for integration into experiment harnesses or CI/CD systems 

  • JSON specifications for manual implementation 

  • Online judges published directly into Datadog

Because the generated evaluators are based on production behavior instead of hypothetical edge cases, teams can focus experiments on issues that are already affecting users. This reduces the amount of manual setup required before running offline evaluations.

Bits Evals workflow generating evaluator code and dataset candidates from production trace analysis

The final, hard judgment calls still take place via human review: Engineers evaluate dataset quality, remove noisy examples, and validate evaluator logic before it runs.

Once experiments run, you can use the /llm-obs-experiment-analyzer Claude skill to help interpret the results. This skill compares baseline and candidate experiments, highlights regressions and improvements, and summarizes where the candidate system underperformed.

This analysis helps make deployment decisions more concrete. Instead of manually comparing metrics across dashboards and notebooks, teams receive a structured summary of what changed and whether the candidate appears ready for production rollout.

Monitor deployed changes and continue the loop

After changes are deployed, teams can use Agent Observability to monitor production traces, collect feedback, and identify new failure modes as usage patterns evolve—going back to the first step of the AI agent development loop as new signals emerge. Over time, this feedback loop helps teams refine their agents and evaluation coverage. 

Bits Evals helps reduce the operational overhead involved in this cycle by connecting production signals, root cause analysis, evaluator generation, and experiment interpretation into a unified workflow built on Datadog Agent Observability.

To learn more, sign up for the Preview, and read our documentation on Agent Observability Claude Skills and the Agent Observability MCP Server. If you’re new to Datadog, you can sign up for a 14-day free trial.