跳到正文
实时
Databricks Blog·· 2 小时前

Azure Databricks Lakebase 分支助力 AI 代理开发

How partners use Lakebase Postgres branching on Azure Databricks

要点速览

Azure Databricks 推出 Lakebase 分支功能,允许开发者或 AI 编码代理在几秒内创建生产 Postgres 数据库的只写分支,测试修复并安全地通过 Git 发布,无需接触生产环境。这为合作伙伴如 DXC Technology 和 Quest 提供了快速调试和安全测试的途径,显著缩短了调试周期,提升了客户信心。

正文

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.

Why AI agent projects stall at the database

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:

  • Debug on synthetic data. It's quick, but it often can't reproduce the problem.
  • Wait for a staging copy. In many enterprises, that means provisioning, masking and loading, and the copy is out of date when it arrives.
  • Ask for production access. Security teams say no, and they're right to.

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.

What is Lakebase branching?

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.

  • Instant, copy-on-write branches. A branch carries the real data of its parent, not only the schema, and shares the underlying storage. New data is written only when something changes, so branches appear instantly regardless of database size, and creating one has no performance impact on production.
  • Full isolation. Changes in a child branch never affect its parent. Teams can keep dev and staging branches, or give each developer or agent their own branch.
  • Scale-to-zero. Idle branches incur no compute charges and resume automatically in seconds.
  • Production essentials. Lakebase is Postgres, offers native full-text, vector and hybrid search for AI retrieval, is governed through Unity Catalog and offers a 99.99% uptime service level agreement (SLA) for zone-redundant high-availability endpoints.

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.

How partners use Lakebase branching with AI coding agents

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.

  1. An agent fails in production on an edge case in real data.
  2. The developer or their AI coding agent branches production. The copy-on-write branch is ready in seconds. No data is moved and no production records change.
  3. The AI coding agent, whether GitHub Copilot agent mode, Genie Code or another tool the team uses, connects to the branch to reproduce the issue, find the root cause and propose a fix. Azure Databricks agent skills help it work with Databricks resources.
  4. The developer tests safely. Everything that happens on the branch stays on the branch.
  5. The fix ships through Git using the deployment and compliance workflows the team already has, and the branch is deleted.

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.

How partners are already building with Lakebase

Branching is one part of the Lakebase story. Partners across the Azure Databricks ecosystem are putting the full platform to work:

  • Thoughtworks is using Lakebase to store machine configuration, testing configuration changes on a branch, and applying successful changes to the mainline before sending them to the machine, ensuring safe and validated updates for scientific instrument feeds.
  • DXC Technology, a global IT services company, used Lakebase to power a GenAI competency agent that delivers personalized skill recommendations to 130,000 consultants across 70 countries.
  • Quest launched Lakebase Modeler on the Databricks Marketplace, helping customers design and govern their schemas directly in the Databricks workflow before apps and agents start writing to the database.

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.

What's in it for partners

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.

  • Package it as a repeatable offer: Per-developer environments, branch-based testing and safe schema changes can become a standard part of every Azure AI engagement, built on a toolchain Microsoft customers have already standardized: GitHub, Azure Databricks and Lakebase.
  • Accelerate delivery with Genie Code: Genie Code is free within the standard monthly allowance for every Azure Databricks user and helps data engineers and developers write, debug and ship pipelines faster, reducing the hours your team spends on Databricks-specific work.

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.

FAQs

What is Lakebase branching?

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.

How does Lakebase branching work with GitHub Copilot and Genie Code?

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.

Do developers need access to the production database to debug an AI agent?

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.

Do idle Lakebase branches cost money?

Idle branches incur no compute charges because Lakebase scales to zero. They resume automatically in seconds when someone uses them again.

What is Genie Code and how does it relate to GitHub Copilot?

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.

How can partners build a practice around 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.

来源: Databricks Blog · databricks.com