# The Agent Cloud: Databricks' Bet on the Future of AI — Matei Zaharia and Reynold Xin
<!--
ref: @content/youtube/latent-space/2026-06-24-the-agent-cloud-databricks-bet-on-the-future-of-ai
version: 3
updated_at: 2026-10-31T18:30:02.792Z
-->

Matei Zaharia & Reynold Xin (Latent Space, 2026-06-24): Zaharia and Xin argue the agent era does not need a new stack so much as three missing layers: a common API across agent harnesses so sessions become portable and shareable, a policy layer that reasons over session *state* rather than yes/no tool permissions, and a storage…

*Synthesized from Matei Zaharia & Reynold Xin on Latent Space, 2026-06-24.*

Matei Zaharia (Databricks CTO, creator of Spark, architect of Unity Catalog) and Reynold Xin (co-founder and chief architect) walk through the company's Data + AI Summit launches — an open-source agent server, a storage-level answer to HTAP, and a from-scratch query engine — recorded at a conference that drew 30,000 in person and 100,000 online, up from about 50 people at the first Berkeley meetup.

## Core Thesis

Zaharia and Xin argue the agent era does not need a new stack so much as three missing layers: a common API across agent harnesses so sessions become portable and shareable, a policy layer that reasons over session *state* rather than yes/no tool permissions, and a storage substrate where transactional and analytical data are the same bytes so agents can reason over live operational data without a pipeline in between. Xin's summing-up is that generic agents are already good enough at reasoning that much of traditional software gets rewritten as "put the data in the right place, then put an agent on it" — and that the hard, defensible part is the data placement, not the agent.

## Key Insights

