Skip to content
Proyek

Tentang

Toolkit Databricks untuk agen pemrograman yang disediakan oleh Field Engineering

Alat pengembangan

Cara angka ini diukur

2,003 bintang442 Fork +1 dalam 24 jam

Yang dapat Anda lakukan

  • Spark Declarative Pipelines (streaming tables, CDC, SCD Type 2, Auto Loader)
  • Databricks Jobs (scheduled workflows, multi-task DAGs)
  • AI/BI Dashboards (visualizations, KPIs, analytics)
  • Unity Catalog (tables, volumes, governance)

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+5
dalam 15 hari
+9
dalam 1 bulan
+17

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Databricks AI Dev Kit

Databricks Certified Gold Project


📣 AI Dev Kit skills are now official Databricks AI Tools. To give your coding agent Databricks skills, install AI Tools with the Databricks CLI (v1.0.0+):

databricks aitools install

AI Tools are owned by Databricks engineering and built with field engineering. The CLI keeps them up to date, and they work with any agent, including a first-class Genie One integration. Source: databricks/databricks-agent-skills.


Use the AI Dev Kit installer instead if you:

  • installed AI Dev Kit before. The installer removes the older bundled skills and the MCP server, then installs AI Tools through the CLI. Some skills were renamed; see Breaking change: skill sources and names.
  • use Windsurf, or Gemini CLI or Kiro with an older CLI. databricks aitools can't target these yet, so the installer copies the same skills into their skills folders.

What stays: The MCP server and Builder App remain in this repository. The Builder App will keep being developed and improved, and the MCP server will be maintained and updated on a best-effort basis as GitHub issues are filed.

What's next: AI Dev Kit will continue to guide you through setting up your AI coding environment and be a place to find experimental tools developed by Field Engineering. We're working on several tutorials to help you get started using coding agents for building on Databricks — including getting started with Genie Code and Omnigent — which will land in a future update. The bundled skill files in this repo are deprecated and kept for reference only.


Install or Upgrade

Options Best For Start Here
:star: Install AI Tools Start here! Run databricks aitools install to add the official Databricks skills to your coding agents Install AI Tools
AI Dev Kit installer Upgrading from an older AI Dev Kit install, or Windsurf. Delegates to databricks aitools AI Dev Kit installer
Genie Code Skills Upload selected skills into your workspace for Genie Code. Note: much of the content in the public Databricks skills is already included in Genie Code. Genie Code skills (install)
Visual Builder App Web-based UI for Databricks development databricks-builder-app/
MCP Tools Standalone MCP server exposing Databricks actions to AI clients. Note: We recommend skills instead, but maintain this as a good foundation if a custom MCP server is required. Register MCP server

AI-Assisted Development on Databricks

Databricks offers two paths for AI-assisted coding. Choose the one that matches your environment.


Genie Code



Free, first-party AI coding inside Databricks

Built into every Databricks workspace with deep native product context — your notebooks, jobs, and Unity Catalog data are already in scope. Ideal for users who have not started using AI-driven development tools or that are comfortable in Databricks workspace.


AI Dev Kit



Databricks expertise, in the editor you already use

Curated by Databricks field experts. Brings tutorials, patterns, and the official Databricks agent skills to your AI coding tools to build on Databricks — wherever you're already coding.


Claude Code Cursor Codex Gemini CLI GitHub Copilot
+ Antigravity · Windsurf · OpenCode · and more!

Learn more


Get started



What Can I Build?

  • Spark Declarative Pipelines (streaming tables, CDC, SCD Type 2, Auto Loader)
  • Databricks Jobs (scheduled workflows, multi-task DAGs)
  • AI/BI Dashboards (visualizations, KPIs, analytics)
  • Unity Catalog (tables, volumes, governance)
  • Genie Spaces (natural language data exploration)
  • Knowledge Assistants (RAG-based document Q&A)
  • MLflow Experiments (evaluation, scoring, traces)
  • Model Serving (deploy ML models and AI agents to endpoints)
  • Databricks Apps (full-stack web applications with foundation model integration)
  • ...and more

Building a Databricks App? The databricks-apps-python skill defaults to AppKit (TypeScript + React) — the recommended path for most Apps use cases — and falls back to the Python frameworks (Dash, Streamlit, Flask, FastAPI, Gradio, Reflex) when you need a specific one. If you specifically need the APX (FastAPI + React) framework, that skill now lives in the databricks-solutions/apx repo.


Quick Start

Prerequisites

Install AI Tools (recommended)

databricks aitools install

The CLI detects your coding agents and, on a terminal, asks which ones to set up and whether to install for your user or for the current project only. Update later with databricks aitools update. See Skills for what gets installed for each agent.

Install with the AI Dev Kit installer

