Agent Observability Experiment Bootstrap logo

Agent Observability Experiment Bootstrap

Organization
datadog-labs
agent-observability-experiment-bootstrap

Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Use for experiment, dataset, evaluator, benchmark, regression, or LLM-as-a-judge scaffolding. The legacy Python invocation remains supported.

Overview

Publisherdatadog-labs
Repositoryagent-skills
Skill nameagent-observability-experiment-bootstrap
Stars
172
Forks
28
Bundled files
13
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 13 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by datadog-labs on GitHub. Read the source before you install it.

Installation

Install the Agent Observability Experiment Bootstrap AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/datadog-labs/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/agent-observability/agent-observability-experiment-bootstrap .claude/skills/agent-observability-experiment-bootstrap
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agent Observability Experiment Bootstrap in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Agent Observability Experiment Bootstrap on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Agent Observability Experiment Bootstrap is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

LLM Observability Experiment Bootstrap

Generate one reproducible experiment artifact. The artifact evaluates a task over a versioned dataset, records outputs and evaluator metrics, carries configuration and provenance, and prints a result link or identifiers when possible.

This skill is adapter-independent. Each adapter owns a language-specific directory under references/; load only the selected adapter contract. The directories are intentionally symmetric even when one adapter currently has fewer supporting references.

Invocation and compatibility

The installed directory and legacy invocation remain valid:

text
/agent-observability-experiment-bootstrap [--purpose TEXT] [--format py|ipynb|mjs]
  [--dataset PATH | --dataset-name NAME] [--dataset-version N]
  [--project-name NAME] [--evaluator-style function|class|remote]
  [--jobs N] [--output PATH] [--task-source module:function]
  [--placeholder-task] [--app-root PATH] [--env-file PATH]

General options:

text
--adapter python|node             # default: python
--format py|ipynb|mjs             # Python: py/ipynb; Node: mjs
--site SITE                      # otherwise DD_SITE or datadoghq.com

Do not prompt for optional defaults. Resolve a non-empty purpose from --purpose, the request, or a focused question. Keep the purpose as reasoning context, not a fixed taxonomy.

Mandatory context loading

Load context in this order:

  1. Parse the adapter.
  2. Read exactly one adapter reference:
    • Python SDK → references/python/python.md
    • Node SDK → references/node/nodejs.md
  3. For Python task generation, read only the selected provider reference under references/python/providers/.
  4. For Python task generation, read only the selected evaluator reference under references/python/evaluator-styles/.

Do not load all provider, evaluator, Python, and Node references “for completeness.” The selected reference is the source of truth for syntax and API behavior.

Adapter selection

Use Python when the application or requested artifact is Python, or when no adapter is specified. Use Node when the application is JavaScript/TypeScript and the local dd-trace package exposes tracer.llmobs.experiments.

Never mix the Python and Node SDKs in one generated artifact. Do not use private SDK modules or invent a missing symbol. If local source and an installed package disagree, report the discrepancy and generate against the selected version.

Shared experiment model

Every adapter must represent the following concepts:

  1. Project — resolve an explicit project name, configured service metadata, or a clearly documented generated fallback. Never silently use an unrelated project.
  2. Dataset — records with input, optional expected output, optional metadata, and tags. Pin a remote dataset version when supplied.
  3. Task — a deterministic adapter from record input to the application under test. Keep evaluation logic outside the task.
  4. Evaluators — named row-level or summary-level metrics. Use deterministic checks for contracts and judges only where semantic evaluation is needed.
  5. Run state — preserve task errors, evaluator errors, completion state, result rows, and partial failures separately.
  6. Provenance — include purpose, adapter, skill name/version, project, dataset identity/version, task source, evaluator labels/rubrics, model/configuration, Git revision, and generation timestamp.

expected_output is optional and must not be synthesized from an observed production output without explicit validation. Distinguish a missing value from an intentionally empty object. Dataset tags must use the backend’s validated key:value form where the selected reference requires it.

Generation workflow

1. Resolve purpose and project

Derive the purpose and project without guessing across product boundaries. A project is not automatically the same as an ml_app, service, dataset, or repository name. Record how each value was resolved.

2. Resolve the dataset

Support:

  • inline records;
  • local JSON or CSV;
  • a named remote dataset and optional version; and
  • an explicitly approved trace/annotation export.

For local JSON, require a top-level array, validate the selected adapter’s record shape, scrub obvious PII and credential-like values, and report affected record indices. Do not invent canonical or remote record IDs.

