Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

databricks-agent-bricksdatabricks Agent 砖

Agent Skill

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

总安装

396

周安装

17

GitHub Stars

1,316

下载量

139
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

创建基于 RAG 的知识助手与 Genie 空间对话应用。

  • 支持 PDF/文本文件作为知识源进行问答交互。
  • 提供多智能体协同与模型服务编排能力。databricks-agent-bricks 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于企业内部知识管理与自助查询场景。
  • 需将文档上传至 Volume 并配置 Unity Catalog 权限。

SKILL.md

Agent Bricks

Create and manage Databricks Agent Bricks - pre-built AI components for building conversational applications.

Overview

Agent Bricks are three types of pre-built AI tiles in Databricks:

BrickPurposeData Source
Knowledge Assistant (KA)Document-based Q&A using RAGPDF/text files in Volumes
Genie SpaceNatural language to SQLUnity Catalog tables
Supervisor Agent (MAS)Multi-agent orchestrationModel serving endpoints

Prerequisites

Before creating Agent Bricks, ensure you have the required data:

For Knowledge Assistants

  • Documents in a Volume: PDF, text, or other files stored in a Unity Catalog volume
  • Generate synthetic documents using the databricks-unstructured-pdf-generation skill if needed

For Genie Spaces

  • See the databricks-genie skill for comprehensive Genie Space guidance
  • Tables in Unity Catalog with the data to explore
  • Generate raw data using the databricks-synthetic-data-gen skill
  • Create tables using the databricks-spark-declarative-pipelines skill

For Supervisor Agents

  • Model Serving Endpoints: Deployed agent endpoints (KA endpoints, custom agents, fine-tuned models)
  • Genie Spaces: Existing Genie spaces can be used directly as agents for SQL-based queries
  • Mix and match endpoint-based and Genie-based agents in the same Supervisor Agent

For Unity Catalog Functions

  • Existing UC Function: Function already registered in Unity Catalog
  • Agent service principal has EXECUTE privilege on the function

For External MCP Servers

  • Existing UC HTTP Connection: Connection configured with is_mcp_connection: 'true'
  • Agent service principal has USE CONNECTION privilege on the connection

MCP Tools

Knowledge Assistant Tool

manage_ka - Manage Knowledge Assistants (KA)

  • action: "create_or_update", "get", "find_by_name", or "delete"
  • name: Name for the KA (for create_or_update, find_by_name)
  • volume_path: Path to documents (e.g., /Volumes/catalog/schema/volume/folder) (for create_or_update)
  • description: (optional) What the KA does (for create_or_update)
  • instructions: (optional) How the KA should answer (for create_or_update)
  • tile_id: The KA tile ID (for get, delete, or update via create_or_update)
  • add_examples_from_volume: (optional, default: true) Auto-add examples from JSON files (for create_or_update)

Actions:

  • create_or_update: Requires name, volume_path. Optionally pass tile_id to update.
  • get: Requires tile_id. Returns tile_id, name, description, endpoint_status, knowledge_sources, examples_count.
  • find_by_name: Requires name (exact match). Returns found, tile_id, name, endpoint_name, endpoint_status. Use this to look up an existing KA when you know the name but not the tile_id.
  • delete: Requires tile_id.

Genie Space Tools

For comprehensive Genie guidance, use the databricks-genie skill.

Use manage_genie with actions:

  • create_or_update - Create or update a Genie Space
  • get - Get Genie Space details
  • list - List all Genie Spaces
  • delete - Delete a Genie Space
  • export / import - For migration

See databricks-genie skill for:

  • Table inspection workflow
  • Sample question best practices
  • Curation (instructions, certified queries)

IMPORTANT: There is NO system table for Genie spaces (e.g., system.ai.genie_spaces does not exist). Use manage_genie(action="list") to find spaces.

Supervisor Agent Tool

manage_mas - Manage Supervisor Agents (MAS)

  • action: "create_or_update", "get", "find_by_name", or "delete"
  • name: Name for the Supervisor Agent (for create_or_update, find_by_name)
  • agents: List of agent configurations (for create_or_update), each with:

- name: Agent identifier (required) - description: What this agent handles - critical for routing (required) - ka_tile_id: Knowledge Assistant tile ID (use for document Q&A agents - recommended for KAs) - genie_space_id: Genie space ID (use for SQL-based data agents) - endpoint_name: Model serving endpoint name (for custom agents) - uc_function_name: Unity Catalog function name in format catalog.schema.function_name - connection_name: Unity Catalog connection name (for external MCP servers) - Note: Provide exactly one of: ka_tile_id, genie_space_id, endpoint_name, uc_function_name, or connection_name

  • description: (optional) What the Supervisor Agent does (for create_or_update)
  • instructions: (optional) Routing instructions for the supervisor (for create_or_update)
  • tile_id: The Supervisor Agent tile ID (for get, delete, or update via create_or_update)
  • examples: (optional) List of example questions with question and guideline fields (for create_or_update)

Actions:

  • create_or_update: Requires name, agents. Optionally pass tile_id to update.
  • get: Requires tile_id. Returns tile_id, name, description, endpoint_status, agents, examples_count.
  • find_by_name: Requires name (exact match). Returns found, tile_id, name, endpoint_status, agents_count. Use this to look up an existing Supervisor Agent when you know the name but not the tile_id.
  • delete: Requires tile_id.

Typical Workflow

1. Generate Source Data

Before creating Agent Bricks, generate the required source data:

For KA (document Q&A):

1. Use `databricks-unstructured-pdf-generation` skill to generate PDFs
2. PDFs are saved to a Volume with companion JSON files (question/guideline pairs)

For Genie (SQL exploration):

1. Use `databricks-synthetic-data-gen` skill to create raw parquet data
2. Use `databricks-spark-declarative-pipelines` skill to create bronze/silver/gold tables

2. Create the Agent Brick

Use manage_ka(action="create_or_update",...) or manage_mas(action="create_or_update",...) with your data sources.

3. Wait for Provisioning

Newly created KA and MAS tiles need time to provision. The endpoint status will progress:

  • PROVISIONING - Being created (can take 2-5 minutes)
  • ONLINE - Ready to use
  • OFFLINE - Not running

4. Add Examples (Automatic)

For KA, if add_examples_from_volume=true, examples are automatically extracted from JSON files in the volume and added once the endpoint is ONLINE.

Best Practices

  1. Use meaningful names: Names are sanitized automatically (spaces become underscores)
  2. Provide descriptions: Helps users understand what the brick does
  3. Add instructions: Guide the AI's behavior and tone
  4. Include sample questions: Shows users how to interact with the brick
  5. Use the workflow: Generate data first, then create the brick

Example: Multi-Modal Supervisor Agent

manage_mas(
    action="create_or_update",
    name="Enterprise Support Supervisor",
    agents=[
        {
            "name": "knowledge_base",
            "ka_tile_id": "f32c5f73-466b-...",
            "description": "Answers questions about company policies, procedures, and documentation from indexed files"
        },
        {
            "name": "analytics_engine",
            "genie_space_id": "01abc123...",
            "description": "Runs SQL analytics on usage metrics, performance stats, and operational data"
        },
        {
            "name": "ml_classifier",
            "endpoint_name": "custom-classification-endpoint",
            "description": "Classifies support tickets and predicts resolution time using custom ML model"
        },
        {
            "name": "data_enrichment",
            "uc_function_name": "support.utils.enrich_ticket_data",
            "description": "Enriches support ticket data with customer history and context"
        },
        {
            "name": "ticket_operations",
            "connection_name": "ticket_system_mcp",
            "description": "Creates, updates, assigns, and closes support tickets in external ticketing system"
        }
    ],
    description="Comprehensive enterprise support agent with knowledge retrieval, analytics, ML, data enrichment, and ticketing operations",
    instructions="""
    Route queries as follows:
    1. Policy/procedure questions → knowledge_base
    2. Data analysis requests → analytics_engine
    3. Ticket classification → ml_classifier
    4. Customer context lookups → data_enrichment
    5. Ticket creation/updates → ticket_operations

    If a query spans multiple domains, chain agents:
    - First gather information (analytics_engine or knowledge_base)
    - Then take action (ticket_operations)
    """
)

Related Skills

See Also

  • 1-knowledge-assistants.md - Detailed KA patterns and examples
  • databricks-genie skill - Detailed Genie patterns, curation, and examples
  • 2-supervisor-agents.md - Detailed MAS patterns and examples

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.86%
按下载量换算47

Claude

27.64%
按下载量换算38

Cursor

20.35%
按下载量换算28

Gemini CLI

10.28%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills