databricks-apps-python
Skill by databricks
Guides an AI assistant in building Python backends for Databricks Apps with FastAPI, Flask, Dash, Streamlit, Gradio or Reflex. It is for teams that need a Python backend or are extending an existing Python app.
Install databricks-apps-python
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-apps-python ~/.claude/skills/databricks-apps-pythonRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-apps-python ~/.gemini/antigravity-cli/skills/databricks-apps-pythonAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install databricks-apps-python in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through building Python backends for Databricks Apps. It covers FastAPI (the default), Flask, Dash, Streamlit, Gradio and Reflex, with rules for choosing a framework and a standard project layout. It also covers OAuth authorization, app resources, SQL warehouse and Lakebase connectivity, and deployment via the Databricks CLI or Declarative Automation Bundles.
The skill points to other skills for foundation model, Vector Search and model serving calls. It also states that databricks-apps (AppKit, Node.js and TypeScript) is the default for new Databricks Apps. This skill is meant for teams that need a Python backend, are extending an existing Python app, or are Python-only. Its rules require SDK Config() for authentication and app.yaml valueFrom for resources.
Written from the project's SKILL.md and checked against it.
What it can do
- Framework selectionHelps choose between FastAPI, Flask, Dash, Streamlit, Gradio and Reflex for a Databricks App.
- AuthorizationCovers service principal auth, on-behalf-of user tokens, OAuth scopes and per-framework examples.
- App resourcesExplains connecting apps to SQL warehouses, Lakebase, model serving, secrets and volumes.
- Lakebase connectivityDescribes using Lakebase (PostgreSQL) as the app data layer with psycopg2 or asyncpg.
- DeploymentCovers deploying via the Databricks CLI or Declarative Automation Bundles with app.yaml.
- App lifecycle via CLICovers creating, deploying, monitoring and deleting apps from the command line.
What you need
- Databricks CLI (>= v1.0.0)
- Python 3.11 runtime for the app
Try asking
- Set up a FastAPI backend for a Databricks App that reads from a SQL warehouse
- Add user authorization with on-behalf-of tokens to my Dash app on Databricks
- Deploy my Streamlit app to Databricks using a Declarative Automation Bundle
Good to know
- Databricks recommends databricks-apps (AppKit) first for new apps unless a Python backend is required.
- psycopg2 and asyncpg are not pre-installed and must be added to requirements.txt.
- Apps must bind to the DATABRICKS_APP_PORT variable and never use port 8080.
- The x-forwarded-access-token header is only available when deployed, not locally.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/databricks-apps-python/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to databricks-apps-python
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
databricks-apps-python: common questions
When should I use this skill instead of databricks-apps?
The source says to use this skill only when the user asks for a Python backend, is extending an existing Python app, or the team is Python-only. For other new Databricks Apps, databricks-apps (AppKit) is the default.
Which Python frameworks does it cover?
It covers FastAPI (default), Flask, Dash, Streamlit, Gradio and Reflex. Each has a documented app.yaml command in the source.
How does it handle authentication?
It uses SDK Config() for service principal auth and the x-forwarded-access-token header for user auth. The source says tokens are only available when the app is deployed.
How do I install databricks-apps-python?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is databricks-apps-python free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is databricks-apps-python safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to databricks-apps-python?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