For CSV, preserve the runtime path and document the dependency. Use the Python CSV column contract from references/python/python.md; Node generation must not pretend that a Python-only CSV helper exists.

3. Resolve the task

Use --task-source when provided. Otherwise use the selected language’s bounded application discovery rules:

  • Python: inspect the resolved app root and rank real callable candidates.
  • Node: prefer an explicit import/module function and emit a clearly marked placeholder when absent.

Never claim that an invented import is wired. Preserve side-effect warnings for network, database, filesystem, environment, or tool calls.

4. Select evaluators

Select two or three evaluators based on purpose and available signals. Keep labels unique and stable.

  • Accuracy: exact/near match plus a richer rule or judge when needed.
  • Tool use: inspect structured tool calls; state the limitation when the task does not expose them.
  • Structured output: parse and validate the schema.
  • Retrieval: evaluate groundedness only when retrieved context is available.
  • Regression: prefer deterministic checks and explicit thresholds.
  • Exploration: include diagnostics or taxonomy metrics, not only a pass/fail score.

Evaluator failures must not become passing values. Summary evaluators must remain distinct from row evaluators.

5. Emit the artifact

Use the selected adapter reference for the exact generated code. Include:

  • purpose and project resolution;
  • dataset source and version;
  • real task source or a prominent placeholder warning;
  • evaluator labels and rubrics;
  • configuration and provenance;
  • credential instructions without literal secrets; and
  • a result URL/ID placeholder and next steps.

Preserve the historical Python section ordering and evaluator/provider reference behavior when using the Python adapter.

6. Validate locally

Before presenting the artifact:

  • Python .py: python -m py_compile <path>.
  • Python .ipynb: parse JSON and require code/markdown cells.
  • Node .mjs: node --check <path>.

For every adapter, check for private imports, literal credentials, malformed tags, missing provenance, mismatched dataset versions, fabricated IDs, and task/evaluator errors that were collapsed into false or pass.

7. Report completion

Use this compact structure:

text
Generated LLM Observability experiment: <adapter>/<format>
Path: <path>
Purpose: "<purpose>"
Project: <project>
Dataset: <local path | name>, version=<version or latest>
Task: <wired source | placeholder>
Evaluators: <labels>
Provenance: generated_by=claude-code, adapter=<adapter>, skill=agent-observability-experiment-bootstrap
Validation: <commands and pass/fail>
Result link: <URL or pending until run>

Next steps:
1. Verify the task source and evaluator semantics.
2. Set the credentials required by the selected SDK.
3. Install the selected SDK and run the generated artifact.
4. Review per-row errors before treating metrics as a successful run.

Safety and uncertainty

  • Do not modify application source code unless explicitly asked.
  • Do not write credentials into generated files or artifacts.
  • Do not publish prompts, outputs, traces, datasets, or evaluations without explicit user approval.
  • Do not use production data as ground truth without labeling and validation.
  • Do not retry non-idempotent writes automatically unless the selected SDK explicitly supports it.
  • On partial publication, preserve IDs and failed rows and provide a reconciliation path.

Reference maintenance

Each adapter reference must identify the public source links and branch used to verify it. Re-check the reference when the SDK version changes. The Python reference uses the public dd-trace-py main branch; the Node reference uses the public dd-trace-js master branch.

Keep shared workflow guidance here and language-specific syntax in the references. If a detail is only true for one SDK, do not duplicate it in this file.

Existing references

  • references/python/ — Python ddtrace.llmobs API, providers, evaluator styles, environment template, and legacy compatibility.
  • references/node/ — Node tracer.llmobs.experiments API and future Node-specific references.

Do not modify dd-trace-py or dd-trace-js while updating this skill.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Agent Observability Experiment Bootstrap AI skill do?

Bootstrap a reproducible LLM Observability experiment through the Python ddtrace SDK or the Node dd-trace SDK. Use for experiment, dataset, evaluator, benchmark, regression, or LLM-as-a-judge scaffolding. The legacy Python invocation remains supported.

Why use Agent Observability Experiment Bootstrap on TypingMind?

Because you install it once and use it with any model. Agent Observability Experiment Bootstrap is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Agent Observability Experiment Bootstrap in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/datadog-labs/agent-skills/tree/main/agent-observability/agent-observability-experiment-bootstrap. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Agent Observability Experiment Bootstrap?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Agent Observability Experiment Bootstrap?

As many as you like. As long as a model supports skills, you can use Agent Observability Experiment Bootstrap with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Agent Observability Experiment Bootstrap AI skill free?

Yes. It is published on GitHub by datadog-labs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