[ Lakebase Cookbook ]

Build on Lakebase,not on plumbing.

Examples and guides to accelerate your Databricks Lakebase projects. Postgres you already know, integrated with your lakehouse
LTAP, branching, autoscaling, scale-to-zero

Examples

Patterns you can deploy today.

Agents

02 examples

Developer Experience

05 examples
Branching CI/CD

Ship schema changes with confidence

branch-per-PR, AI impact review, exactly-once deploy

A GitHub CI/CD workflow that forks a Lakebase branch off production for every PR touching migrations, runs the changed SQL there, and posts an AI impact review before merge — then applies migrations to production exactly once.

Read →
Agentic Development

Consort — enforced spec-first TDD on Lakebase branches

role agents, deterministic gates, honest-green

An agentic development framework: a Scrum team rendered as role agents runs spec-first, test-driven development where every "green" is a real test on a live Lakebase branch, driven by a deterministic state machine with human-approval gates and immutable tests.

Read →
IDE Extension

Paired Git + Lakebase branching in your IDE

VS Code / Cursor, branch pairing, credential rotation

A VS Code / Cursor extension that replaces built-in Git source control with a unified Git + Lakebase provider, pairing every code branch with a Lakebase database branch so code and schema travel together through review, CI/CD, and merge.

Read →
SCM Engine

The portable Lakebase branching + SCM engine

library API + CLIs, paired-branch state machine

The portable engine behind the SCM extension and Consort: database branching, the paired-branch SCM workflow state machine, credential minting, and schema migration — consumable as a TypeScript library and as CLIs.

Read →
Point-in-Time Recovery

Recover a branch and repoint an app

copy-on-write branch as-of, app repoint, one-variable redeploy

A standalone script that recovers Lakebase data to an earlier point in time with copy-on-write branching, then repoints a running Databricks App at the recovered data — no restore job, no backup file, and the live branch is left untouched so you can compare before cutting over.

Read →

Apps

02 examples

Data

02 examples

Ingestion

02 examples
Databricks Lakebase

Operational and analytical, one source of truth

Stop replicating data between an operational database and your lakehouse. Lakebase brings a fully-managed Postgres engine directly into the platform — so the same governed data powers your apps, agents, and analytics.