Token导航 LogoToken导航

Agent Skill · 研究检索

databricks-model-serving(databricks 模型服务)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

databricks-model-serving 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 60,816。

总安装 364周安装 15GitHub Stars 1,291下载 119核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:databricks-model-serving(databricks 模型服务)
来源仓库:https://github.com/databricks-solutions/ai-dev-kit
仓库路径:skills/databricks-model-serving
安装命令:
npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databricks-model-serving
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databricks-model-serving

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

将 MLflow 模型与 AI 代理部署为可扩展 REST API 端点。支持传统机器学习模型与 GenAI 智能体两种部署模式。适用于快速上线推理服务、集成外部应用或构建 RAG 系统。需 DBR 16.1+ 环境,并确保模型已在 Unity Catalog 中注册。

databricks-model-serving 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/databricks-model-serving

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databr…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

databricks-model-serving 怎么安装?

在终端执行 npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databricks-model…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

databricks-model-serving 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

databricks-model-serving 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

databricks-model-serving 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

databricks-model-serving 用的人多吗?

公开数据是累计安装 364 次,近一周安装 15 次,下载 119 次,GitHub 1,291 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

databricks-model-serving 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 1,291 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
databricks-model-serving

databricks 模型服务 · 本页

3641,291调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Databricks Model Serving

Deploy MLflow models and AI agents to scalable REST API endpoints.

Quick Decision: What Are You Deploying?

Model TypePatternReference
Traditional ML (sklearn, xgboost)mlflow.sklearn.autolog()1-classical-ml.md
Custom Python modelmlflow.pyfunc.PythonModel2-custom-pyfunc.md
GenAI Agent (LangGraph, tool-calling)ResponsesAgent3-genai-agents.md

Prerequisites

  • DBR 16.1+ recommended (pre-installed GenAI packages)
  • Unity Catalog enabled workspace
  • Model Serving enabled

Foundation Model API Endpoints

ALWAYS use exact endpoint names from this table. NEVER guess or abbreviate.

Chat / Instruct Models

Endpoint NameProviderNotes
databricks-gpt-5-2OpenAILatest GPT, 400K context
databricks-gpt-5-1OpenAIInstant + Thinking modes
databricks-gpt-5-1-codex-maxOpenAICode-specialized (high perf)
databricks-gpt-5-1-codex-miniOpenAICode-specialized (cost-opt)
databricks-gpt-5OpenAI400K context, reasoning
databricks-gpt-5-miniOpenAICost-optimized reasoning
databricks-gpt-5-nanoOpenAIHigh-throughput, lightweight
databricks-gpt-oss-120bOpenAIOpen-weight, 128K context
databricks-gpt-oss-20bOpenAILightweight open-weight
databricks-claude-opus-4-6AnthropicMost capable, 1M context
databricks-claude-sonnet-4-6AnthropicHybrid reasoning
databricks-claude-sonnet-4-5AnthropicHybrid reasoning
databricks-claude-opus-4-5AnthropicDeep analysis, 200K context
databricks-claude-sonnet-4AnthropicHybrid reasoning
databricks-claude-opus-4-1Anthropic200K context, 32K output
databricks-claude-haiku-4-5AnthropicFastest, cost-effective
databricks-claude-3-7-sonnetAnthropicRetiring April 2026
databricks-meta-llama-3-3-70b-instructMeta128K context, multilingual
databricks-meta-llama-3-1-405b-instructMetaRetiring May 2026 (PT)
databricks-meta-llama-3-1-8b-instructMetaLightweight, 128K context
databricks-llama-4-maverickMetaMoE architecture
databricks-gemini-3-1-proGoogle1M context, hybrid reasoning
databricks-gemini-3-proGoogle1M context, hybrid reasoning
databricks-gemini-3-flashGoogleFast, cost-efficient
databricks-gemini-2-5-proGoogle1M context, Deep Think
databricks-gemini-2-5-flashGoogle1M context, hybrid reasoning
databricks-gemma-3-12bGoogle128K context, multilingual
databricks-qwen3-next-80b-a3b-instructAlibabaEfficient MoE

Embedding Models

Endpoint NameDimensionsMax TokensNotes
databricks-gte-large-en10248192English, not normalized
databricks-bge-large-en1024512English, normalized
databricks-qwen3-embedding-0-6bup to 1024~32K100+ languages, instruction-aware

Common Defaults

  • Agent LLM: databricks-meta-llama-3-3-70b-instruct (good balance of quality/cost)
  • Embedding: databricks-gte-large-en
  • Code tasks: databricks-gpt-5-1-codex-mini or databricks-gpt-5-1-codex-max
These are pay-per-token endpoints available in every workspace. For production, consider provisioned throughput mode. See supported models.

Reference Files

TopicFileWhen to Read
Classical ML1-classical-ml.mdsklearn, xgboost, autolog
Custom PyFunc2-custom-pyfunc.mdCustom preprocessing, signatures
GenAI Agents3-genai-agents.mdResponsesAgent, LangGraph
Tools Integration4-tools-integration.mdUC Functions, Vector Search
Development & Testing5-development-testing.mdMCP workflow, iteration
Logging & Registration6-logging-registration.mdmlflow.pyfunc.log_model
Deployment7-deployment.mdJob-based async deployment
Querying Endpoints8-querying-endpoints.mdSDK, REST, MCP tools
Package Requirements9-package-requirements.mdDBR versions, pip

