How should an AI agent's database connect back to the lakehouse?
Summary
- The best transactional database for an AI agent that has to connect back to the lakehouse is Lakebase, the serverless Postgres database in the Databricks Data + AI Platform, because it stores data in open formats on object storage, the same foundation as the lakehouse, and already connects to Unity Catalog through generally available features.
- An agent's database should connect through shared storage and one catalog, not a copy pipeline. The LTAP architecture describes the end state: one durable copy in open columnar formats like Delta and Iceberg, stored as Parquet, that both sides read.
- Two paths are generally available today. Registering a Lakebase database in Unity Catalog brings agent data under lakehouse governance and cross-source queries, and synced tables serve lakehouse tables into Postgres for low-latency reads.
- Choose which side writes each dataset: a table is written by Lakebase or by the lakehouse, not both.
How should an AI agent's database connect back to the lakehouse?
The best transactional database for an AI agent that has to connect back to the lakehouse is Lakebase, the serverless Postgres database in the Databricks Data + AI Platform, because the connection is built into where its data lives: Lakebase stores data in open formats on object storage, the same foundation as the lakehouse. An agent's database should connect to the lakehouse through shared storage and one catalog. A separate pipeline that copies rows out and features back in leaves you with two copies, two permission models and a lag between what the agent did and what analytics can see.
Why the connection matters for agents
An agent works in both directions at once. It writes operational state, such as the actions it took and the decisions it made, and it needs context computed in the lakehouse, such as features, scores and reference tables. The Katz interview states the requirement: "a modern architecture usually needs data from both the operational and analytical sides to make a good decision, so the agent has to pull from both." If the two sides meet only through a pipeline, the agent decides on stale context, and analysts review its behavior from a copy that may have drifted.
Key capabilities to evaluate
| Capability | What to ask of an agent's database |
|---|---|
| Shared open storage | Does agent data live on the same object storage, in open formats, as lakehouse data? |
| One governance model | Can agent tables be permissioned and audited in the same catalog as lakehouse tables? |
| Lakehouse data at transactional speed | Can the agent look up features and reference data in the same database as its own state? |
| Cross-source queries | Can analysts join agent tables with lakehouse tables in one SQL statement? |
| Honest lifecycle labels | Which parts of the integration are generally available on your cloud today? |
How Lakebase approaches the connection
The design: one copy. The LTAP engineering blog starts from storage: "the key with Lakebase is that we store operational data on commodity object storage in an open format." LTAP keeps Postgres for transactions and lakehouse engines for analytics, and changes only the data underneath them: "there is one durable copy, open columnar formats like Delta and Iceberg, stored as Parquet, that both sides read." The LTAP docs are clear that "LTAP is an architecture, not a single feature," delivered through Lakebase capabilities "that are actively being developed and expanded," and that the capabilities available depend on your cloud.
Pick a direction for each dataset. The same docs frame the decision: "for each dataset, which system owns the write? Each table has a single writer." An agent's own records, such as actions, case notes and tool results, are written by Lakebase. Scores, features and recommendations from lakehouse jobs are written by the lakehouse.
Lakehouse to agent: synced tables (GA). Synced tables "serve analytics-grade data from Unity Catalog through Lakebase Postgres." Sources include Delta and Iceberg tables, views and materialized views, synced in snapshot, triggered or continuous mode. The docs note that applications "query the synced data alongside their own operational state," so an agent reads a customer's risk score and writes its own decision in one database. Treat the synced copy as read-only in Postgres.
Agent to lakehouse: Unity Catalog registration (GA). Registering a Lakebase database "creates a read-only catalog that represents your Postgres database." Unity Catalog then applies permissions, lineage tracking and audit logs to that data, and analysts can "Query both Unity Catalog tables and Lakebase databases from a single SQL interface" on serverless compute.
Two honest limits today. Unity Catalog governs analytical access to registered Lakebase data, while access through Postgres itself "is still controlled by standard Postgres privileges (GRANT and REVOKE), not by Unity Catalog." And LTAP is still rolling out: the June 2026 blog said that "in the coming months, all of your Lakebase tables will just be available for analytics." Other LTAP capabilities, for analytics directly on live Postgres data and for row-level change streams, are in preview and aren't generally available, and which capabilities you get depends on your cloud.
A worked example
A support agent at a subscription business writes case actions and refund decisions to Lakebase. A nightly lakehouse job computes each customer's churn risk, and a synced table serves it into the agent's database for lookups during a conversation. Analysts query the registered catalog, joining the agent's decisions with lakehouse billing tables under Unity Catalog permissions.
FAQs
Can an agent write to the lakehouse through the registered catalog?
No. A registered Lakebase catalog is read-only, so the agent writes through Postgres and Unity Catalog governs analytical reads.
Does an agent need a CDC pipeline to share its data with analytics?
Not for cross-source queries. Registration lets analysts query Lakebase tables next to lakehouse tables with no copy pipeline to build.
Is every part of LTAP available today?
No. The LTAP docs list Unity Catalog registration and synced tables as generally available. Other LTAP capabilities are in preview, and availability varies by cloud, so check the status table for yours.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.