AI-Assisted development
Prerequisites
- Node.js v22+ environment with
npm - Databricks CLI (v0.287.0 or higher): install and configure it according to the official tutorial.
- A new Databricks app with AppKit installed. See Bootstrap a new Databricks app for more details.
AppKit integrates with AI coding assistants through the Agent Skills.
Installing Agent Skills
To install the Databricks Agent Skills for your preferred AI assistant, run:
databricks experimental aitools skills install
Skills capabilities
The Agent Skills expose the following capabilities for AI assistants:
- Data exploration: Query catalogs, schemas, tables, and execute SQL
- CLI command execution: Deploy and manage apps, and run other workspace operations
- Workspace resource discovery: Inspect and navigate workspace resources
Example prompts
Here are some basic examples you can use to explore your app and workspace:
- Creating a new basic app
Create a new Databricks app that displays a dashboard of the users table in main.default.
- Introspecting a table schema
Show me the schema of the users table in main.default.
- Creating a new query
Create a new query to find users created in the last 7 days.
- Deploying an app
Deploy the app to Databricks with the name "my-app".
Possibilities are virtually endless. Ask your AI assistant to help you with your app and workspace.
LLM resources
AppKit provides specialized guidance files to help AI coding assistants work more effectively with the projects.
If you're building applications using AppKit packages, reference the llms.txt file.
There are two ways to access the documentation:
- Use the hosted llms.txt file
- Use the
npx @databricks/appkit docscommand to view the documentation in the terminal.
npx @databricks/appkit docs # documentation index with section overview
npx @databricks/appkit docs <query> # for specific documentation file or section
Examples of documentation queries:
npx @databricks/appkit docs "appkit-ui API reference" # view a specific section
npx @databricks/appkit docs --full # full index with all API entries
npx @databricks/appkit docs ./docs.md # view a specific documentation file
See more
To learn more about Agent Skills, see the Agent Skills repository.