Use this path if you installed AI Dev Kit before, or if you use Windsurf. The installer delegates to databricks aitools install, removes older AI Dev Kit skills and the MCP server, and walks you through the setup. By default this will install at a project level rather than a user level. This is often a good fit, but requires you to run your client from the exact directory that was used for the install. You can install for your user across all projects on the machine by passing --global or setting the scope to global in the interactive install. Note: Project configuration files can be found under these folder: .claude, .cursor, .gemini, .codex, .github, .agents, .windsurf, .codeium, .opencode, .kiro, or opencode.json

Mac / Linux

Basic installation (uses DEFAULT profile, project scope)

bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh)
Advanced Options (click to expand)

Global installation with force reinstall

bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) --global --force

Install specific skills only

bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) --skills databricks-core,databricks-bundles,databricks-pipelines

Next steps: Respond to interactive prompts and follow the on-screen instructions.

  • Note: Cursor and Copilot require updating settings manually after install.

Windows (PowerShell)

Basic installation (uses DEFAULT profile, project scope)

irm https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.ps1 | iex
Advanced Options (click to expand)

Download script first

irm https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.ps1 -OutFile install.ps1

Global installation with force reinstall

.\install.ps1 -Global -Force

Install for specific tools only

.\install.ps1 -Tools cursor,gemini,antigravity

Next steps: Respond to interactive prompts and follow the on-screen instructions.

  • Note: Cursor and Copilot require updating settings manually after install.

Where Skills Come From

Most skills are delivered as Databricks AI Tools through the Databricks CLI. The installer assembles them from two upstream sources — nothing is bundled in this repo anymore:

Source Skills Mechanism
databricks/databricks-agent-skills Most Databricks skills (jobs, pipelines, DABs, SQL, Unity Catalog, apps, Genie, …) Delegated to databricks aitools install — requires Databricks CLI v1.0.0+
mlflow/skills MLflow skills Fetched from main (override with MLFLOW_REF)

Skills installed via databricks aitools are managed by the CLI afterwards — update them with databricks aitools update and remove them with databricks aitools uninstall. Gemini CLI and Kiro are installed through the CLI too when it is new enough (v1.12.0+ for Gemini CLI, v1.20.0+ for Kiro). For tools the CLI can't target (Windsurf, or Gemini CLI/Kiro on an older CLI), the installer installs the same skills into each tool's skills directory.

Use --list-skills to see every skill and profile, and --dry-run to preview exactly what an install would do (resolved refs and the aitools command) without changing anything. Some skills were renamed or consolidated in the move — see Breaking change: skill sources and names below.

Installer environment variables (click to expand)
Variable Default Purpose
MLFLOW_REF main Ref for the MLflow skills fetch (the repo is tagless)
INCLUDE_PRERELEASES 0 Set to 1 to allow -rc/-beta tags when resolving latest
DRY_RUN false Set to 1 to print the install plan and exit

The installer also records what it installed (resolved refs, commit SHAs, aitools release) in skills.lock inside the scope-local .ai-dev-kit/ state directory.

Update

If you installed with databricks aitools install, run databricks aitools update.

If you used the AI Dev Kit installer, re-run the same install command; it detects the existing install and updates it in place.

bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh)
Windows (PowerShell)
irm https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.ps1 | iex

Uninstall

Run the same script with --uninstall. It removes the installed skill folders (including ones from older versions), the MCP server runtime (~/.ai-dev-kit), and the databricks MCP entry from each editor's config — leaving your other MCP servers, skills, and settings untouched. Editor config files are backed up to <file>.bak first.

# Preview what would be removed (changes nothing)
bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) --uninstall --dry-run

# Uninstall the project-scope install in the current directory
bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) --uninstall

# Uninstall a global install (add -y to skip the confirmation prompt)
bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) --uninstall --global -y
Windows (PowerShell)
.\install.ps1 -Uninstall -DryRun     # preview
.\install.ps1 -Uninstall             # project scope
.\install.ps1 -Uninstall -Global -Yes  # global, no prompt

Scope mirrors install: a project uninstall touches only the current directory's config; --global touches only the per-user ($HOME) config. Run it once per scope you installed into.

Visual Builder App

Full-stack web application with a chat UI for Databricks development. Its setup is self-contained — you do not need to run the kit-wide install.sh first; the scripts build their own environment, install the sibling packages, and generate config.

cd ai-dev-kit/databricks-builder-app

# Local development (provisions Lakebase, installs deps, generates .env.local, starts servers)
./scripts/start_local.sh --profile <your-profile>

# Deploy to Databricks Apps (Lakebase + app + permissions)
./scripts/deploy.sh my-builder-app --profile <your-profile>

# Deploy with the MCP gateway enabled (name must start with mcp- for Genie Code)
./scripts/deploy.sh mcp-builder-app --enable-mcp --profile <your-profile>

With --enable-mcp, the app also serves as an MCP server at /mcp, exposing the 40+ Databricks tools to Genie Code, AI Playground, and other MCP clients. The builder UI and MCP server run in a single deployment.

See databricks-builder-app/ for full documentation.

Core Library

Use databricks-tools-core directly in your Python projects:

from databricks_tools_core.sql import execute_sql

results = execute_sql("SELECT * FROM my_catalog.schema.table LIMIT 10")

