---
sidebar_position: 2
---

# AI-Assisted development

## Prerequisites

- [Node.js](https://nodejs.org) v22+ environment with `npm`
- Databricks CLI (v0.295.0 or higher): install and configure it according to the [official tutorial](https://docs.databricks.com/aws/en/dev-tools/cli/tutorial).
- A new Databricks app with AppKit installed. See [Bootstrap a new Databricks app](../index.md#quick-start-options) 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:

```bash
databricks experimental aitools 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:

1. Creating a new basic app
  ```
  Create a new Databricks app that displays a dashboard of the users table in main.default.
  ```
1. Introspecting a table schema
  ```
  Show me the schema of the users table in main.default.
  ```
1. Creating a new query
  ```
  Create a new query to find users created in the last 7 days.
  ```
1. 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:
1. Use the [hosted llms.txt file](https://databricks.github.io/appkit/llms.txt)
2. Use the `npx @databricks/appkit docs` command to view the documentation in the terminal.

  ```bash
  npx @databricks/appkit docs            # documentation index with section overview
	npx @databricks/appkit docs <query> # for specific documentation file or section
  ```

  Examples of documentation queries:
  ```bash
  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](https://github.com/databricks/databricks-agent-skills).
