How databricks-solutions/databricks-apps-cookbook works
The Databricks Apps Cookbook is a collection of Python app recipes and runnable examples for Dash, Streamlit, Reflex, and FastAPI, plus a local MCP server that exposes recipe and skill lookup to coding agents. The user-facing path is to browse or run a framework sample, then use a recipe to access Databricks capabilities such as data, AI, identity, and jobs. Reflex and FastAPI wiring is supported by sampled source; broader recipe coverage and service relationships are documented in the README, not verified in every implementation.
Main entry points: pages Reflex recipes · dash Dash app · streamlit Streamlit app · app.py FastAPI application
Components 20
App Examples
- Dash app
dash - Streamlit app
streamlit - Reflex app
reflex/app - Reflex recipes
reflex/app/pages - Shared page layout
reflex/app/components/page_layout.py - Recipe tabs
reflex/app/components/tabbed_page_template.py
Recipe Capabilities
- Tables and volumes
streamlit/views - Compute and workflows
dash/pages - AI and Genie
reflex/app/pages - Identity and connections
reflex/app/pages
FastAPI Example
- FastAPI application
fastapi/app.py - Versioned API routes
fastapi/routes/v1 - Lakebase database config
fastapi/config/database.py - Error handlers
fastapi/errors/handlers.py
Agent Recipe Tools
- Recipe MCP server
mcp-server/server.py - Recipe and skill catalog
mcp-server/catalog.py
Other components
- App developer
- Databricks workspace
- Lakebase database
- Coding agent
Connections 24
- App developer → Dash app: uses recipes
- App developer → Streamlit app: uses recipes
- App developer → Reflex app: uses recipes
- App developer → FastAPI application: uses recipes
- Dash app → Tables and volumes: offers examples
- Streamlit app → Tables and volumes: offers examples
- Dash app → Compute and workflows: offers examples
- Streamlit app → AI and Genie: offers examples
- Reflex app → Reflex recipes: registers pages
reflex/app/app.py - Reflex recipes → Shared page layout: uses layout
reflex/app/pages/oltp_database.py - Reflex recipes → Recipe tabs: uses template
reflex/app/pages/oltp_database.py - Reflex recipes → AI and Genie: includes recipes
- Reflex recipes → Identity and connections: includes recipes
- Dash app → Databricks workspace: accesses platform
- Streamlit app → Databricks workspace: accesses platform
- Reflex app → Databricks workspace: accesses platform
- FastAPI application → Versioned API routes: includes router
fastapi/app.py - FastAPI application → Lakebase database config: initializes database
fastapi/app.py - FastAPI application → Error handlers: registers handlers
fastapi/app.py - Versioned API routes → Lakebase database: serves database APIs
- Lakebase database config → Databricks workspace: gets credentials
fastapi/config/database.py - Lakebase database config → Lakebase database: connects to
fastapi/config/database.py - Coding agent → Recipe MCP server: requests recipes
- Recipe MCP server → Recipe and skill catalog: calls catalog
mcp-server/server.py