Create and manage Databricks Agent Bricks: Knowledge Assistants for document RAG Q&A, Genie Spaces for natural language SQL exploration, Supervisor Agents for multi-agent orchestration. Use for conversational AI apps on Databricks.
npx claudepluginhub databricks-solutions/ai-dev-kit --plugin databricks-ai-dev-kitThis skill uses the workspace's default tool permissions.
Create and manage Databricks Agent Bricks - pre-built AI components for building conversational applications.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Create and manage Databricks Agent Bricks - pre-built AI components for building conversational applications.
Agent Bricks are three types of pre-built AI tiles in Databricks:
| Brick | Purpose | Data Source |
|---|---|---|
| Knowledge Assistant (KA) | Document-based Q&A using RAG | PDF/text files in Volumes |
| Genie Space | Natural language to SQL | Unity Catalog tables |
| Supervisor Agent (MAS) | Multi-agent orchestration | Model serving endpoints |
Before creating Agent Bricks, ensure you have the required data:
databricks-unstructured-pdf-generation skill if neededdatabricks-genie skill for comprehensive Genie Space guidancedatabricks-synthetic-data-gen skilldatabricks-spark-declarative-pipelines skillEXECUTE privilege on the functionis_mcp_connection: 'true'USE CONNECTION privilege on the connectionmanage_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:
name, volume_path. Optionally pass tile_id to update.tile_id. Returns tile_id, name, description, endpoint_status, knowledge_sources, examples_count.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.tile_id.For comprehensive Genie guidance, use the databricks-genie skill.
Use manage_genie with actions:
create_or_update - Create or update a Genie Spaceget - Get Genie Space detailslist - List all Genie Spacesdelete - Delete a Genie Spaceexport / import - For migrationSee databricks-genie skill for:
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.
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_nameconnection_name: Unity Catalog connection name (for external MCP servers)ka_tile_id, genie_space_id, endpoint_name, uc_function_name, or connection_namedescription: (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:
name, agents. Optionally pass tile_id to update.tile_id. Returns tile_id, name, description, endpoint_status, agents, examples_count.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.tile_id.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
Use manage_ka(action="create_or_update", ...) or manage_mas(action="create_or_update", ...) with your data sources.
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 useOFFLINE - Not runningFor KA, if add_examples_from_volume=true, examples are automatically extracted from JSON files in the volume and added once the endpoint is ONLINE.
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)
"""
)
1-knowledge-assistants.md - Detailed KA patterns and examplesdatabricks-genie skill - Detailed Genie patterns, curation, and examples2-supervisor-agents.md - Detailed MAS patterns and examples