Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-observability-online-experiment

БесплатноБез исполняемых скриптовНе проверен

Load this skill when the user wants to run an online experiment (live-traffic A/B test) on an LLM application instrumented with Agent Observability: compare…

datadog-labsот datadog-labs★ 188 звёзд на GitHub

Об этом скилле

Set up an online experiment on an LLM application

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.

Skill argument

$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.

When to use this skill

  • The user wants to test a change (prompt, model, retrieval strategy, tool set) on real traffic rather than a fixed dataset.
  • The user has a change on a branch and wants to know whether it is better, cheaper, or both in production.
  • The user wants an experiment whose metrics come from Agent Observability evaluations, token counts, or cost.
  • The user starts from a Datadog managed prompt, for example 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.
  • The user tested a change in an offline experiment and now wants to test the same change on live traffic, for example 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).

Ground rules

  • Use one setup approval checkpoint. Before any write, finish the read-only discovery in Phase 0, make sensible recommendations, and present the complete proposed setup in one confirmation request. Include the flag, variants, metric definitions or reused metric IDs, desired-change directions, environment, subject, traffic split, code change, and every organization write you intend to make. Once the user approves that proposal, do not ask again before each flag, draft, link, metric, enablement, or allocation write that was clearly listed.
  • Make production risk explicit in that same checkpoint. If the proposal enables a production flag or replaces production allocations, say that the change takes effect immediately. A clear approval of that production proposal is sufficient; do not add a second confirmation that repeats the same information. Ask again only if read-back reveals a materially different or destructive replacement that was not in the approved proposal.
  • Starting is separate unless already explicit. Start only if the user explicitly asked to start the experiment. If the original request included starting, include it in the single setup proposal; otherwise finish with a draft and ask no start question until the user requests it.
  • Go one step at a time and read back. After each write, read the object back and report what the server actually stored, not what you sent.
  • Never attach metrics in parallel or alongside other metric edits. The attach operation sends the experiment's complete metric set to the server, so concurrent edits can overwrite each other.
  • Report failures plainly. If a step is refused (permissions, production restrictions), say so and give the user the manual alternative. Do not look for a workaround. If the Datadog MCP server is missing, disconnected, unauthenticated, lacks toolsets, or has no write tools, stop and follow the next section.
  • Do not guess identifiers. Environment IDs, flag IDs, metric IDs, and variant keys all come from the server.
  • Managed prompts own their flag. When the request names a managed prompt, follow Start from a managed prompt. Never create a second flag or add a Boolean code gate for that prompt.

Check the Datadog MCP server before anything else

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 ap

Полный SKILL.md на GitHub

Установить agent-observability-online-experiment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл agent-observability-online-experiment?

Load this skill when the user wants to run an online experiment (live-traffic A/B test) on an LLM application instrumented with Agent Observability: compare two versions of a prompt, model, or behavior using a Datadog feature flag, score metrics from evaluations, and cost and token metrics. Covers creating or reusing the flag, wiring the app, creating the experiment, attaching metrics, setting the traffic split, and starting it, including managed prompts and taking the change tested in an offline experiment onto live traffic. Triggers: online experiment, A/B test an LLM app, test a prompt change on live traffic, experiment with feature flag and evaluation score, start an online experiment from a managed prompt or offline experiment.

Как установить скилл agent-observability-online-experiment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-observability-online-experiment запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-observability-online-experiment с