mcpField
D
databricks-genie-agents

databricks-genie-agents

github.com/databricksData & databases373232 installsUpdated 1d ago
Repository

About databricks-genie-agents

A skill for creating, managing, and querying Databricks Genie Agents, for teams exploring structured Unity Catalog data in natural language. It covers the lifecycle from design through diagnosis, optimization, and migration.

Key features

  1. 01Designs and creates Genie Agents
  2. 02Queries and validates through conversation APIs
  3. 03Diagnoses incorrect or empty answers
  4. 04Tunes quality using evaluations
  5. 05Exports, imports, and migrates across workspaces

Use cases

  1. 01Creating a curated data Q&A agent for a business area
  2. 02Validating agent queries and responses
  3. 03Investigating unexpected Genie Agent results
  4. 04Migrating agents between workspaces

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/databricks/databricks-agent-skills --skill databricks-genie-agents

After installing, type/databricks-genie-agentsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
assets/
databricks.svg
references/
create-genie-agent.md
diagnose-genie-agent.md
genie-agent-cicd.md
optimize-genie-agent.md
query-genie-agent.md
serialized-space.md
uc-persistence.md

Details

From the project README

Databricks Genie Agents

Create, manage, and query Genie Agents (formerly Genie Spaces) - natural language interfaces for SQL-based data exploration.

Overview

Genie Agents allow users to ask natural language questions about structured data in Unity Catalog. The system translates questions into SQL queries, executes them on a SQL warehouse, and presents results conversationally.

A Genie Agent is a curated agent scoped to specific data — its tables, sample questions, and instructions are authored for a particular business area. This is distinct from Genie One / the general "ask Genie" data-discovery path (see the databricks-data-discovery skill), which answers questions across your data without a curated, per-scope agent.

Genie Agent Lifecycle

PhaseReferenceLoad whenTypical CLI
Design + Createcreate-genie-agent.mdAlways load before creating or updating. Gather requirements, profile data, design surfaces, get approval — before any CLIdiscover-schema → create-space / update-space
Query / validatequery-genie-agent.mdQuerying via Conversation API or Agent mode API; authoring SQL for Metric View sourcesstart-conversation / get-message
Diagnosediagnose-genie-agent.mdAgent gives wrong/empty answers — gather space ID + failing question + observed behavior firstget-space --include-serialized-space; system.query.history
Optimizeoptimize-genie-agent.mdBenchmark-driven quality tuning — gather space ID + optimization goal + benchmark target firstgenie-create-eval-run; update-space
Export / migrategenie-agent-cicd.mdExport, import, cross-workspace migration, batch migration, DABs/CI-CDget-space → remap → create-space
—serialized-space.mdConstructing or debugging serialized_space payloads — field schemas, constraints, Python helper—
—uc-persistence.mdSetting up UC Delta tables for multi-pass optimization history — CREATE TABLE DDL only—

Typical flow: create → query/validate → diagnose → optimize.

Prerequisites

  • Tables in Unity Catalog — bronze/silver/gold tables with the data
  • SQL Warehouse — a warehouse to execute queries (auto-detected if not specified)

Related Skills

Comments

Markdown supported