Technology

AI Agents Must Live Where Your Data Does

Enterprises are facing significant challenges with external AI agents, driving a shift towards 'data-native' approaches where AI workloads run within the data platform.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

5 min read

Diagram illustrating the difference between external AI agents and data-native AI agents within a data platform.
Data-native AI agents integrate directly into the data platform, unlike traditional external agents.
Visual TL;DR
External AI AgentsDriver
AI workloads operate outside secure, governed data environments
From the article 9+ mentionsLatency increases with every network hop to external vector stores and LLMs, compounding across multi-tool agents.
Fragmented GovernanceDriver
security teams flag governance gaps when data leaves governed systems
From the article 9+ mentionsThis architectural disconnect leads to compounding problems, including fragmented governance, escalating egress costs, and significant latency in multi-step operations.
High Egress CostsDriver
model provider bills surge from pulling large datasets out of systems
From the article 2 mentionsCosts fragment across egress charges, duplicate storage, and per-token pricing from multiple vendors.
Latency IssuesDriver
user experience suffers from slow responses in multi-step operations
From the article 5 mentionsThe core issue, as highlighted by Databricks, is the fundamental need for AI to operate within the data's existing control plane.
Data GravityContext
moving large datasets is difficult, compute is relatively easy to relocate
From the article 9+ mentionsEnterprise AI agents often falter when they operate outside the secure, governed environment where an organization’s data resides.
Data-Native AgentsCore
AI workloads run within the data platform's existing control plane
From the article 9+ mentionsData-native AI agents embed policy enforcement directly into query planning and computation, ensuring every intermediate result adheres to governance constraints.
Unified GovernanceEffect
AI operations adhere to enterprise policies within the data platform
From the article 9+ mentionsThe same Unity Catalog governance that protects data now extends to AI agent operations, providing a unified framework for trust and control.
Reduced CostsEffect
eliminates egress fees by processing data where it already resides
From the article 3 mentionsThe governance argument is compelling, but the advantages of data-native agents extend across security, quality, observability, deployment, latency, and cost.
Improved PerformanceEffect
faster responses and more efficient multi-step AI operations
Scalable Enterprise AIOutcome
overcoming pilot project challenges for robust, secure AI deployment
From the article 2 mentionsThese issues typically stem from pulling data out of governed systems into a separate AI stack, which was never designed to enforce enterprise policies.
Contents(4)

Enterprise AI agents often falter when they operate outside the secure, governed environment where an organization’s data resides. This architectural disconnect leads to compounding problems, including fragmented governance, escalating egress costs, and significant latency in multi-step operations. The core issue, as highlighted by Databricks, is the fundamental need for AI to operate within the data's existing control plane.

The common pilot project involves connecting a large language model (LLM) to data via a vector database. However, the real challenges emerge when scaling. Security teams flag governance gaps, user experience suffers from slow responses, and model provider bills surge. These issues typically stem from pulling data out of governed systems into a separate AI stack, which was never designed to enforce enterprise policies.

The High Cost of External Agents

Data possesses significant gravity. Moving compute is relatively easy, but relocating large datasets, especially with multiplying modalities, is not. Extracting data introduces a predictable set of penalties.

Governance weakens as access controls, lineage, and residency rules must be re-implemented for each integration, inevitably leaving gaps. Latency increases with every network hop to external vector stores and LLMs, compounding across multi-tool agents. Costs fragment across egress charges, duplicate storage, and per-token pricing from multiple vendors. Managing the lifecycle becomes a complex coordination task across disparate systems.

Observability suffers, requiring the stitching together of logs from multiple tools to trace a single request. Crucially, business context, like metric definitions or glossary terms, remains trapped within the governance layer, forcing external agents to guess or rebuild this essential context from column names.

Why Post-Hoc Governance Fails

Governance is the penalty that cannot be patched later. Most AI governance approaches attempt to filter data after an agent has already accessed it, such as redacting sensitive fields from responses or auditing logs afterward. This approach breaks down as soon as agents begin computing over data.

Consider an agent calculating a financial summary. If row-level security isn't enforced before the aggregation, the resulting sum or average is already shaped by data the user should not have influenced. No downstream redaction can undo this fundamental calculation. Policy enforcement must occur at query planning time, not at response rendering time.

Retroactive controls are incomplete because they assume data can be safely censored after reaching the agent. Once an aggregation or transformation occurs, the original governance intent is lost.

This breakdown also inflates costs. When governance is resolved after the fact, agents compensate by traversing audit logs, joining fragments from external systems, and re-evaluating data to determine its usability. This is not the agent’s intended task but a compensation for a poorly governed data answer.

Blocked or redacted outputs trigger retry loops, extending sessions and loading more context into the model. A single request can quietly balloon into thousands of billed tokens, a direct consequence of post-hoc governance spinning up the token-burning loop.

Data-native AI agents embed policy enforcement directly into query planning and computation, ensuring every intermediate result adheres to governance constraints. Policy is evaluated before and during execution, not as an afterthought.

Agent State and Memory Demand Governance

Beyond reading data, production agents write conversation history, task progress, user preferences, and cached results. This state layer is as critical as the data layer for end-to-end auditability.

State, the live conversation, the task in flight, and memory, customer interactions, user preferences, require transactional storage. Leaving this outside the governance boundary creates a critical hole.

A memory entry like "user X is a high-value EU customer" is sensitive data, subject to the same access and residency rules as the source record. Traditional workarounds like external PostgreSQL or Redis instances reintroduce the core problem: agent state leaves the governed perimeter into systems the governance layer cannot see.

This leads to a data-native agent with an ungoverned dependency. When multiple agents collaborate, sharing memory becomes essential. Without a single source of truth for state, agents diverge, writes collide, and each handoff becomes an ungoverned channel.

Lakebase, a managed PostgreSQL storage within the Databricks platform, addresses these gaps. Agent state becomes a governed asset, inheriting platform access controls and living alongside the agent's data and tools. This transactional layer serves as the swarm’s single source of truth, ensuring consistent state, atomic updates, and traceable memory across collaborating agents.

The Case for Data-Native Agents

The governance argument is compelling, but the advantages of data-native agents extend across security, quality, observability, deployment, latency, and cost.

Tools and data dependencies are versioned and logged with the model, making the entire system auditable and reproducible by default.

Data-native AI agents offer a single control plane for data and agents, embedding policy enforcement directly into query planning and execution. This contrasts sharply with external agents, which require replicating governance across separate AI components like warehouses, vector databases, and SaaS LLMs, leading to fragmented control and potential gaps in fine-grained access control (FGAC).

Security is enhanced as data and models remain within the organization’s cloud perimeter, avoiding the additional attack surfaces created when data leaves the secure environment. Agent quality benefits from end-to-end, platform-native evaluation, rather than fragmented and manual assessments across multiple external vendors.

Data quality consistency is built-in via shared data pipelines, with freshness managed at the platform level. Observability is holistic, capturing all steps centrally alongside model and agent versions, simplifying troubleshooting.

Crucially, agent memory, conversation history, user preferences, learned context, persists in a governed Lakebase, joinable to underlying business data and bound to the same identity model as the rest of the stack. In contrast, memory in separate Redis or PostgreSQL instances lacks lineage to source data and cannot be centrally governed.

The same Unity Catalog governance that protects data now extends to AI agent operations, providing a unified framework for trust and control.

Mentioned in this story

Sources

TopicsAI AgentsData GovernanceEnterprise AILLMsDatabricksLakehouse ArchitectureAI SecurityData Strategy

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.