본문으로 건너뛰기
cccskills
무료GitHub에 공개

datarobot-model-deployment

Tools and guidance for deploying DataRobot models, managing deployments, configuring prediction environments, and deployment operations. Use when deploying models, creating or updating deployments, or configuring prediction environments.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DataRobot Model Deployment Skill

This skill provides comprehensive guidance for deploying models, managing deployment configurations, and operating production deployments.

Quick Start

Most common use case: Deploy a trained model to production

  1. Get best model: Find the best model from a project (highest metric score)
  2. Create deployment: create_deployment(model_id, deployment_name) to deploy model
  3. Get endpoint: get_deployment_endpoint(deployment_id) to retrieve prediction URL

Example: "Deploy the best model from project abc123 as 'Sales Prediction v1'"

When to use this skill

Use this skill when you need to:

  • Deploy trained models to production
  • Configure deployment settings and environments
  • Manage multiple deployments
  • Replace a deployment’s champion model with a new model version
  • Configure prediction servers and environments
  • Monitor deployment health and status
  • Manage deployment access and permissions

Key capabilities

1. Deployment Creation

  • Deploy models from projects or registered models
  • Choose prediction environment (DataRobot Serverless, external)
  • Configure deployment settings (challenger models, A/B testing)
  • Set up deployment metadata and descriptions

2. Deployment Configuration

  • Configure prediction servers and environments
  • Set up batch prediction settings
  • Configure real-time prediction endpoints
  • Manage deployment credentials and access

3. Deployment Management

  • Replace deployment champion model (model swap)
  • Enable/disable deployments
  • Manage challenger models for A/B testing
  • Configure replacement policies

4. Deployment Operations

  • Get deployment information and status
  • Retrieve deployment endpoints
  • Manage deployment settings
  • Handle deployment errors and issues

Workflow examples

Example 1: Deploy a model to production

User request: "Deploy the best model from project abc123 to production with the name 'Sales Prediction v1'."

Agent workflow:

  1. Get the best model from the project (highest metric score)
  2. Create a new deployment with the model
  3. Configure deployment settings (name, description, environment)
  4. Set up prediction environment (DataRobot Serverless recommended)
  5. Retrieve deployment endpoint and credentials
  6. Verify deployment is active and ready for predictions

Example 2: Update deployment with new model

User request: "Replace the model in deployment xyz789 with the latest model from project abc123."

Agent workflow:

  1. Get the latest model from the project
  2. Retrieve current deployment information
  3. Validate the replacement model is eligible (deployment.validate_replacement_model(...))
  4. Perform model replacement (deployment.perform_model_replace(...))
  5. Verify replacement completed successfully
  6. Report deployment update status

Using DataRobot SDK

This skill guides you to use the DataRobot Python SDK directly. Install the SDK if needed:

pip install datarobot

Key SDK Operations

Use these DataRobot SDK methods for deployment management:

Deployments:

  • dr.Deployment.create_from_learning_model(model_id, label) - Create deployment
  • dr.Deployment.get(deployment_id) - Get deployment details
  • dr.Deployment.list(project_id) - List deployments
  • deployment.delete() - Delete deployment

Model Replacement (champion swap):

  • deployment.validate_replacement_model(new_model_id=...) - Validate replacement eligibility
  • deployment.perform_model_replace(new_model_id=..., reason=...) - Replace champion model (async)

Challenger Models (limited via SDK):

  • deployment.list_challengers() - List challenger models (if enabled/configured)
  • deployment.get_challenger_models_settings() / deployment.update_challenger_models_settings(...) - Configure challenger models settings

Deployment Info:

  • deployment.get_features() - Get required features

See the Common Patterns section below for complete examples.

Best practices

  1. Naming conventions: Use clear, versioned names for deployments
  2. Environment selection: Choose appropriate prediction environment for your use case
  3. Challenger models: Use challenger models to test new models before full replacement
  4. Monitoring: Set up monitoring and alerts for production deployments
  5. Documentation: Document deployment purpose, model version, and configuration
  6. Access control: Configure appropriate access permissions for deployments

