Skip to content

DataRobot experimentation plugin

The DataRobot experimentation plugin is tooling that lets you view traces without leaving your local environment. It bridges local development and the DataRobot platform by bringing tracing and observability tools directly into your workspace, eliminating the need to deploy to the platform just to test agent behavior. The result is a shorter iteration cycle when building agentic applications: immediate insight into traces, logs, and spans without breaking your local development flow.

The plugin integrates with the DataRobot CLI as dr xp and runs a local dashboard for visualizing DataRobot tracing and run data. Use it to facilitate early-stage agent development.

クイックスタート

# Install the plugin
dr plugin install xp

# Show available options
dr xp --help

# Start with a Use Case (the default entity type)
dr xp --entity-id <use-case-id>

# Start with a deployment on a custom port
dr xp --entity-type deployment --entity-id <deployment-id> --port 8091 

使用状況

dr xp --entity-type [TYPE] --entity-id [ID] --port [PORT] 

The server runs in the foreground and logs to your terminal. Stop it with Ctrl+C.

  • --entity-id is required (falls back to DATAROBOT_USE_CASE_ID in pulumi_config.json if present).
  • --entity-type defaults to Use Case (use_case). Also accepts the internal name experiment_container.
  • Value precedence: flag > environment variable > config file (.dr-xp.yaml) > pulumi_config.json > default.

Environment variable fallbacks

Add these variables to the .env file as needed.

  • DR_EXPERIMENT_ENTITY_TYPE (default: use_case)
  • DR_EXPERIMENT_ENTITY_ID
  • DR_EXPERIMENT_PORT (default: 8090)

Supported entity types

エンティティタイプ 説明
experiment_container (alias: use_case) Use case experiment container (default).
deployment Model deployment.
custom_application Custom application.
workload Workload.