thomazrossito/data-agents/databricks-agent-bricks
Claude Code and agent skill by thomazrossito/data-agents
- community
Checking that the SKILL.md file is still in the repository.
Create and manage Databricks Agent Bricks: Knowledge Assistants (KA) for document Q&A, Genie Spaces for SQL exploration, and Supervisor Agents (MAS) for multi-agent orchestration. Use when building conversational AI applications on Databricks.
Install
npx vskill@latest install thomazrossito/data-agents/databricks-agent-bricksSKILL.md
The same SKILL.md was published earlier as thomazrossito/data-agents/databricks-agent-bricks.
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:
| 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 |
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-generationskill 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-genskill - Create tables using the
databricks-spark-declarative-pipelinesskill
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
EXECUTEprivilege on the function
For External MCP Servers
- Existing UC HTTP Connection: Connection configured with
is_mcp_connection: 'true' - Agent service principal has
USE CONNECTIONprivilege 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 passtile_idto 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 Spaceget- Get Genie Space detailslist- List all Genie Spacesdelete- Delete a Genie Spaceexport/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 formatcatalog.schema.function_nameconnection_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, orconnection_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 withquestionandguidelinefields (for create_or_update)
Actions:
- create_or_update: Requires
name,agents. Optionally passtile_idto 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):
For Genie (SQL exploration):
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 useOFFLINE- 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
- Use meaningful names: Names are sanitized automatically (spaces become underscores)
- Provide descriptions: Helps users understand what the brick does
- Add instructions: Guide the AI's behavior and tone
- Include sample questions: Shows users how to interact with the brick
- Use the workflow: Generate data first, then create the brick
Example: Multi-Modal Supervisor Agent
Related Skills
- [databricks-genie](../databricks-genie/SKILL.md) - Comprehensive Genie Space creation, curation, and Conversation API guidance
- [databricks-unstructured-pdf-generation](../databricks-unstructured-pdf-generation/SKILL.md) - Generate synthetic PDFs to feed into Knowledge Assistants
- [databricks-synthetic-data-gen](../databricks-synthetic-data-gen/SKILL.md) - Create raw data for Genie Space tables
- [databricks-spark-declarative-pipelines](../databricks-spark-declarative-pipelines/SKILL.md) - Build bronze/silver/gold tables consumed by Genie Spaces
- [databricks-model-serving](../databricks-model-serving/SKILL.md) - Deploy custom agent endpoints used as MAS agents
- [databricks-vector-search](../databricks-vector-search/SKILL.md) - Build vector indexes for RAG applications paired with KAs
See Also
1-knowledge-assistants.md- Detailed KA patterns and examplesdatabricks-genieskill - Detailed Genie patterns, curation, and examples2-supervisor-agents.md- Detailed MAS patterns and examples
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/databricks/databricks-agent-bricks/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 20
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomazrossito/data-agents/databricks-agent-bricks)