migrate-from-model-serving

Migrate MLflow ResponsesAgent from Databricks Model Serving to Databricks Apps.

4|4|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/RamVegiraju/databricks-samples --skill migrate-from-model-serving
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-from-model-serving
Source: https://github.com/RamVegiraju/databricks-samples/tree/main/.claude/skills/migrate-from-model-serving
Command: npx skills add https://github.com/RamVegiraju/databricks-samples --skill migrate-from-model-serving

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrate an MLflow ResponsesAgent from Databricks Model Serving to Databricks Apps and enable modern deployment with MLflow GenAI Server using @invoke/@stream.

Core Features & Use Cases

  • Transform the ResponsesAgent class into decorated functions with @invoke and @stream, supporting both synchronous and asynchronous migration paths.
  • Preserve and migrate code dependencies, prompts, tools, and memory configuration, then deploy via Databricks Asset Bundles.
  • Provide an end-to-end migration workflow from artifact extraction to local testing and production deployment.

Quick Start

Migrate the agent from Model Serving to Databricks Apps by extracting the original code, converting it to decorated functions with @invoke/@stream, and deploying via Databricks Asset Bundles.

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 ResponsesAgent from Databricks Model Serving to Databricks Apps?

To migrate an MLflow ResponsesAgent from Databricks Model Serving to Databricks Apps, you extract the original code and artifacts, transform the predict() and predict_stream() methods into @invoke and @stream decorated functions, and deploy using Databricks Asset Bundles.

How do I convert ResponsesAgent predict() and predict_stream() methods to MLflow GenAI Server functions?

You convert ResponsesAgent predict() and predict_stream() methods by transforming them into decorated functions using @invoke and @stream, supporting either synchronous or asynchronous execution paths.

Can I preserve code dependencies and tools when moving an MLflow agent to Databricks Apps?

Yes, the migration process preserves and migrates code dependencies, prompts, tools, and memory configuration from the original ResponsesAgent when deploying to Databricks Apps.

Does migrating to Databricks Apps support both synchronous and asynchronous streaming paths?

Yes, migrating to Databricks Apps supports both synchronous and asynchronous paths when converting the ResponsesAgent methods to @stream and @invoke decorated functions.

What is the best way to deploy a migrated MLflow agent using Databricks Asset Bundles?

The best way to deploy a migrated MLflow agent is by packaging the transformed @invoke and @stream decorated functions and deploying them end-to-end via Databricks Asset Bundles.