migrate-from-model-serving

Migrate MLflow ResponsesAgent endpoints from Databricks Model Serving to Databricks Apps.

4|Updated May 9, 2026
One-click install
npx skills add https://github.com/victorlou/housing-assistant --skill migrate-from-model-serving-victorlou
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: migrate-from-model-serving
Source: https://github.com/victorlou/housing-assistant/tree/main/app/app-templates/.claude/skills/migrate-from-model-serving
Command: npx skills add https://github.com/victorlou/housing-assistant --skill migrate-from-model-serving-victorlou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you migrate an MLflow ResponsesAgent from Databricks Model Serving to Databricks Apps so your agent can use the Apps-compatible @invoke/@stream interface and deployment flow.

Core Features & Use Cases

  • Model Serving to Apps migration: Converts predict()/predict_stream() agent implementations into decorated Apps endpoints for both sync and async styles.
  • Artifact and code portability: Downloads original Model Serving artifacts, copies code dependencies into the new app, and updates imports and artifact paths as needed.
  • Deployment-readiness: Guides local testing and then configures Databricks Asset Bundles by mapping MLmodel resources into databricks.yml for a production deployment.

Quick Start

Tell the Skill to migrate your Model Serving ResponsesAgent to a Databricks App named app-name with async enabled.

Frequently Asked Questions about migrate-from-model-serving

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an MLflow agent from Databricks Model Serving to Databricks Apps?▼

Migrate your MLflow agent from Databricks Model Serving to Databricks Apps by downloading artifacts, relocating /code and /artifacts directories into an app folder, and updating imports to match the new deployment structure.

How does Databricks Apps deployment handle predict and predict_stream functions?▼

Databricks Apps deployment converts predict and predict_stream functions into decorated @invoke and @stream endpoints, supporting synchronous execution and optional asynchronous conversion for reliable agent operation.

How do I configure Databricks Asset Bundles for an MLflow ResponsesAgent deployment?▼

Configure Databricks Asset Bundles for an MLflow ResponsesAgent by mapping the resources section from your MLmodel file directly into the databricks.yml configuration to achieve production-ready deployment.

Can I deploy an MLflow ResponsesAgent asynchronously using Databricks Apps?▼

Yes, you can deploy an MLflow ResponsesAgent asynchronously using Databricks Apps by enabling async conversion during migration to support decorated @invoke and @stream endpoint workflows.

What is the best way to move MLflow code dependencies when migrating to Databricks Apps?▼

The best way to move MLflow code dependencies is to download original Model Serving artifacts, extract the /code directory, copy it into the new app directory, and update all necessary import paths.

Why does my MLflow agent need @invoke and @stream decorators in Databricks Apps?▼

Your MLflow agent needs @invoke and @stream decorators in Databricks Apps because the target server requires this specific interface to replace predict and predict_stream methods used in Model Serving.