@databricks/appkit

中文文档
0.93.0发布于 2026/11/11Apache-2.0TypeScriptES Module近 30 天下载 11.1万

Build Databricks Apps faster with a Node.js + React SDK. Built for humans and AI.

原始使用文档
文档目录5 节
  1. Quickstart
  2. What an app looks like
  3. Plugins
  4. Documentation
  5. Contributing

AppKit

Build Databricks Apps faster with a Node.js + React SDK. Built for humans and AI.

AppKit is a TypeScript SDK for building production-ready Databricks applications with a plugin-based architecture. It gives you opinionated defaults, built-in observability, and first-class integration with Databricks services — so you spend time on your app, not the plumbing.

  • Plugin architecture — Compose your app from focused plugins; a base server plus analytics, Genie, files, and more.
  • Type safety — End-to-end TypeScript with automatic query type generation.
  • Production-ready — Built-in caching, telemetry, retries, and error handling.
  • Great DX — Hot reload, file-based queries, and a workflow tuned for AI-assisted development.
  • Databricks native — SQL Warehouses, Unity Catalog, Lakebase, and other workspace resources out of the box.

Quickstart

Requires the Databricks CLI and Node.js.

AI-assisted (recommended) — scaffold and evolve your app by prompting an AI assistant. Install the Agent Skills once:

databricks aitools install

Then ask your assistant to build the app, e.g. "Create a Databricks app that shows a dashboard of the NYC taxi trips dataset." See the AI-assisted development guide.

Manual — scaffold and deploy with the CLI directly:

databricks apps init      # scaffold the app + install dependencies (follow the prompts)
databricks apps deploy     # deploy to your workspace

What an app looks like

Every app is a set of plugins hosted by server():

import { createApp, server, analytics } from '@databricks/appkit';

createApp({
  plugins: [server(), analytics()],
});

With analytics(), drop a .sql file in config/queries/ and it's served at POST /api/analytics/query/<query_key> — parameterized, cached, and (with a .obo.sql name) executed on behalf of the signed-in user.

Plugins

AppKit's power comes from its plugin system. Each plugin adds a focused capability — analytics, genie, files, and more — with minimal configuration. See the plugins documentation for the full list and API.

Missing a plugin? Open an issue and tell us what you need — community input directly shapes the roadmap.

Documentation

Contributing

See CONTRIBUTING.md for development setup and contribution guidelines.

版本与发布记录

@databricks/appkit 共发布 149 个版本,首次发布于 2025/12/22;过去 12 个月发布了 149 个版本。

版本发布日期距今
0.93.0latest2026/11/11今天
0.92.02026/11/11今天
0.91.32026/11/11今天
0.91.22026/11/101 天前
0.91.12026/11/091 天前
0.91.02026/11/092 天前

关于 @databricks/appkit 的常见问题

@databricks/appkit 是什么?

Build Databricks Apps faster with a Node.js + React SDK. Built for humans and AI.

如何安装 @databricks/appkit?

在项目目录运行 npm install @databricks/appkit,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 appkit,可以用 npx appkit 直接运行。

@databricks/appkit 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@databricks/appkit 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@databricks/appkit 可以商用吗?

@databricks/appkit 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@databricks/appkit 的下载量有多少?

根据 npm 官方下载统计,@databricks/appkit 在 2026/10/12 – 2026/11/10 这 30 天内被下载 110,743 次,日均约 3,691 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@databricks/appkit 还在维护吗?

最新版本 0.93.0 发布于 2026/11/11(今天);至今共发布 149 个版本,其中过去 12 个月发布了 149 个;首次发布于 2025/12/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。