/agent-skills:agent-observability-online-experimentfrom agent-skills
Runs live-traffic A/B tests on LLM applications instrumented with Agent Observability. Compares prompt, model, or behavior variants using Datadog feature flags and evaluation scores.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An online experiment splits live traffic between a control and a treatment version of an LLM application. A Datadog feature flag assigns each subject to a variant, and an Agent Observability evaluation score (plus cost and token usage) measures the outcome. This skill walks through the whole setup, from the flag to starting the experiment.
Online experiments for Agent Observability may require the feature to be enabled for the user's organization. If any step reports the feature is unavailable, tell the user to contact their Datadog representative rather than retrying.
$ML_APP is optional and supplies the value for the experiment's ml_app tag. For example, invoking this skill with checkout-assistant as the argument creates an experiment tagged with agent-observability and ml_app:checkout-assistant.
If the argument is omitted, empty, or whitespace-only, omit the ml_app tag entirely; do not send an empty ml_app: tag or infer its value from the application. Application and metric discovery still determines the ml_app used for instrumentation and metric filters. The agent-observability tag is required regardless of the argument.
Run an online experiment on version 3 of managed prompt checkout-assistant (ID: <uuid>). Reuse its managed feature flag. See Start from a managed prompt.Start an online experiment to test the code changes from offline experiment <experiment-id>. See Start from an offline experiment.Do not use it for running offline experiments over a dataset (use the LLM Observability experiment tooling) or for analyzing an experiment that already ran (agent-observability-experiment-analyzer or the Datadog experiments tooling).
This workflow needs a connected, authenticated Datadog MCP server with the llmobs, experiments, feature-flags, and core toolsets, and with MCP write access enabled. Check the active tool list against the table below before any other step, including before reading the application code or looking up an offline experiment. The skill being visible does not prove the tools are there: a coding agent can show it when only some of the toolsets are connected.
| Toolset | Read tools | Write tools |
|---|---|---|
feature-flags | list-environments, list-feature-flags, get-feature-flag, list-allocations-for-feature-flag | create-feature-flag, update-feature-flag-environment, sync-experiment-allocations-for-feature-flag-environment |
experiments | list-experiments, get-experiment, list-metrics, get-metric, list-subject-types, get-subject-type, get-experiment-diagnostics | create-experiment, link-feature-flag-to-experiment, create-metric, update-metric, attach-metric-to-experiment, start-experiment |
llmobs | search_llmobs_spans, list_llmobs_evals_by_ml_app, list_llmobs_experiments, get_llmobs_experiment_summary | none |
Coding agents often prefix tool names with the server name (for example mcp__datadog-online-experiments__create-experiment), so match on the name at the end. Then stop, before any write or further discovery, in whichever of these cases applies:
llmobs,core. Name the missing toolsets and give the setup instructions in Connect the Datadog MCP server.These checks apply at any point in the workflow, not only at the start. A Datadog tool call that fails because of the connection or authentication is a setup problem, not a step to retry. A write call refused because MCP write access or the mcp_write permission is missing is the write-access case. A refusal of one operation because the account lacks a resource permission, such as Feature Flags or Experiments write, or because of a production restriction, is not a setup problem: handle it as the phase describes.
Datadog organizations allow only read-only MCP tools by default, and the MCP server hides write tools from the tool list when writes are not allowed. Two settings control this, and both are managed by a Datadog administrator:
https://<app-host>/organization-settings/mcp. When it is off, no user in the organization sees MCP write tools, whatever their role.mcp_write permission on the user's role, in https://<app-host>/organization-settings/roles. Datadog Standard Role includes it; custom roles need it added.Build <app-host> with the host rules in Phase 3, taking the site from the application's DD_SITE configuration or the MCP server URL. Tell the user that the Datadog MCP server is connected but its write tools are unavailable, list the missing write tools, and give them both links together with the Required permissions guide. Ask them to have an administrator enable access, then reconnect or restart the MCP server so the coding agent loads the new tool list, and run this skill again. Do not create the flag, experiment, or metrics through another route in the meantime.
Tell the user what failed and which toolsets are missing, if any. Then give them the command for their coding agent, filled in with their Datadog site. Take the site from the application's DD_SITE configuration when there is one, otherwise ask; for example datadoghq.com (US1), us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, or uk1.datadoghq.com. The MCP host is the site with an mcp. prefix.
The Datadog MCP server and online experiments are not supported on the government sites ddog-gov.com (US1-FED) and us2.ddog-gov.com (US2-FED). If the organization is on one of them, tell the user that this workflow is not available on their site and stop. Do not give a setup command, because no MCP endpoint exists for those sites.
Claude Code. Run in a terminal, then restart Claude Code and authenticate the server with /mcp:
claude mcp add --scope user --transport http datadog-online-experiments 'https://mcp.<site>/v1/mcp?toolsets=llmobs,experiments,feature-flags,core'
If a Datadog server already exists under another name with fewer toolsets, remove it first with claude mcp remove <name>, so the session does not keep using the incomplete one.
Codex. Add to ~/.codex/config.toml, then authenticate and restart Codex:
[mcp_servers.datadog-online-experiments]
url = "https://mcp.<site>/v1/mcp"
http_headers = { "X-Datadog-MCP-Toolsets" = "llmobs,experiments,feature-flags,core" }
codex mcp login datadog-online-experiments
Cursor. Use the Datadog plugin, which includes the Datadog MCP server:
/ddsetup in the agent chat, select the Datadog site, and complete the login./ddtoolsets and turn on llmobs, experiments, feature-flags, and core.If a Datadog MCP server was added to Cursor by hand, for example under the name datadog-online-experiments, remove it from Cursor's MCP configuration so it does not conflict with the plugin.
Other coding agents. Add a remote HTTP MCP server, then authenticate when prompted:
Name: datadog-online-experiments
Transport: HTTP
URL: https://mcp.<site>/v1/mcp?toolsets=llmobs,experiments,feature-flags,core
For Claude Code, Codex, and other coding agents, also tell the user that Datadog shows the same setup commands for their site, with copy buttons: in LLM Observability, open Online Experiments (https://<app-host>/llm/online-experiments, using the host rules in Phase 3) and select New Online Experiment, or follow the steps on the page when no experiment exists yet. Ask the user to run this skill again once the server is connected. A newly added server is usually only available after the coding agent restarts.
If the server is connected and authenticated but the online experiment tools report that the feature is unavailable, the setup is correct: follow the feature-availability guidance at the top of this skill instead.
Users often test a change offline against a dataset first, and then ask for an online experiment on "the code changes from offline experiment <experiment-id>". An offline experiment stores results, not the code it tested, and what Datadog records about that code is unreliable. The Git commit tagged on an experiment's spans is whatever was checked out when it ran, which is often an unrelated trunk commit because the change under test was never committed. Do not try to work out the change from the experiment, its Git tags, its config, or the repository. Always ask the user to describe it, and test what they describe.
1. Read the experiment for context.
get_llmobs_experiment_summary with the experiment ID. It returns the dataset ID and the evaluation results. If the experiment is not found, ask the user to check the ID and that the MCP server is connected to the organization that ran it.list_llmobs_experiments with that dataset_id and experiment_ids set to the experiment ID, for the experiment's name and author. The tool requires a dataset or project ID, which is why the summary comes first; if the summary has no dataset ID, resolve the project with list_llmobs_projects and pass project_id instead.Use what you read only for the hypothesis and the choice of metric, never to identify the change.
2. Ask the user to describe the change. Ask right away, before the rest of Phase 0 discovery. The answer is needed to design the treatment, so this is an exception to asking one question at the end of Phase 0. Name the experiment and its ID so the user can confirm it is the right one, and ask for:
Do not offer a guessed answer for the user to confirm, such as a commit from the experiment's tags or a recent diff in the repository. Wait for their description before continuing.
3. Build the treatment from the description. The user's description defines the treatment. Use the code location they give to implement it, and include only what they described. If that code contains changes they did not mention, or does not match their description, ask which changes belong in the treatment instead of choosing yourself. Leave out changes that only served the offline run, such as the dataset, evaluators, or task-function plumbing. If the change was applied only inside the offline task code, for example by passing a new prompt, port it into the application's production code path behind the flag.
4. Carry the result into the proposal.
ml_app that measures the same thing. If none exists, say so in the proposal and recommend how to report one (see Phase 2).A Datadog managed prompt already has a versioned feature flag. Each prompt version is a flag variant, and the managed-prompt SDK lookup evaluates that flag. This path replaces the generic flag creation and Boolean application gate in Phases 1 and 2; the experiment, metrics, allocation, start, and verification phases still apply with the adaptations below.
Treat the request as a managed-prompt request when it explicitly says managed prompt, supplies a prompt registry UUID, or points to a prompt-version page in Datadog. The version named in the request is the intended treatment. Do not silently substitute the latest version.
Discover the existing prompt flag. Its key follows __llmobs__.prompt.<prompt_id>, where <prompt_id> is the SDK prompt ID/name and is not necessarily the registry UUID copied from the URL. Resolve the SDK prompt ID from the application's LLMObs.get_prompt(...) call, the prompt information in the request, and the server's flag list. Then read the exact flag and its variants. Confirm that the requested version exists as a variant. Do not infer a flag ID or variant ID from the prompt UUID.
Choose the control from deployed state. Read the flag's configuration in the target environment. The control is the prompt version currently served as that environment's default before the experiment; the requested version is the treatment. If the environment has no deployed/default prompt version, stop and ask the user to deploy a baseline from the managed prompt page first. Do not bootstrap the prompt by creating another flag or manually reconstructing registry-owned configuration. If the requested version is already the only/default version, explain that it cannot be compared with itself and ask which other version should be the treatment or control.
Check application readiness. Inspect the live code path and deployment configuration before proposing changes:
LLMObs.get_prompt(prompt_id, targeting_key=subject_identifier), rather than embedding the prompt text or evaluating a separate Boolean flag.version; pinning bypasses experiment assignment. Propose removing the pin only as part of the approval checkpoint, and preserve the application's existing fallback prompt and error handling.ddtrace[openfeature]>=4.15; for another language, verify support in that SDK rather than translating the Python API by guesswork.DD_LLMOBS_AGENTLESS_ENABLED=1, propose removing that setting as part of the approval checkpoint. Check tracer startup or debug logs for Agent connection errors. Successful prompt retrieval does not prove exposures are recorded: retrieval can continue directly with API and application keys, but the Agent-based setup does not automatically fall back to agentless exposure reporting. See Prompt Experimentation setup.DD_ENV must match the experiment environment, the Datadog Agent/provider must be reachable as required by that SDK, and targeting_key must be the same stable subject identifier used on evaluation scores and root spans.These are one-time application prerequisites, not per-experiment treatment code. If they are already satisfied, make no code change. Never create a second flag, add a Boolean branch around get_prompt, copy prompt contents into source, or mutate the managed flag outside the experiment allocation workflow.
Adapt the approval checkpoint. For this path, the single Phase 0 proposal must name the managed prompt and registry UUID, requested treatment version, deployed control version, existing managed flag key and ID, exact control/treatment variant keys, target environment, readiness findings and any one-time code changes, subject, metrics, allocation, writes, and whether start is included. Replace the generic proposal's “new flag and Boolean variants” fields with these managed-prompt fields.
Do not interrupt the investigation to ask for one input at a time. First perform all available read-only discovery:
ml_app, DD_ENV, and stable subject identifier.Then establish the complete proposal. Infer from context and use the defaults below wherever reasonable:
| Input | Notes |
|---|---|
| Application and its ML app name | The ml_app the application reports to Agent Observability. |
| Control and treatment | What differs between them. Usually the control is the current code path and the treatment is the change under test. |
| Hypothesis | Draft one or two sentences stating the expected mechanism and effect on quality, tokens, or cost. |
| Score metric(s) | Recommend the most relevant existing numeric evaluation score, including its desired-change direction. See Phase 4. |
| Environment | Infer from deployment configuration and the user's live-traffic goal. An experiment links to exactly one environment. |
| Traffic split | Default 50/50 control/treatment. |
| Flag name | For a managed prompt, use its existing __llmobs__.prompt.<prompt_id> flag. Otherwise default to a short, descriptive, kebab-case name. |
| Subject | What counts as one subject. See Phase 2. |
When metric-name search is needed, try naming variants before concluding that no metric exists: spaces, hyphens, underscores, and a meaningful substring. Inspect duplicate definitions rather than choosing by name alone. Prefer a definition already used by active experiments only when its source, columns, filters, aggregation, and desired-change direction match the proposal. Do not infer ML-app scope from a metric's name. If the user's requested existing metric lacks an ML-app filter or otherwise differs from the recommended definition, disclose that in the proposal and recommend whether to reuse or replace it.
Present one compact confirmation request containing:
ml_app;$ML_APP argument;End with one question: Confirm this complete setup, or tell me what to change. Use follow-up questions only for a genuinely blocking ambiguity that cannot be resolved from code, server state, or a safe default.
For a managed prompt, do not create a feature flag. Read back the existing __llmobs__.prompt.<prompt_id> flag identified during discovery and record its ID plus the exact variant IDs and keys for the deployed control version and requested treatment version. Stop if the flag or either version variant cannot be resolved. Continue to Phase 2 without changing the prompt flag's defaults, targeting rules, or ordinary serving allocations.
For every other experiment, create a flag as follows.
Create a Boolean flag with two variants: control = false and treatment = true. Make control the default variant.
FEATURE_GATE allocation in Phase 5 after linking. Extra rules interfere with the split.Listing environments gives the available ones (typically Production, Staging, Development). Note which are production: some actions on production are not available through the server and must be done in the Datadog UI.
The application must do three things for every subject: evaluate the flag, run the matching behavior, and report the score and spans under the same subject identifier.
For a managed prompt, the managed-prompt SDK lookup is both the flag evaluation and the variant application. Apply the readiness rules in Start from a managed prompt: call the prompt by SDK prompt ID without an exact version, pass the stable subject as targeting_key, and preserve fallback behavior. Do not add the Boolean evaluation or treatment branch described below. The score and span tagging requirements in this phase still apply.
Choose the subject identifier. It must be stable across the whole interaction being measured.
Use the same value in three places: the feature flag evaluation context's targetingKey, the subject_identifier tag on the evaluation score (the join key the Datadog online experiments guide requires), and the subject_identifier tag on the root span of each trace, which is what the cost and token metrics read. If these differ, Datadog cannot join exposure to outcome and the experiment shows missing metric data.
Evaluate a generic flag. For experiments that do not use a managed prompt, follow the Feature Flags SDK for the application's language. For Python this means a recent ddtrace plus the OpenFeature SDK, registering the Datadog provider once, and evaluating a Boolean flag with targeting_key set to the subject identifier. The SDK needs the Datadog API key, site, and DD_ENV set. Default the evaluation to false (control) and catch failures so a flag outage degrades to control instead of breaking the app.
Feature-flag management guidance may point to a React integration resource regardless of the application's language. Treat that as generic tool guidance, not as an instruction to add React code. Follow the SDK for the application's actual language and prefer an existing working provider/evaluation pattern in the repository.
Choose where the variant is applied. If the behavior is baked into state that persists (for example a system prompt stored in a conversation object), evaluate the flag once when that state is created, not on every call, so a subject cannot change variants mid-interaction. Derive the treatment from the control in code where possible so the two cannot drift.
Report the score. Submit the score evaluation with the Agent Observability SDK and add subject_identifier to its tags. Only evaluations with a numeric score metric type can be experiment metrics; Boolean, categorical, and other types cannot.
Tag the spans and the evaluations. Add the subject_identifier tag (for example subject_identifier:73b2efe1-03e3-40c1-ab6a-bd2a6cfbc865) to the Agent Observability spans and to the evaluation scores in the application's own code. Datadog converts the tag into the event's @usr.id field during ingestion, and that field is what the experiment joins to the flag exposure. Set the tag, not @usr.id: the SDK does not set that field directly, and the conversion happens in Datadog's backend.
Cost and token metrics read each completed root trace's rollup, so the tag must be on the trace's root span: the outermost workflow or agent span. Annotate that span through the SDK's span annotation call. For a span-scoped managed evaluator, also add the same tag to every span that evaluator scores because its outcome derives the subject from the evaluated span's own tags. A trace-scoped managed evaluator can propagate the root span's subject to its outcomes. Verify the evaluator's scope before reusing its metric. Tagging evaluated child spans does not double count cost or tokens because those metrics still measure only root traces.
The code must be deployed for the experiment to collect anything. Tell the user plainly that the flag, allocation, and experiment can exist before the deploy but record nothing until the application evaluates the flag in the linked environment, and that the application's DD_ENV must match that environment.
create-experiment request, set tags to ["agent-observability", "ml_app:<ML_APP>"] when $ML_APP is non-empty, replacing <ML_APP> with the argument's value. When the argument is omitted, empty, or whitespace-only, use ["agent-observability"]. Include these tags at creation time rather than adding them in a later update. The primary metric can be attached afterwards, so it is fine to create the draft before the metrics exist.@usr.id, matching the field produced from Phase 2's subject_identifier tag. Starting requires a subject type, but do not accept an arbitrary server-selected default: subject types mapped to another field cannot join these Agent Observability outcomes. Explicitly select an @usr.id-compatible subject type before proceeding. If the available capabilities cannot inspect or configure the mapping, direct the user to the Datadog UI and stop until it is confirmed.An alternative to creating the flag first is a single operation that creates the flag together with an experiment-linked allocation (the create-experiment-feature-flag tool). It needs the experiment and the environment to exist up front. The step-by-step path above keeps each write small and easy to read back, which is why this skill uses it.
Report the experiment's name and ID. Construct its direct Product Analytics URL as
https://<app-host>/product-analytics/experiments/<experiment-id>, using the ID returned by the server and the application host for the organization's Datadog site. For US1 use app.datadoghq.com; for EU use app.datadoghq.eu; regional sites such as us5.datadoghq.com use that host directly; and datad0g.com uses dd.datad0g.com. Include this link in the final handoff after completing the setup instructions, whether the experiment remains a draft or has been started.
List the existing experiment metrics first. If a metric already measures the user's score for this ML app, reuse it. If any existing metric is built on Agent Observability data, read its stored definition and copy its column names instead of guessing them. The same applies to cost and token metrics.
The primary metric is the score approved in Phase 0. If the user named none, list the evaluations that exist for the ML app and recommend the most relevant numeric score in the single setup proposal. Do not pause here for another choice unless read-back contradicts the approved definition.
METRIC_INCREASES or METRIC_DECREASES. This field is required, and a wrong value inverts how every result reads, so include it explicitly in the Phase 0 proposal.Example definition (the columns are the standard evaluation event fields: label, score value, and ML app):
data source: DATADOG
source type/subtype: LLMOBS / LLMOBS_EVAL_METRICS
aggregation: average of @score_value
source filter: @ml_app = <ml_app> AND @label = <evaluation label>
desired change: METRIC_INCREASES (for a score where higher is better)
Add two secondary metrics so the user can see what the change costs. Both measure completed LLM Observability root traces and are averaged per trace:
@trace.total_tokens. Desired change: METRIC_DECREASES.@trace.estimated_total_cost. Desired change: METRIC_DECREASES.Use the Agent Observability span source (LLMOBS / LLMOBS_SPANS) with the average operation and column type int. Filter on @ml_app = <ml_app> through the ordinary event filters so traces from other applications used by the same subject cannot enter the result. Do not add filters for trace completion or root-span status: the platform applies those eligibility rules itself and a metric definition cannot override them. Do not sum over all spans, which counts child spans and unfinished traces. If the organization already has an LLM Observability span metric, copy its column names and type from its stored definition instead of relying on the names here, but reuse it only if its stored filter already scopes it to this @ml_app. The trace rollups are expected to be integers. If the metric shows no data, check the column type first, since the stored type must match what the platform exposes.
Attach one at a time, never concurrently:
Read the experiment back and confirm the primary metric is set. Some experiment reads omit secondary metrics; in that case use the successful attachment response's complete metric set as the confirmation and say plainly that the general experiment read does not expose them.
An experiment links to exactly one environment through one allocation.
Enable the flag in the environment(s) the user asked for. Enabling a flag may be refused for a production environment through the server, which directs the user to the UI. If that happens, give the user the flag's UI link and ask them to enable it there. Changing allocations (step 3) is a separate operation and can still be available for production.
List the flag's complete allocation set in the target environment and in any other environment already linked to this experiment. Setting allocations is a full replacement, so preserve every unrelated allocation and all of its settings in each replacement request.
Add or update exactly one feature-gate allocation linked to the experiment, while retaining unrelated allocations in the complete replacement list. Its variant weights are percentages that total exactly 100 (for example 50 control and 50 treatment). Include an exposure schedule in the same call, or the experiment will not start (see the next paragraph). Setting the allocation without one succeeds, and the start step later rejects it as not ready. The allocation needs an exposure schedule with all of these fields, or the start step reports it as not ready. This holds even though the generic allocation schema says to omit the schedule for feature gates: that advice is for gates that are not linked to an experiment.
selection_interval_ms (required by that strategy);none, so the schedule does not begin by itself and the experiment's own start controls timing;exposure_ratio 1.0 (a 0-1 ratio, not 100), is_pause_record false, and grouped_step_index 0, so the percentages in the variant weights apply to all traffic;control_variant_key, naming the control variant (the allocation can be saved without it, but the start step then reports invalid allocation weights).Do not use a partial rollout ramp here. The 50/50 split is already expressed by the weights.
If the experiment is already linked to an allocation in another environment, read that environment's complete allocation set and remove only the allocation linked to this experiment, preserving every other allocation and its settings, before creating the new allocation. Do not replace an environment with an empty list unless the approved setup explicitly removes all of its allocations. If an allocation key already exists, identify the conflicting allocation: reuse it only when it belongs to the approved setup; otherwise choose a new unique key. Ask again if this recovery differs materially from the approved proposal.
Read the allocations back and confirm the environment, the weights, and the experiment link.
For a managed prompt, the flag must already have a deployed baseline in the target environment. Preserve its registry-owned serving configuration and every unrelated allocation. In the experiment-linked allocation, use the exact prompt-version variant keys read in Phase 1: the deployed version is control and the requested version is treatment. Never use Boolean control/treatment variants for a managed prompt, and never change its default version merely to create the experiment.
Production allocation changes take effect immediately. If the environment requires approval for flag changes, the change may wait for that approval instead of applying. The approved Phase 0 proposal is the environment and production confirmation; do not ask again unless the existing allocation set differs materially from what that proposal said would be replaced.
Start only when the user explicitly asks. Immediately before starting, independently verify rather than relying only on the start operation's readiness check:
Do not invoke start while the linked environment is known to be disabled. The start readiness check may validate allocation structure without enforcing flag enablement or deployment, so a successful start does not prove traffic can flow.
Then start the experiment (the start-experiment tool). It runs its own readiness check and returns the structural blockers it can detect, each with an action. Apply all of the actions, then retry once. Expect to need more than one pass: it reports the blockers it can currently detect, and fixing one can reveal the next (for example a missing exposure schedule first, then an invalid control variant on that schedule). Repairing an allocation replaces the flag's allocation set, so read the allocations first; ask again only when the required replacement differs from the one approved in Phase 0. If it returns a permissions error, report that the account lacks permission to start experiments, stop, and offer the UI's preview-and-start flow. Do not loop on retries.
After it starts, read the experiment back and report its status.
Once the application is deployed and receiving traffic:
subject_identifier matches the targetingKey exactly; the root span carries the tag; the traces are complete; the metric's column names and types are right.For reading the results once enough data has arrived, use agent-observability-experiment-analyzer or the Datadog experiments tooling available in the active MCP server.
config, or the repository, instead of asking the user to describe the change.@usr.id.@ml_app filter.control_variant_key, which blocks the start step.desired change set the wrong way round.LLMObs.get_prompt to an exact version, which bypasses managed-prompt experiment assignment.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub datadog-labs/agent-skills --plugin agent-skills78 skills in this plugin
/agent-observability-auto-experimentRun an iterative code-improvement hill-climb against real Datadog LLM-Obs data, locally, with Claude Code as the agent. Establishes a baseline eval, makes one focused change, re-scores both splits with the same harness, keeps the change when held-out test improves without overfitting val (labeling within-noise gains tentative), and repeats. This is the skill published as "Autoresearch" in Datadog Agent Observability. Use when the user says "run an auto experiment", "run autoresearch", "hill-climb this code", "iteratively improve X and measure the delta", "optimize this code/agent/pipeline/prompt against my traces", "auto-optimize against LLM-Obs", or wants the local equivalent of the auto_experiments worker. Works from an ml_app, a dataset_id, an annotation_queue_id (a queue of human-labelled interactions), a list of trace_ids, or (by exception) a local dataset file. The corpus and its val/test splits live in Datadog LLM-Obs Datasets, created once per run with a timestamp in their names./agent-observability-build-eval-from-annotationsFit a Datadog LLM-Obs evaluator to human labels. Takes an annotation queue, works out where in the trace the labelled property actually lives, drafts an LLM-judge that predicts the human label, scores that judge against the already-labelled rows with a metric agreed with the user, then hill-climbs it — inspect the errors, make one focused change, re-score, keep it only if it beats the best — for a bounded number of iterations, and finally publishes the winner to Datadog as a DISABLED evaluator (not a Datadog draft — a real evaluator with `enabled: false`). Use when the user says "build an eval from my annotations", "build an evaluator from the annotation queue", "turn my annotations into an evaluator", "learn an evaluator from my labels", "fit a judge to the annotation queue", "auto-label", "auto labelling", "automate this annotation queue", "scale up my human labels", or wants the rest of a queue graded the way the humans graded the first rows. Needs an annotation queue with at least two classes present in the human labels (e.g. one true and one false for a boolean).Other plugins' skills for the same job