Common patterns

Pattern 1: Standard deployment

import datarobot as dr

# Initialize client
dr.Client()

# Get best model from project
models = dr.Model.list("abc123")
best_model = max(models, key=lambda m: m.metrics.get("AUC", 0))

# Create deployment
deployment = dr.Deployment.create_from_learning_model(
    model_id=best_model.id,
    label="Sales Prediction v1",
    description="Production deployment for sales forecasting",
)

print(f"Deployment created: {deployment.id}")

Pattern 2: Deployment with challenger

import datarobot as dr

# Create deployment with primary model
deployment = dr.Deployment.create_from_learning_model(
    model_id=primary_model.id, label="Sales Prediction v2"
)

# List challengers (if challenger models are configured/enabled)
challengers = deployment.list_challengers()
print(f"Challengers: {len(challengers)}")

Deployment environments

DataRobot Serverless

  • Fully managed prediction environment
  • Automatic scaling
  • No infrastructure management
  • Recommended for most use cases

External deployment

  • Deploy to your own infrastructure
  • More control over resources
  • Requires infrastructure management
  • Use for specific compliance or performance requirements

Deployment lifecycle

  1. Create: Deploy model to production environment
  2. Monitor: Track predictions, performance, and health
  3. Update: Replace with new model versions as needed
  4. Retire: Disable or archive old deployments

Error handling

Common errors and solutions:

  • Model not found: Verify model ID and project access
  • Deployment creation failures: Check prediction environment availability
  • Endpoint access issues: Verify credentials and permissions
  • Update failures: Ensure new model is compatible with deployment settings

SDK Setup

Install DataRobot SDK

pip install datarobot

Initialize Client

import datarobot as dr

dr.Client()

Resources

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when the user wants to design, build, code, simulate, or deploy an AI agent (not a predictive model) to DataRobot; mentions agent_spec.yaml, dr-assist, datarobot-agent-assist, dress rehearsal, swarm simulation, or the DataRobot agent template; wants to scaffold a LangGraph, CrewAI, LlamaIndex, NAT, or Base agent targeting DataRobot; wants to add an MCP server, backend API, or React frontend to a DataRobot agent application; or uses the DataRobot CLI (dr) to build or deploy an agentic custom application; or wants to harden, stress-test, or battle-test an agent. Covers the full workflow: agent design, agent_spec.yaml authoring, dress-rehearsal simulation via the DataRobot LLM Gateway, adversarial swarm simulation, template-based coding, and deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to design, build, code, or deploy an AI agent on DataRobot; mentions agent_spec.yaml, dress rehearsal, the DataRobot agent template, LangGraph, CrewAI, LlamaIndex, NAT, Base agents, MCP servers, backend APIs, custom frontends, or the DataRobot CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when an agent assist user wants to deploy their agent, put it on DataRobot, get a link to it, or share it with others, the agent can run as a single container, and the project has no `infra/Pulumi.yaml`. Not for agents built from the agent template, which deploy with Pulumi through datarobot-agent-assist. Users usually just say "deploy" or "deploy to DataRobot" and won't mention containers, workloads or the CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to adversarially test, evaluate, or harden an implemented AI agent before deployment; mentions swarm simulation, attack testing, persistence testing, evaluation criteria, or eval_report.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to configure LLM integration for a DataRobot agent application. This skill helps to change LLM model, switch between the LLM integrations the project supports (LLM Gateway, a DataRobot-deployed LLM, an external provider, an LLM Blueprint, and any others its config declares), or set up provider credentials. The skill reads the project's .datarobot/cli/llm.yml for the real options, interviews the user, then runs sync_llm_env.py with the chosen values as CLI args to merge into .env.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Guidance for setting up CI/CD pipelines for DataRobot application templates using GitLab, GitHub Actions, and Pulumi for infrastructure as code. Use when setting up CI/CD pipelines, configuring deployments, or managing infrastructure for DataRobot application templates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

datarobot-oss의 스킬 모두 보기

이 스킬의 문제 신고