- **Omnigent** came from two converging internal pains. Databricks' dev-infra team had built Isaac, a wrapper over Claude Code and Codex that runs them in web sandboxes or locally; separately the research team shipping the Genie data-science agent kept having to swap model and harness every few months. Roughly five or six internal agentic frameworks existed doing more or less the same thing.
- The core of Omnigent is a single API over every harness: you have a session, you send a message or a file, you get back streamed text and tool calls, and you can cancel a turn. Claude Code in a terminal, Codex, and the OpenAI SDK all map onto it. Zaharia's argument for value: when Claude changes its API, someone has to fix the adapter or silently drop messages — that maintenance is the product.
- Open-sourced on a Saturday, the repo had roughly 400 merges by the following week, with Zaharia estimating about half came from outside his team — Kubernetes support, several cloud sandbox backends, and additional harnesses including Cursor CLI and Antigravity.
- Zaharia's open-source heuristic, carried over from Spark: open-source the layer that gains from network effects and third-party integrations (connectors, libraries, harness adapters); keep as a service the things that structurally require an operations team, like making sure a streaming job or a lake-based database does not lose data overnight.
- **Contextual (stateful) policies** are the security bet. Binary allow/deny on tool patterns forces bad choices: should the agent read confidential docs? install a day-old npm package? publish to the company website? Each may be fine alone; the combination is an exfiltration path. Omnigent tracks session state, so publishing gets blocked *only if* the session already did something risky — more secure and more usable at once.
- Raw events are too low-level to write policy against. Databricks' internal Google Drive MCP server exposes 60 API calls, and knowing which ones can share a document publicly is drudgery. So the policy layer is functions plus libraries: someone writes a mapping from low-level events to high-level ones, and policies are written against the high-level events. The Panther acquisition slots in here on the event-processing side, in Python rather than a custom DSL.
- Spend is just another piece of session state. Zaharia had an agent burn $500 debugging by reading log files; with contextual policies he can launch a sub-agent capped at $5 and be prompted before it continues. Internally, Databricks token budgets are unlimited but traces are analyzed — which surfaced findings like which models are stronger on Rust versus TypeScript in their codebase. He notes a consulting firm with 100,000 coding employees has a very different calculus than a few thousand engineers.
- Scale figures: Databricks launches 50-60 million virtual machines a day across three clouds and processes exabytes before breakfast in most time zones. Neon is now launching about 13 million databases a day, a jump Xin attributes largely to agents branching databases for experiments.
- **LTAP** is a deliberate wordplay on HTAP, and the claim is that HTAP failed by trying to unify the query engine — you end up with a new proprietary API, no ecosystem, and worse performance on both sides. Unify the *storage* instead and you get 99% of the benefit.
- The implementation came from a single unplanned prototype. In the Lakebase architecture (inherited from Neon's storage/compute separation) Postgres pages were written row-oriented to the open lake; an engineer noticed the storage fleet had idle CPUs, prototyped transcoding row to column at that layer, and it worked. Because columnar data compresses better, the writes to object storage actually got *faster* — no performance compromise. Zaharia and Xin frame the culture lesson bluntly: months of debate ended because someone shipped a prototype without a design doc or kickoff.
- What this kills is CDC. Xin calls change data capture one of the most boring and most fundamental operations in modern infrastructure, and also so brittle — schema change on the OLTP side breaks the pipeline — that data engineers get paged at 3am. When he asked a keynote audience who loved their CDC pipeline, about two hands went up.
- The agent payoff is concrete: a customer described seeing SLA dips in service logs with no way for an agent to inspect what was actually happening inside the database — only product telemetry. Making the operational rows immediately queryable is what makes the investigating agent useful.
- **Dream Engine** is a from-scratch analytics engine, undertaken with open acknowledgment of second-system syndrome (mitigated, Xin jokes, by hiring engineers already on their third or fourth database). Rather than reading papers and assembling the best-looking algorithms, the team built a factory: a machine learning model — explicitly not an LLM — trained on a decade of query traces, on the order of a quadrillion sampled data points, that predicts with high fidelity how any algorithm or implementation will perform on a given query shape.
- That model drives choices both at implementation time and at runtime dispatch, and Xin says many results are counterintuitive. The feature space runs to roughly a million features: scale, throughput/latency tradeoff, data distribution and sparsity, access recency, distinct-value count (which sets aggregation hash-table memory), even whether a string column is ASCII or Unicode — a column with only 256 distinct values can use array lookup instead of a hash table.
- Dream Engine ships incrementally behind a new endpoint rather than as a five-year cutover; the specific "better" it targets is very low latency, workloads completing in tens of milliseconds.
- Xin dismisses the "one query language" concern as a human-era problem: agents are fluent in both Postgres SQL and Spark SQL and do not get confused, so long as the data is accessible.
- On the Snowflake divergence: both started at the same time on cloud storage/compute separation, but Databricks never had a proprietary format (Parquet, then Delta and Iceberg) and always pitched ML plus data rather than data infrastructure. Databricks started upstream — large-scale batch ingest of JSON logs and the like, cheap and open but slower — then added the speed and ergonomics of the downstream serving layer. Xin notes a Snowflake co-founder once published a post titled "Choosing Open Wisely" arguing the other side.
- On Mosaic: after DBRX (trained above Llama 3 scale), Databricks stopped chasing general frontier models and moved to specialized ones where volume justifies it. Their document-parsing vision model takes a page and returns structured JSON — roughly 100x cheaper than frontier models and better quality, built by a researcher who came from DeepMind and co-founded Adept. They are also training specialized sub-agents for pieces of the coding agent, in the vein of the advisor-models line of work (a paper from one of Zaharia's Berkeley students, plus work from Harvey and Anthropic).
- Zaharia's read on customization: it is getting easier fast, because smarter base models generate better traces for RL and synthetic data generation has improved sharply. He cites internal pipelines where an open-source model generates its own training environments, trains itself, and beats Opus and GPT-5.5 on the target task. The open question is not capability but when it becomes easy enough that a non-researcher can describe a task and get a model.
- Product process: most Databricks products are built in a span of weeks, and Zaharia's first question to a team is who the target customer is and whether they are on a first-name basis and texting them. Delta Lake was built to one large customer's stated event rate and freshness requirement around 2017-18; clean rooms were built for two customers. His view is that overfitting to one or two customers is a much smaller risk than boiling the ocean and shipping to nobody.
- On enterprise versus tech-company customers: governance, privacy, decades of legacy systems and regulation, and far more procurement stakeholders. Tech companies say "I'll just build that myself"; enterprises say they never want to be in that business — which, as Xin notes, makes them good customers.

## Actionable Takeaways

1. If you maintain your own agent orchestrator, the durable work is the compatibility layer across harnesses — session, send message or file, stream text and tool calls, cancel turn — not the UI on top. Omnigent is open source specifically to be forked as that starting point.
2. Replace binary tool permissions with state-dependent ones: allow the risky-in-combination actions individually, and gate the second one on what the session already did. Look at the contextual-policies section of the Omnigent docs for the shape of it.
3. Track spend as session state and cap sub-agents explicitly (e.g. $5 with a prompt to continue) rather than discovering a $500 debugging run afterward.
4. Map low-level tool events into named high-level events with a shared library before writing policy — otherwise every policy author has to know which of an MCP server's 60 calls can leak a document.
5. If you are replicating OLTP data into analytics via CDC, the alternative worth evaluating is a single storage layer that writes columnar directly, which removes both the pipeline latency and the schema-change fragility.
6. For high-volume narrow tasks like document parsing, a specialized model can be ~100x cheaper than a frontier model *and* more accurate — check volume before defaulting to a frontier API.
7. When building a new product, name a specific design partner you text with before you write the design doc, and accept overfitting to one or two customers as the cheaper failure mode.
8. Settle architectural debates with a prototype against real traces and real workloads rather than another meeting — that is literally how LTAP's columnar transcoding got decided.

## Notable Quotes

> "Get the data to be there and then let's slap some AGI on top. Magic will come out." — Reynold Xin

> "We joke that it should be called continuous data corruption." — Reynold Xin

> "I don't want to end up on the front page as I installed some weird NPM package and leaked all the code." — Matei Zaharia

> "We think you can get 99% of what you need by unifying the storage." — Reynold Xin

> "Agents are very eloquent in Postgres SQL or Spark SQL. It's never going to get confused." — Reynold Xin

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*