Quick Start: Deploy a GenAI Agent

Step 1: Install Packages (in notebook or via MCP)

%pip install -U mlflow==3.6.0 databricks-langchain langgraph==0.3.4 databricks-agents pydantic
dbutils.library.restartPython()

Or via MCP:

execute_code(code="%pip install -U mlflow==3.6.0 databricks-langchain langgraph==0.3.4 databricks-agents pydantic")

Step 2: Create Agent File

Create agent.py locally with ResponsesAgent pattern (see 3-genai-agents.md).

Step 3: Upload to Workspace

manage_workspace_files(
    action="upload",
    local_path="./my_agent",
    workspace_path="/Workspace/Users/you@company.com/my_agent"
)

Step 4: Test Agent

execute_code(
    file_path="./my_agent/test_agent.py",
    cluster_id="<cluster_id>"
)

Step 5: Log Model

execute_code(
    file_path="./my_agent/log_model.py",
    cluster_id="<cluster_id>"
)

Step 6: Deploy (Async via Job)

See 7-deployment.md for job-based deployment that doesn't timeout.

Step 7: Query Endpoint

manage_serving_endpoint(
    action="query",
    name="my-agent-endpoint",
    messages=[{"role": "user", "content": "Hello!"}]
)

Quick Start: Deploy a Classical ML Model

import mlflow
import mlflow.sklearn
from sklearn.linear_model import LogisticRegression

# Enable autolog with auto-registration
mlflow.sklearn.autolog(
    log_input_examples=True,
    registered_model_name="main.models.my_classifier"
)

# Train - model is logged and registered automatically
model = LogisticRegression()
model.fit(X_train, y_train)

Then deploy via UI or SDK. See 1-classical-ml.md.


MCP Tools

If MCP tools are not available, use the SDK/CLI examples in the reference files below.

Development & Testing

ToolPurpose
manage_workspace_files (action="upload")Upload agent files to workspace
execute_codeInstall packages, test agent, log model

Deployment

ToolPurpose
manage_jobs (action="create")Create deployment job (one-time)
manage_job_runs (action="run_now")Kick off deployment (async)
manage_job_runs (action="get")Check deployment job status

manage_serving_endpoint - Querying

ActionDescriptionRequired Params
getCheck endpoint status (READY/NOT_READY/NOT_FOUND)name
listList all endpoints(none, optional limit)
querySend requests to endpointname + one of: messages, inputs, dataframe_records

Example usage:

# Check endpoint status
manage_serving_endpoint(action="get", name="my-agent-endpoint")

# List all endpoints
manage_serving_endpoint(action="list")

# Query a chat/agent endpoint
manage_serving_endpoint(
    action="query",
    name="my-agent-endpoint",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=500
)

# Query a traditional ML endpoint
manage_serving_endpoint(
    action="query",
    name="sklearn-classifier",
    dataframe_records=[{"age": 25, "income": 50000, "credit_score": 720}]
)

Common Workflows

Check Endpoint Status After Deployment

manage_serving_endpoint(action="get", name="my-agent-endpoint")

Returns:

{
    "name": "my-agent-endpoint",
    "state": "READY",
    "served_entities": [...]
}

Query a Chat/Agent Endpoint

manage_serving_endpoint(
    action="query",
    name="my-agent-endpoint",
    messages=[
        {"role": "user", "content": "What is Databricks?"}
    ],
    max_tokens=500
)

Query a Traditional ML Endpoint

manage_serving_endpoint(
    action="query",
    name="sklearn-classifier",
    dataframe_records=[
        {"age": 25, "income": 50000, "credit_score": 720}
    ]
)

Common Issues

IssueSolution
Invalid output formatUse self.create_text_output_item(text, id) - NOT raw dicts!
Endpoint NOT_READYDeployment takes ~15 min. Use manage_serving_endpoint(action="get") to poll.
Package not foundSpecify exact versions in pip_requirements when logging model
Tool timeoutUse job-based deployment, not synchronous calls
Auth error on endpointEnsure resources specified in log_model for auto passthrough
Model not foundCheck Unity Catalog path: catalog.schema.model_name

Critical: ResponsesAgent Output Format

WRONG - raw dicts don't work:

return ResponsesAgentResponse(output=[{"role": "assistant", "content": "..."}])

CORRECT - use helper methods:

return ResponsesAgentResponse(
    output=[self.create_text_output_item(text="...", id="msg_1")]
)

Available helper methods:

  • self.create_text_output_item(text, id) - text responses
  • self.create_function_call_item(id, call_id, name, arguments) - tool calls
  • self.create_function_call_output_item(call_id, output) - tool results

Related Skills

Resources

平台分布

Codex

38.18%
按下载量换算45

Claude

29.7%
按下载量换算35

Cursor

18.38%
按下载量换算22

Gemini CLI

8.64%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills