datarobot-model-deployment — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited datarobot-model-deployment (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill provides comprehensive guidance for deploying models, managing deployment configurations, and operating production deployments.
Most common use case: Deploy a trained model to production
create_deployment(model_id, deployment_name) to deploy modelget_deployment_endpoint(deployment_id) to retrieve prediction URLExample: "Deploy the best model from project abc123 as 'Sales Prediction v1'"
Use this skill when you need to:
User request: "Deploy the best model from project abc123 to production with the name 'Sales Prediction v1'."
Agent workflow:
User request: "Replace the model in deployment xyz789 with the latest model from project abc123."
Agent workflow:
deployment.validate_replacement_model(...))deployment.perform_model_replace(...))This skill guides you to use the DataRobot Python SDK directly. Install the SDK if needed:
pip install datarobotUse these DataRobot SDK methods for deployment management:
Deployments:
dr.Deployment.create_from_learning_model(model_id, label) - Create deploymentdr.Deployment.get(deployment_id) - Get deployment detailsdr.Deployment.list(project_id) - List deploymentsdeployment.delete() - Delete deploymentModel Replacement (champion swap):
deployment.validate_replacement_model(new_model_id=...) - Validate replacement eligibilitydeployment.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 settingsDeployment Info:
deployment.get_features() - Get required featuresSee the Common Patterns section below for complete examples.
import datarobot as dr
import os
# Initialize client
client = dr.Client(
token=os.getenv("DATAROBOT_API_TOKEN"),
endpoint=os.getenv("DATAROBOT_ENDPOINT")
)
# 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}")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)}")Common errors and solutions:
pip install datarobotimport datarobot as dr
import os
client = dr.Client(
token=os.getenv("DATAROBOT_API_TOKEN"),
endpoint=os.getenv("DATAROBOT_ENDPOINT", "https://app.datarobot.com")
)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.