Azure Databricks Lakebase is the only branchable Postgres database on Azure. Partners use Lakebase Postgres branching to safely build and debug AI agents on real customer data, without production access, using GitHub Copilot and Genie Code.
by David Meyer and Robert Saxby
Lakebase branching gives partners a safe way to build and debug AI agents on real customer data, without asking for production access. On Azure Databricks, a developer or AI coding agent can create a copy-on-write branch of a production Postgres database in seconds, test a fix on the branch and ship it through Git without touching production. Partners like DXC Technology and Quest are already building on Lakebase, and this post covers how branching fits into the delivery workflow.
If you build or deploy AI agents for customers, you've likely seen a project slow down for the same reason: the agent performs well in testing, but real-world data introduces new complexity, and the team needs a safe, governed way to troubleshoot against production. For partners, this is where delivery timelines slip and customer confidence erodes.
AI coding agents like GitHub Copilot, Genie Code, Claude Code, and Codex have changed how quickly teams write software. A coding agent can propose a fix in minutes, and every code change is protected by Git: a branch, a review and a merge.
The database underneath that code has nothing like it. Databases were designed for people, who set one up, size it for its busiest day and keep it for years. Copying one for a test is a project. That gap slows AI agents on their way to production and adds risk to partner-led delivery.
When something does break, delivery teams usually have three options, and each comes with a trade-off:
All three trace back to the same design. The data lives inside one database server, so every copy of it is slow, expensive or off limits. Each option costs the project time, and for a partner delivering AI to a customer, time is margin and customer confidence.
A lakebase is a transactional database (Postgres) that keeps its data in object storage, in an open format, instead of on one server's disks. That's what makes branching fast: a new branch points at data that already exists instead of copying it.
Azure Databricks Lakebase Postgres is a lakebase built into the Databricks Data + AI Platform. It's standard Postgres, fully managed and serverless, so drivers, object-relational mappers (ORMs) and AI coding tools work as they are. For partners, that means no new tooling to learn and no changes to the customer's existing stack.
The bottom line: every change an agent makes should be tested on a branch of real data. A lakebase makes that a step that takes seconds, not a project. For systems integrators (SIs) and consultancies, that's a faster debug cycle on every engagement. For independent software vendors (ISVs), it's safe test and release cycles built into the product.
At Microsoft Build 2026, Azure Databricks introduced Lakebase branching with GitHub Copilot agent mode in Public Preview. The full loop runs across GitHub, Azure Databricks and Lakebase, with no third-party tools or custom infrastructure. Genie Code also works with Lakebase branching. It is Databricks’ own AI coding agent, purpose-built for data engineering, machine learning and AI workflows on the platform.
Teams debug against real data without connecting to the production database, and debug cycles can shrink from hours to minutes.
Why this matters for the AI dev loop: Many enterprise accounts standardize on GitHub Copilot, and Lakebase branching works natively with it. At the same time, Genie Code is free within the standard monthly allowance for every Azure Databricks user and is optimized for Databricks-specific output: pipelines, asset bundles, performance fixes and Unity Catalog-grounded context. Partners can use both: Genie Code for Databricks-side data engineering, and GitHub Copilot or other coding agents for the broader application stack. The branching workflow doesn't change based on which coding agent the team picked.
Branching is one part of the Lakebase story. Partners across the Azure Databricks ecosystem are putting the full platform to work:
In each case, Lakebase took the infrastructure wait out of the project, and branching gave developers a safe place to work without a procurement cycle.
For systems integrators (SIs) and consultancies: Lakebase branching removes one of the biggest risk objections of AI agent projects. Developers get real data, security keeps production locked down, and every fix still goes through controls the customer already trusts. That means fewer stalled projects and a faster path to production, which is where the real consumption starts.
For independent software vendors (ISVs) building on Azure Databricks: Lakebase can serve as the operational Postgres database behind your app or agent, governed through Unity Catalog. Branching gives your engineering team safe test and release cycles against realistic data, and scale-to-zero keeps idle dev and test branches from adding cost.
For both SIs and ISVs, it strengthens your Microsoft story: Azure Databricks is a first-party Azure service, so the workloads you deliver on it run on Azure and support the Azure commitments your customers have already made.
Learn: Lakebase branches, getting started with the Databricks CLI for Lakebase and agent skills for AI coding assistants.
Read: Building AI apps and agents with Azure Databricks, Copilot Studio, and GitHub Copilot.
Try: Genie Code is free for every Azure Databricks user – start building today.
For partners: Build your Azure Databricks practice with partner training and badges on the Databricks Partner Portal, and talk to your Databricks partner team or Partner Solutions Architect about demos and co-sell.
Lakebase branching creates an isolated, copy-on-write copy of a Postgres database, including its real data, in seconds. A branch shares its parent's underlying storage and writes new data only when something changes, so creating one has no performance impact on production. Changes on a child branch never affect its parent.
A developer or AI coding agent branches production, and the agent connects to the branch to reproduce the issue, find the root cause and propose a fix. This works with GitHub Copilot agent mode, Genie Code, Claude Code, Codex or any AI coding tool that connects to Postgres. The developer tests on the branch, and the fix ships through Git using the team's existing deployment and compliance workflows. Lakebase branching for GitHub Copilot agent mode is in Public Preview.
No. Teams debug against real data on a branch without connecting to the production database. No data is moved and no production records change, so security teams can keep production locked down.
Idle branches incur no compute charges because Lakebase scales to zero. They resume automatically in seconds when someone uses them again.
Genie Code is Databricks' autonomous AI coding agent, free within the standard monthly allowance for every Azure Databricks user, purpose-built for data engineering, machine learning and AI workflows on the platform. It works alongside GitHub Copilot: partners can use Genie Code for Databricks-side work and GitHub Copilot for the broader application stack. Both work with Lakebase branching.
Systems integrators can make per-developer environments for test-driven development on a live branch, branch-based performance and rehearsal testing before deploying to production, and safe schema changes a standard part of every Azure AI engagement. ISVs can use Lakebase as the operational Postgres database behind their app or agent, governed through Unity Catalog, with branching for safe test and release cycles. The Lakebase and Apps Implementation Service Delivery Kit on the Databricks Partner Portal provides a ready-made playbook.
Subscribe to our blog and get the latest posts delivered to your inbox.