Listen to this article

What AI agents need from operational data and why Lakebase might be where they find it

Most discussion of Databricks Lakebase so far has centred on one question: is it a good managed PostgreSQL database? It probably is. It is fully managed and serverless and applications connect to it with standard PostgreSQL drivers and tools. However, I am not convinced this is the question worth asking.

What caught my attention is something else. When operational data lives on the same platform as analytics and AI and can be copied, rewound and governed at almost no cost, several important things change. I would argue that this combination is what AI agents have been missing and it makes a stronger case for Lakebase than any feature list.

The long road from transaction to insight

Consider a routine customer order. It is written to the operational database in milliseconds, then begins a surprisingly long journey. A change data capture (CDC) job picks it up, a pipeline lands it in the Lakehouse and it is transformed and quality-checked before an analyst or model can see it. The order itself does not change. The journey is what costs us time.

Multiply that by every table and every team. Each step has its own owner, schedule and way of failing and each is another chance for copies of the same data to drift apart. We rarely see the cost on the storage bill. We pay it in engineering capacity, reconciliation effort and, most expensively, trust. We tolerated this because the reader at the other end was a person looking at a report the next morning.

Enter the AI agent

Today, the reader is often not a person. AI agents act on operational data as it stands and write state and memory back as they work. This places two demands on the data layer that the pipeline model was never designed to meet: the data must be fresh and governed and there must be a reliable way to recover when something goes wrong.

A wrong report costs a meeting. An agent acting on wrong data or writing bad state, can cost far more. In my view, what is missing is not another integration. It is an undo button for operational data.

Why traditional databases could not offer an undo button

In a traditional PostgreSQL deployment, the engine, the write-ahead log (WAL) and the data files are tightly coupled. Copying a database means moving its data, so test copies are expensive and recovery is slow. Teams respond by being careful, which is the opposite of what experimentation needs.

Lakebase separates compute from storage. Compute is stateless, meaning it holds no data of its own. Instead, safekeepers receive the WAL, which is the running record of every change and a transaction counts as committed once enough of them confirm it is durably stored. Pageservers then rebuild the data pages from that record and save them to cloud object storage. As a result, compute becomes disposable while the data stays in place and copying, rewinding or replacing a database no longer means moving data.

Four features, one idea

Seen this way, the headline capabilities are one idea expressed four ways. Branching uses copy-on-write to create isolated environments without duplicating the dataset. Point-in-time recovery creates a new branch from an earlier moment within the retention window, so mistakes can be rewound. Scale-to-zero makes idle copies cheap, with resumption latency as the trade-off. Failover lets another compute instance attach to the existing storage.

For an agent, a branch becomes a sandbox and point-in-time recovery becomes the undo. This is my reading of the design rather than a documented pattern and it is worth testing.

Imagine an agent that handles order exceptions for a retailer. It works in a branch of the order database, which costs almost nothing to create. Suppose a run applies a refund rule to the wrong set of orders. Rather than untangling the damage by hand, the team rewinds to a point before the run. Once a run is validated, the change goes to production with human sign-off. (This scenario is illustrative, not a customer example.)

Governance and the bigger idea

An undo button is only useful if the data is governed. Lakebase databases can be registered in Unity Catalog for governed, read-only analytical access. Unity Catalog tables can be synced into Lakebase for low-latency application reads and changes can flow out as Delta tables. Transactional access still runs on PostgreSQL’s own roles, so there is not yet a single permission model, but there are far fewer places for rules to drift.

The bigger idea is LTAP or Lake Transactional and Analytical Processing. HTAP tried to make a single engine good at both transactions and analytics. LTAP keeps a separate engine optimised for each workload and lets them share the same underlying data. If that works, copying data between operational and analytical systems is no longer necessary. Its capabilities are at different release stages, so please check what is available on your cloud.

The obvious objection

Databases have offered snapshots for years, so what is new? Cost and frequency. When copying means moving data, copies are slow and expensive, so we save them for releases. Branching on shared storage makes them cheap enough for every developer, test run and agent to use daily. A capability that cheap is, in practice, a different capability.

Changing the scorecard

If the value lies in fewer pipelines and safer experimentation, feature comparisons are the wrong test. I would measure four things: how many CDC and ETL jobs could be retired; how long it takes for a transaction to become usable by analytics or an agent; how long it takes to create a safe test environment and recover from a bad change; and how many places permissions and auditing must be maintained.

For platform leaders, this means treating pipelines as a running cost rather than an asset. For architects, it means starting with workloads that can tolerate scale-to-zero resumption. For AI teams, it means deciding where state lives and how it would be rewound, before it is needed.

A few caveats

Lakebase is not a replacement for every operational database. Workloads that depend on specific PostgreSQL extensions, very high-throughput or latency-critical systems and tightly integrated legacy platforms need careful validation. Transaction patterns, availability, security, regional support and cost all belong in the evaluation. Nor is this only about agents: application state, operational dashboards and low-latency feature serving fit the same pattern. Finally, this piece offers no benchmark or customer result. It is a hypothesis, not a proven outcome.

Conclusion: test it in a month

Fortunately, this is cheap to test. Choose one bounded workload, such as an agent’s memory layer or an application-state store, run it on Lakebase and compare it with the current design on the four measures above. If pipelines are retired, data arrives faster and mistakes become cheap to undo, we have found the real case. If not, we have learned that for the price of one small pilot.

The best argument for Lakebase is not that it is a better database. It is that it makes operational data safe to copy, rewind and share. With agents acting on that data around the clock, that is well worth finding out for yourself.

Author Profile

Sourabh Rathor

Aniruddha Argade

Senior Architect, Persistent Systems

Outcome-driven professional with 21 years of experience across multiple organizational domains. Certified professional in Databricks Data Engineering, Generative AI, Azure Architecture and Azure Data Engineering.