Works with LangChain, OpenAI Agents SDK, or any Python framework. See databricks-tools-core/ for details.


Skills

Skills teach your AI assistant Databricks patterns and best practices. For your editor, they are installed and kept up to date by the Databricks CLI (v1.0.0+), which the AI Dev Kit installer already delegates to:

databricks aitools install

By default databricks aitools install installs the official databricks plugin through each agent's own plugin CLI for the agents that support one — Claude Code, Codex, and GitHub Copilot — and writes raw skill files for the agents that don't (Cursor, OpenCode, Antigravity). Pass --skills-only to force raw skill files for every agent. (This official databricks plugin is separate from — and replaces — the retired databricks-ai-dev-kit plugin this repo used to publish; see .claude-plugin/DEPRECATED.md.)

Skills come from github.com/databricks/databricks-agent-skills. The skill copies that used to be bundled in this repo have been removed; if you need the exact historical files, they still exist on the older release v0.1.14 (git tag v0.1.14). Some skills were renamed in the move — see the breaking-change note below.

Genie Code Skills

To use skills inside Genie Code in a Databricks workspace, upload them to /Workspace/Users/<you>/.assistant/skills. databricks aitools install does not cover this yet, so use the provided notebook to install:

From a Databricks notebook (recommended — no local clone): Import install_genie_code_skills.py into your workspace as a notebook and run it. It downloads skills from GitHub and uploads them via the Databricks SDK. Works on any compute, including serverless.

Customizing skills: after upload, skills live under /Workspace/Users/<your_user_name>/.assistant/skills. You can modify or remove skills there, or add your own skill folders (each with a SKILL.md) that Genie Code will use automatically in any session.

Breaking change: skill sources and names

Skills are no longer bundled in this repository — they come from databricks-agent-skills via databricks aitools install, and a few were renamed or consolidated in the move. Most names are unchanged; the exceptions are:

Previously (AI Dev Kit) Official Databricks skills
databricks-bundles databricks-dabs
databricks-genie databricks-genie-agents
databricks-spark-declarative-pipelines databricks-pipelines
databricks-lakebase-autoscale, databricks-lakebase-provisioned databricks-lakebase (merged)
databricks-config databricks-core (merged)

To see the current skill names, run databricks aitools list (CLI v1.0.0+) or browse the databricks-agent-skills repo. To reproduce the old bundled layout and names exactly, use the older release v0.1.14 (git tag v0.1.14), where the frozen copies still exist.

Architecture

The AI Dev Kit ships as four composable pieces — install the whole kit, or pick just the parts you need.

Architecture

What's Included

Component Description
Skills Skills that teach Databricks patterns (installed via databricks aitools)
databricks-builder-app/ Full-stack web app with Claude Code integration
databricks-tools-core/ Python library with high-level Databricks functions
databricks-mcp-server/ Standalone MCP server exposing 40+ Databricks tools for AI assistants (installs independently of skills)

Star History


Dependency Security

As part of our commitment to supply chain integrity, we continually monitor our dependency tree against known vulnerabilities and industry advisories. In response to a recently disclosed supply chain incident affecting litellm versions 1.82.7–1.82.8, we have audited our packages and removed the litellm dependency for most usage. It is solely used in the test directory for skills evaluation and optimization, and has been pinned to a safe version. For full third-party attribution, see NOTICE.txt.


License

(c) 2026 Databricks, Inc. All rights reserved.

The source in this project is provided subject to the Databricks License. See LICENSE.md for details.

Third-Party Licenses
Package Version License Project URL
fastmcp ≥0.1.0 MIT https://github.com/jlowin/fastmcp
mcp ≥1.0.0 MIT https://github.com/modelcontextprotocol/python-sdk
sqlglot ≥20.0.0 MIT https://github.com/tobymao/sqlglot
sqlfluff ≥3.0.0 MIT https://github.com/sqlfluff/sqlfluff
plutoprint ==0.19.0 MIT https://github.com/plutoprint/plutoprint
claude-agent-sdk ≥0.1.19 MIT https://github.com/anthropics/claude-code
fastapi ≥0.115.8 MIT https://github.com/fastapi/fastapi
uvicorn ≥0.34.0 BSD-3-Clause https://github.com/encode/uvicorn
httpx ≥0.28.0 BSD-3-Clause https://github.com/encode/httpx
sqlalchemy ≥2.0.41 MIT https://github.com/sqlalchemy/sqlalchemy
alembic ≥1.16.1 MIT https://github.com/sqlalchemy/alembic
asyncpg ≥0.30.0 Apache-2.0 https://github.com/MagicStack/asyncpg
greenlet ≥3.0.0 MIT https://github.com/python-greenlet/greenlet
psycopg2-binary ≥2.9.11 LGPL-3.0 https://github.com/psycopg/psycopg2

Acknowledgments

MCP Databricks Command Execution API from databricks-exec-code by Natyra Bajraktari and Henryk Borzymowski.

Jelajahi proyek terkait

Memuat…