← DataRobot SkillsCONTENT HISTORY
WHAT CHANGED
Update to DataRobot Skills
Snapshot Oct 24, 2026 · 13:35 UTC · version 1.16.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save DataRobot Skills and check future changes in Following.
Up to 10 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "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.",
"included_files": [],
"name": "datarobot-model-deployment",
"skill_md_contents": "---\nname: datarobot-model-deployment\ndescription: 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.\n---\n\n# DataRobot Model Deployment Skill\n\nThis skill provides comprehensive guidance for deploying models, managing deployment configurations, and operating production deployments.\n\n## Quick Start\n\n**Most common use case**: Deploy a trained model to production\n\n1. **Get best model**: Find the best model from a project (highest metric score)\n2. **Create deployment**: `create_deployment(model_id, deployment_name)` to deploy model\n3. **Get endpoint**: `get_deployment_endpoint(deployment_id)` to retrieve prediction URL\n\n**Example**: \"Deploy the best model from project abc123 as 'Sales Prediction v1'\"\n\n## When to use this skill\n\nUse this skill when you need to:\n- Deploy trained models to production\n- Configure deployment settings and environments\n- Manage multiple deployments\n- Replace a deployment’s champion model with a new model version\n- Configure prediction servers and environments\n- Monitor deployment health and status\n- Manage deployment access and permissions\n\n## Key capabilities\n\n### 1. Deployment Creation\n\n- Deploy models from projects or registered models\n- Choose prediction environment (DataRobot Serverless, external)\n- Configure deployment settings (challenger models, A/B testing)\n- Set up deployment metadata and descriptions\n\n### 2. Deployment Configuration\n\n- Configure prediction servers and environments\n- Set up batch prediction settings\n- Configure real-time prediction endpoints\n- Manage deployment credentials and access\n\n### 3. Deployment Management\n\n- Replace deployment champion model (model swap)\n- Enable/disable deployments\n- Manage challenger models for A/B testing\n- Configure replacement policies\n\n### 4. Deployment Operations\n\n- Get deployment information and status\n- Retrieve deployment endpoints\n- Manage deployment settings\n- Handle deployment errors and issues\n\n## Workflow examples\n\n### Example 1: Deploy a model to production\n\n**User request**: \"Deploy the best model from project abc123 to production with the name 'Sales Prediction v1'.\"\n\n**Agent workflow**:\n1. Get the best model from the project (highest metric score)\n2. Create a new deployment with the model\n3. Configure deployment settings (name, description, environment)\n4. Set up prediction environment (DataRobot Serverless recommended)\n5. Retrieve deployment endpoint and credentials\n6. Verify deployment is active and ready for predictions\n\n### Example 2: Update deployment with new model\n\n**User request**: \"Replace the model in deployment xyz789 with the latest model from project abc123.\"\n\n**Agent workflow**:\n1. Get the latest model from the project\n2. Retrieve current deployment information\n3. Validate the replacement model is eligible (`deployment.validate_replacement_model(...)`)\n4. Perform model replacement (`deployment.perform_model_replace(...)`)\n5. Verify replacement completed successfully\n6. Report deployment update status\n\n## Using DataRobot SDK\n\nThis skill guides you to use the DataRobot Python SDK directly. Install the SDK if needed:\n\n```bash\npip install datarobot\n```\n\n### Key SDK Operations\n\nUse these DataRobot SDK methods for deployment management:\n\n**Deployments**:\n- `dr.Deployment.create_from_learning_model(model_id, label)` - Create deployment\n- `dr.Deployment.get(deployment_id)` - Get deployment details\n- `dr.Deployment.list(project_id)` - List deployments\n- `deployment.delete()` - Delete deployment\n\n**Model Replacement (champion swap)**:\n- `deployment.validate_replacement_model(new_model_id=...)` - Validate replacement eligibility\n- `deployment.perform_model_replace(new_model_id=..., reason=...)` - Replace champion model (async)\n\n**Challenger Models (limited via SDK)**:\n- `deployment.list_challengers()` - List challenger models (if enabled/configured)\n- `deployment.get_challenger_models_settings()` / `deployment.update_challenger_models_settings(...)` - Configure challenger models settings\n\n**Deployment Info**:\n- `deployment.get_features()` - Get required features\n\nSee the [Common Patterns](#common-patterns) section below for complete examples.\n\n## Best practices\n\n1. **Naming conventions**: Use clear, versioned names for deployments\n2. **Environment selection**: Choose appropriate prediction environment for your use case\n3. **Challenger models**: Use challenger models to test new models before full replacement\n4. **Monitoring**: Set up monitoring and alerts for production deployments\n5. **Documentation**: Document deployment purpose, model version, and configuration\n6. **Access control**: Configure appropriate access permissions for deployments\n\n## Common patterns\n\n### Pattern 1: Standard deployment\n```python\nimport datarobot as dr\n\n# Initialize client\ndr.Client()\n\n# Get best model from project\nmodels = dr.Model.list(\"abc123\")\nbest_model = max(models, key=lambda m: m.metrics.get(\"AUC\", 0))\n\n# Create deployment\ndeployment = dr.Deployment.create_from_learning_model(\n model_id=best_model.id,\n label=\"Sales Prediction v1\",\n description=\"Production deployment for sales forecasting\",\n)\n\nprint(f\"Deployment created: {deployment.id}\")\n```\n\n### Pattern 2: Deployment with challenger\n```python\nimport datarobot as dr\n\n# Create deployment with primary model\ndeployment = dr.Deployment.create_from_learning_model(\n model_id=primary_model.id, label=\"Sales Prediction v2\"\n)\n\n# List challengers (if challenger models are configured/enabled)\nchallengers = deployment.list_challengers()\nprint(f\"Challengers: {len(challengers)}\")\n```\n\n## Deployment environments\n\n### DataRobot Serverless\n- Fully managed prediction environment\n- Automatic scaling\n- No infrastructure management\n- Recommended for most use cases\n\n### External deployment\n- Deploy to your own infrastructure\n- More control over resources\n- Requires infrastructure management\n- Use for specific compliance or performance requirements\n\n## Deployment lifecycle\n\n1. **Create**: Deploy model to production environment\n2. **Monitor**: Track predictions, performance, and health\n3. **Update**: Replace with new model versions as needed\n4. **Retire**: Disable or archive old deployments\n\n## Error handling\n\nCommon errors and solutions:\n\n- **Model not found**: Verify model ID and project access\n- **Deployment creation failures**: Check prediction environment availability\n- **Endpoint access issues**: Verify credentials and permissions\n- **Update failures**: Ensure new model is compatible with deployment settings\n\n## SDK Setup\n\n### Install DataRobot SDK\n\n```bash\npip install datarobot\n```\n\n### Initialize Client\n\n```python\nimport datarobot as dr\n\ndr.Client()\n```\n\n## Resources\n\n- [DataRobot Python SDK Documentation](https://datarobot-public-api-client.readthedocs-hosted.com/)\n- [DataRobot Deployment Documentation](https://docs.datarobot.com/en/docs/mlops/deployment/deploy-methods/add-deploy-info.html)\n- [Prediction Environments Guide](https://docs.datarobot.com/en/docs/mlops/deployment/prediction-env/pred-env-deploy.html)\n- [Challenger Models Documentation](https://docs.datarobot.com/en/docs/mlops/monitor/challengers.html)\n\n"
}SHA-256 of public snapshot: 43e181c34f36a7e43ddd00b4714b3d18c85e252dc17b00464ab632646c180fcf