# Why the Frontier Ecosystem must be Open — Matei Zaharia and Reynold Xin, Databricks

- **Show:** Latent Space: The AI Engineer Podcast
- **Published:** 24 Jun 2026
- **Source:** https://lspace.beehiiv.com/podcast/s/latent_space_the_ai_engineer_podcast/why_the_frontier_ecosystem_must_be_open_matei_zaharia_and_reynold_xin_databricks
- **Transcript:** https://podcasts.opennash.com/shows/latent-space/why-the-frontier-ecosystem-must-be-open-matei-zaharia-and-reynold-xin-databricks-22854c/
- **Provider:** OpenNash Podcasts (machine-generated)

## In brief

Databricks leaders Matei Zaharia and Reynold Xin argue that the AI ecosystem works best when its key layers are open. They say open protocols and shared interfaces let many outside builders contribute, while the company earns its place by running reliable services on top. Their examples are Omnigent, an open layer for coding and custom agents, and LTAP, which keeps live app data and analytics data in one storage layer.

The central tension is between openness and the need for control. Agents need security and spending limits that a plain yes or no permission cannot give, so Databricks built policies that track the state of each session. A second tension is ambition against caution: rebuilding the database engine from scratch risks failure, so they ship it in steps. Openness, they say, is also why they beat Snowflake.

## Key insights

1. **Omnigent unifies coding agents behind one API** It maps Claude Code, Codex and others to a single interface for sending messages and receiving streams. That spares teams from fixing their own orchestrator each time a vendor changes its API.
2. **Security policies should track session state** Matei says a plain allow-or-block rule is too blunt. A session that read many confidential documents or installed a day-old package can be blocked from publishing, while a clean session is allowed.
3. **LTAP removes the pipeline between app and analytics** Instead of copying data out with fragile change-data-capture jobs, the database writes its data in Parquet, a column-based file format that analytics tools read directly. An engineer prototyped this by using idle CPUs on the storage fleet, and the data also compressed better.
4. **The new engine learns from a decade of traces** Rather than hand-picking algorithms from papers, the team built a machine learning model from query traces that predicts how any algorithm will perform. This lets the engine choose the best method for each workload.
5. **Open formats and AI roots beat Snowflake, per Databricks** Reynold says Databricks never had a proprietary format and always pitched machine learning with data. Matei adds that starting with large-scale open ingest let them move toward fast, business-friendly queries, while Snowflake had to work its way the other direction.

## Questions this episode answers

### What is Omnigent and why did Databricks open source it?

Omnigent is an open layer that lets one server run and share many kinds of AI agents, such as coding agents and custom agents. Matei says it was open sourced because outside people writing integrations create a network effect, and it already drew pull requests within days.

### What is LTAP, in plain English?

Reynold describes it as a way to avoid copying data from your app database into a separate analytics system. The app database writes its data in a column format (Parquet) that analytics tools can read straight away, with no delay.

### Why is change data capture (CDC) a problem?

CDC copies changes out of an app database into analytics systems by reading its change log. Reynold says it is brittle, for example breaking when a schema changes, and joked it should be called continuous data corruption.

### How do you stop an AI coding agent from leaking data or overspending?

Matei says Omnigent has contextual policies that remember what a session has done, such as reading many confidential files, and then block risky actions. It can also cap spending, for example stopping a sub-agent at $5 and asking permission to go on.

### Why is Databricks not building its own frontier model?

Matei says many companies already train big general models, which mostly takes huge compute. Databricks focuses on making models useful with data, using smaller specialized models where they are much cheaper and better, such as one for parsing documents.

## Facts

- **swyx** [0:00:08]: "You were just telling me how the first summit that you guys ran was just 50 people."
- **swyx** [0:00:23]: "I think the headline number is like 100 ,000 people around the world, 30 ,000 in person."
- **Matei Zaharia** [0:02:22]: "They built something called Isaac that's basically like a wrapper on cloud code and codex and lets you use them either on the web in sandboxes or just on your dev machine"
- **Reynold Xin** [0:11:41]: "I mean, speaking of our benefits, I think we're already seeing pull requests of all kinds of ecosystem integration, even though it was only released on Saturday."
- **Matei Zaharia** [0:14:06]: "Just to be clear, I would say the core of this is this common API on top of all the harnesses."
- **Reynold Xin** [0:17:02]: "So we, on the analytics side, I think we launched maybe 50 or 60 million virtual machines a day across all three clouds."
- **Reynold Xin** [0:17:31]: "It's launching, I think, 13 million databases a day now."
- **Matei Zaharia** [0:21:02]: "I asked an agent to debug something and it spent $500 because it decided to read a lot of log files and burn a lot of tokens."
- **Matei Zaharia** [0:20:09]: "Panther is kind of a similar idea on the event processing side and it's Python based versus a weird custom language."
- **Matei Zaharia** [0:40:05]: "and we had our engineer working on that, Michael Armbrust, and he worked just to make this work."
- **Reynold Xin** [0:29:42]: "And there's this term called CDC. Which changes data capture. And what it does, it reads the bin log of the database."
- **swyx** [0:30:22]: "Airbyte is like, you know, became a $5 billion company just doing CDC."
- **Reynold Xin** [0:34:52]: "Prototype, instead of storing the data in the data lake in the role-oriented format, like Postgres pages, write them in parquet."
- **Reynold Xin** [0:35:17]: "as a matter of fact, once you transcode the data, the data compresses better."
- **Reynold Xin** [0:46:20]: "I think they count as a quadrillion data points in the trace table."
- **Reynold Xin** [0:46:48]: "A machine learning model basically can very, very quickly tell us how any algorithm and how any implementation will perform for any specific type of queries with very, very high fidelity."
- **Reynold Xin** [0:56:17]: "the Snowflake full founders actually wrote a blog called Choosing Open Wisely, which basically argued against."
- **Matei Zaharia** [0:55:02]: "And there was a time actually when we both like sort of listed each other as partners because he said if you use both solutions together,"
- **Matei Zaharia** [0:58:46]: "even though we did launch an open source model DBRX, and we went up to sort of above the LAMR3 scale, we decided that we really want to focus on"
- **Matei Zaharia** [0:58:14]: "So they had the fastest image model training stack in the world and stuff like that."
- **Matei Zaharia** [0:59:19]: "For us, it was a lot about automating, like making it very good at querying data. That's the first party agents we have called Genie. So it's like a virtual data scientist."
- **Matei Zaharia** [1:00:52]: "And UC Berkeley, actually, one of my grad students there wrote a paper called Advisor Models, I think, before those came out."
- **swyx** [1:03:11]: "And then he wrote this essay, which I'm sure you've seen, which is talking about building a frontier ecosystem."

## Transcript

**[0:00:03] swyx:** Matei and Reynold from Databricks, welcome to Latent Space.

**[0:00:06] Reynold Xin:** Thanks for having us. Yeah, thanks so much.

**[0:00:08] swyx:** Thanks for taking time out. You have your Databricks Data AI Summit going on. You were just telling me how the first summit that you guys ran was just 50 people.

**[0:00:16] Reynold Xin:** Yeah, it was a little meetup at Berkeley, I think.

**[0:00:19] swyx:** We put together.

**[0:00:20] Matei Zaharia:** We do these tutorials and just teach people Spark.

**[0:00:23] swyx:** Yeah. Obviously, now it's like, I think the headline number is like 100 ,000 people around the world, 30 ,000 in person. it's a crazy community. Well, I mean, I just saw the keynote. Ali is just, did you know, was it obvious back when that Ali was being such a great CEO? Such a great presenter? What do you think?

**[0:00:44] Matei Zaharia:** I mean, I think among our group of founders, it was clear that I think he'd be the best at this. And yeah, it turned out great. And he's, I mean, he's ramped up on so many topics going to a company. He would just go in and like study it and talk to all the experts. Even if he can't hire the person, learn enough about finance and sales and whatever it was, and go from there.

**[0:01:09] Reynold Xin:** Yeah. I mean, he's obviously very high IQ and have very high EQ, but it wasn't... Ali today is quite different from Ali from 10 years ago. I think there's a lot of work that he put in to get to this point.

**[0:01:21] swyx:** I mean, to me, the most appealing thing about him is that he's funny. And like, you know... It's true. It's hard to make jokes about data warehouses and security and what have you. Oh, yeah. That's for sure. So you guys launched a whole bunch of things. I'll just go to name check briefly the stuff because we're not going to cover everything. Omnigens, your baby. LTAP, your baby. Your Dream Engine. We're also going to cover Genie, cover Customer Lake.

**[0:01:51] swyx:** You acquired Panther, Open Sharing, and there's Unity AI Gateway. A lot of these, I think, are things that you would expect a Databricks to do. It's part of the roadmap. Everyone in your category has similar things. But I think probably the two of you are leading the two most unique and differentiated initiatives in the landscape. Maybe we'll start with Omnigint and we'll go into it. I do think that a lot of people are exploring this sort of meta-harness concept.

**[0:02:21] swyx:** What led you to it?

**[0:02:22] Matei Zaharia:** Yeah, there were actually a couple of converging lines, which I think is a good sign that you need something new. So on the one hand, there's all the coding agent infra internally. We have a really great dev infra team. They built something called Isaac that's basically like a wrapper on cloud code and codex and lets you use them either on the web in sandboxes or just on your dev machine or on your laptop or whatever. And then they were adding all kinds of stuff there.

**[0:02:52] Matei Zaharia:** And we saw all the sort of more advanced engineers were building their own workflows with tons of agents and they were building their own UIs and stuff even on top of that. And then the other one was us building agents. We shipped this data science agent called Genie on the research team, which I co-lead basically. We also built a lot of internal ones for various things and then we have all the customer ones. and all of them running into this thing of like, oh, I need to switch model and harness and so on, you know, every few months.

**[0:03:27] Matei Zaharia:** Plus the agent is like completely useless if you can't share sessions with someone and have history and have search and all this like layer on top of it for collaboration. I thought a bit about it from both contexts and at first people thought it was weird. They're like, why are you doing coding agents and custom agents in the same thing? But I said, it's basically the same problems. And you just want to build the stuff that lets you deliver the agent, maybe control it if you care about security, and make it portable across things.

**[0:03:59] Matei Zaharia:** And then we prototype some things as experiments. We say, yeah, actually, we can make it work. And then we sort of build that for real.

**[0:04:06] swyx:** I'm wondering if this kind of, let's call it architecture, maps to anything in your careers in the past. I always think about how a lot of things actually just tie back to operating systems. A lot of open systems tie back to databases Or the other way around

**[0:04:22] Matei Zaharia:** I do think it ties a lot to Network protocols Internet protocol Communication between entities We did stuff with data sharing Which most viewers Probably won't know unless they're

**[0:04:36] swyx:** Open protocol is the term

**[0:04:37] Matei Zaharia:** Open sharing You have a company, you maintain some kind of table Like let's say Walmart or something They have like, you know, inventory and what's been sold in each store. And then you also have suppliers and they would love to produce more things and ship them like exactly the moment you need them. So they would love like real time access to your table. So instead of like sending emails around or Excel sheets or phone calls, why can't you share like a view of that table in real time with them?

**[0:05:05] Matei Zaharia:** Then they query, they, you know, join it with their data and they decide what to send. And so it's one of these things where you might ask, like, today, since we can Vibe code anything so fast, why do we even need to design, like, protocols or APIs or software? Can't you just Vibe code things on demand? But actually, for this type of interoperability where multiple parties that are moving at different speeds are building stuff and you still want some layer on top to coordinate, you do want to design it and build it.

**[0:05:35] Matei Zaharia:** So it reminds me of that, like agents stalking to each other and users stalking to agents and tools. Renaud, any other comments or alternative viewpoints?

**[0:05:46] Reynold Xin:** I think, but we had a debate on exactly which set of benefits would matter a lot. And I think around the time we decided to do this thing, I was telling Matei, hey, it just happened to be there's a particular week that I was coding nonstop from the moment I woke up to like the moment When I went to bed, I was like looking at my clock sessions, my codex sessions. And one of the things that was particularly annoying was having to keep my laptop open.

**[0:06:12] Reynold Xin:** I was actually driving to a doctor's appointment. And I remember because I wanted to make sure the whole thing continues working.

**[0:06:18] swyx:** By the way, it's so comforting to hear you say that because I'm like, I don't know if I'm a clown and I'm doing this.

**[0:06:24] Reynold Xin:** Yeah, honestly, I was driving and I was tethering my laptop to my phone, keeping it on the side. Whenever I hit a red light, I started looking at what's going on on my laptop. And I just felt that was ridiculous. It felt like we went back to the dark ages of programming. I mean, the productivity you gain from all this coding age is amazing. Have you heard of cloud? It was crazy to me.

**[0:06:49] Matei Zaharia:** The thing you were working on was the sandboxes or was this before that?

**[0:06:52] Reynold Xin:** It was a sandbox. So I was approaching from a very different angle. I wanted to say, hey, we're going to have cloud sandboxes. that actually doesn't shut down. You can get one very quickly, but not just for running agentic sessions. It's actually also for running development. So I was actually personally building that that week. And through building that, I ran into all these issues. And then I wrote actually a document for my taste. Like, here's my wish list of what the actual environment should do.

**[0:07:20] Reynold Xin:** And I think he actually ended up almost implementing every single one of them.

**[0:07:23] Matei Zaharia:** Yeah, I remember Randall saying, because my first prototype of this had just chats with your agent. And he said, I have to be able to open a shell, like my own shell, and like list files and like tail them and stuff.

**[0:07:36] swyx:** Basically, it's essentially into the mainframe.

**[0:07:37] Matei Zaharia:** Yeah, actually, it has that.

**[0:07:39] Reynold Xin:** Counting my log. Yeah. And also another thing I think asked was I still use cursor for the sole purpose of rendering markdown files. So I said, just give me a way to see my markdown files and render them properly. I don't need a separate tool anymore.

**[0:07:55] Matei Zaharia:** Yeah, we did that. Yeah, we had a lot of engineers building their own Vibe coding setup. But then the other thing they all said is, okay, I built something that's amazing for me, but no one else on the team can use it because I don't have a server to collaborate. And this is why we tried to set up Omnigens so you can have a server and have the security set up in there, like log in with Google or whatever, and actually securely share stuff.

**[0:08:25] Matei Zaharia:** and that's where we've seen a lot of other agents hit things. People think they prototyped an awesome agent but it's not allowed to connect to some really important data or whatever because of the security team.

**[0:08:38] swyx:** Yeah, at this point, for those watching along on YouTube, we're going to bring up an image of the structure here and we can talk a little bit of the architecture. I just want to have people understand because when we're talking about software, it can be very abstract And here is actually what we're talking about. You've worked out in open source this entire platform, basically. And there's a runner component, a server component, with a sort of uniform API that you've figured out.

**[0:09:04] swyx:** Any other sort of element? And obviously, you can plug in all this persistence layers and then compute layers. This is a whole cloud. It's an agent cloud.

**[0:09:12] Matei Zaharia:** Yeah. I mean, it's got these components to work with it. A lot of the action happens on the machine where you deploy your agent, too. So whatever you've got on there, you can go on. But yeah, I think it's sort of the minimal thing. You want to have hosted, like collaborative agents and to have that server. And one of the reasons we open sourced it is anyone building agents, this gives them an app they can start with and customize, which we were seeing in Databricks too.

**[0:09:38] Matei Zaharia:** Like someone would make a nice, you know, agent app, and then other teams would ask, oh, can I just use yours for my agent?

**[0:09:44] Reynold Xin:** Yeah, I think we had like five or six different agentic frameworks built by every different team. They all do more or less the same thing.

**[0:09:50] swyx:** Yeah, basically people want to take something that works in 4KIT and you might as well have something open source. Yeah, which also was another question, which is interesting for Databricks. Like what do you choose to open source? What do you choose to make it proprietary? And I mean, this goes back to Spark, right?

**[0:10:05] Matei Zaharia:** Yeah. So, I mean, one of the reasons to open source something is if you think it's a layer that will actually, there'll be some network effect. It'll benefit from many people collaborating on it. So, for example, with Spark, I don't know if you know, when Spark came out, we also focused a lot on letting you have libraries on top. So, like, they used to be different distributed computing engines for, like, machine learning and graph computation. We said they should all be libraries that you can compose.

**[0:10:34] Matei Zaharia:** And we made it super easy to add connectors to data sources, too. And then we benefit because, you know, we don't have the time to write, like, connectors to, like, you know, a thousand, like, different databases and file formats. But we can just use the ones people make. And of course, they benefit from joining, you know, kind of this thing. So that's like one of these. Another way to think about it is like, imagine, you know, our thing wasn't open.

**[0:11:00] Matei Zaharia:** We had some kind of agent hosting thing, but it's not open. And then there is an open one. Which one is going to win in the long run? So like here, because there is this benefit from like people writing integrations, it'll be that. And then there are other things that you just can't even deliver as open source that are things the company does. Like, for example, how do you make sure you're streaming jobs or your lake-based database doesn't lose all your data at night?

**[0:11:28] Matei Zaharia:** Well, that requires an operational team that's going to sit there. There's no way. It has to be a service. So we want to make sure as a company we're really good at those services and then we're as open as we can in terms of what you build on top.

**[0:11:41] Reynold Xin:** I mean, speaking of our benefits, I think we're already seeing pull requests of all kinds of ecosystem integration, even though it was only released on Saturday.

**[0:11:50] Matei Zaharia:** Yeah, Saturday. Let's see what's going on. Yeah, you can look at the merge runs. I actually asked Omnigen this morning about the... 400 merge already? Yeah. I think quite, I would guess around half are not from our team. But for example, someone added support for running it on Kubernetes. companies, people added many cloud sandboxes. So this can launch a cloud sandbox and run your agent in there, which is great for sharing too, because it's not like on your laptop and someone's like running scary code on there.

**[0:12:22] Matei Zaharia:** So yeah, many startups have put those in and we expect to see more of them. We also have more agent harnesses already, Courser, CLI and anti-gravity also.

**[0:12:33] swyx:** So yeah, that's all beautiful. And I feel like the last time this happens, there was the rise of the modern data stack. I don't know if it was that useful. I'm actually kind of curious. And your postmortem, I think most people will agree that it is finally dead. But maybe this arises to a new modern AI stack that does the same thing. I don't know.

**[0:12:53] Reynold Xin:** I mean, I think the modern data stack was a pretty useful thing, probably even up until this day. I think what, maybe for the audience who don't actually understand the history. I think the modern data stack is effectively decomposed into you need a layer to ingest the data in, you need a layer to transform your data, and then all of this are run, and then you need a layer to maybe visualize your data. And all of this runs on some sort of data warehouse, or later on, as we're doing data warehouse, also Lakehouse.

**[0:13:20] Reynold Xin:** I think that concepts are all very powerful and very useful. It's able to enable a lot of workloads. What people eventually run into is kind of a question of a unification and consolidation is, hey, do you really need to chop all of this into different pieces and work with so many different vendors and platforms in order to get a very simple visualization done? So I think over time, everybody started realizing that customers are pushing us. We started to realize that.

**[0:13:46] Reynold Xin:** So we started building more and more capabilities and trying to consolidate. And at the end of the day now, customers don't have to worry about having me hook up five different systems in order to produce a chart. But I think honestly, something like this This is probably happening in how many different frameworks do you want to hook up together in North Purdue, like do a very simple agent?

**[0:14:06] Matei Zaharia:** Just to be clear, I would say the core of this is this common API on top of all the harnesses. So the API is basically like you've got an agent session and you can send in a message or like a file. Basically, that's what you can send in. And then you get out, you know, these streams as it's streaming text or as it's doing tool calls. or the other thing you can send in is you can tell it to cancel or turn.

**[0:14:30] Matei Zaharia:** So that's the API. The thing we did is we could get you that on top of like Cloud Code running in a terminal, Codex, you know, Pi, OpenAI SDK, all that stuff. We map them all to that same interface. So that is something that you'd have to maintain yourself if you built your own like agent orchestrator and then whenever Cloud changes its API, you've got to tweak your thing or it's going to lose some messages. So that's the thing that's valuable to maintain.

**[0:14:58] Matei Zaharia:** Then on top of that, like we built a few apps. I think we built a pretty cool UI and stuff, but that's, and we built the security and control piece, which I'm excited about, but it's that common interface. So we don't, that doesn't try to be a stack. And in fact, you could plug in your own UI on top of this server. That's one of the use cases we care a lot about because we want to use this in our own products.

**[0:15:20] swyx:** Yeah, it should be everywhere. I think one of those things that is really interesting to me is, first of all, I'll endeavor to do everything and not call it the modern AI staff because I think we need a different name. But yes, so one of the first people that told me about compute sandboxing was Nikita from Neon. Because a lot of people think about Neon as like, well, it's serverless Postgres with the separation of compute and storage and instant branching and all those things.

**[0:15:47] swyx:** But actually, every database company is also a compute company. And so he was actually showing to me his sandboxing solution. I don't think he ever launched it.

**[0:15:57] Reynold Xin:** So our sandbox solution, the reason we could have built it so quickly was because we realized if you just take the actual lake-based architecture and remove the database from it, you have the database already. Now there are some differences. For example, the one to support this particular workload is important to have local persistence because you want your state to persist. Your libraries, you don't have to install your library every time. Whereas the Neon architecture, because of the separation of storage from compute, you don't need persistent local disks.

**[0:16:30] Reynold Xin:** So there's some differences. But at the end of the day, yeah.

**[0:16:35] Matei Zaharia:** Yeah, so this is when you run a coding sandbox. If I use it, we have the dev info internally at Databricks. There's many, many tens of gigabytes of data just for like all the source code and like artifacts and stuff that I built and I want that to come back next time. So, but yeah.

**[0:16:52] swyx:** Before the show, we were talking about some statistics that might be surprising at the adoption. It could be internal, it could be external, whatever comes to mind. Just to impress people to scale this is happening.

**[0:17:02] Reynold Xin:** So we, on the analytics side, I think we launched maybe 50 or 60 million virtual machines a day across all three clouds. So we're one of the biggest compute orchestrators out there. Stuff for sure for CPU compute. And all of this process, I think, exabytes of data. I joked about depending on which time zone you are, typically before you have breakfast, with the process exabytes of data already on that day. And on Neon, it's actually pretty interesting, too.

**[0:17:31] Reynold Xin:** It's launching, I think, 13 million databases a day now. Yeah, to me, that was like a big... And that's just like...

**[0:17:37] swyx:** What do you mean? Yeah.

**[0:17:39] Reynold Xin:** And a lot of those were thanks to agents and branching experimentation because we made it so easy and so quickly and thanks a lot to Nikita's team to launch databases. So it's changing the way people use databases.

**[0:17:54] swyx:** Yeah. Okay, we're going to go into more database talk in a bit, but I want to make sure we close up anything on Omnigens. You mentioned you were excited about the security and control side. A lot of companies are figuring that out right now as well as the spend side. What have you found there?

**[0:18:10] Matei Zaharia:** Yeah, so I spent quite a bit of time talking to internal users, developers, security team, you know, managers, and also lots of customers. And there's a few things. Like, first of all, one thing, you know, that immediately became obvious is for security, you know, there's this tension between like usability and security. And the way people do, like a lot of coding agents today have very basic things. Like you can tell me which tool patterns I'll allow or disallow or whatever.

**[0:18:41] Matei Zaharia:** It's like yes or no. But that puts you in a very tough spot. So just as an example, like, should my agent be able to read, you know, some confidential documents or let's say, should it be able to install new packages from NPM, which, you know, maybe it's a it's compromised. Yes or no. Like maybe maybe I want to allow it. Should my agent be able to publish stuff to the company website? Well, if I'm using it to code on the website, yes.

**[0:19:07] Matei Zaharia:** But should it be able to do both so it can like grab a confidential document and be prompt injected and leak it? Probably not. So the thing we decided we need is stateful or what we call contextual policies where you keep track of the state of that session. It's not like, is it allowed to push to the marketing site or not? But like, hey, if it did a risky thing, like it installed, you know, a one day old package from NPM or it read like a thousand confidential docs, then no, don't do it.

**[0:19:38] Matei Zaharia:** Otherwise, maybe it's OK. That's one example of like moving that trade off. So it's both more secure and more useful by having a more powerful engine, essentially. This requires tracking sessions. The other piece that was interesting there is like there are these very low level events it's doing and you want some libraries on top that parse them. Like, for example, we have a MCP server on Google Drive internally. It's got 60 API calls. Like, how do I know which of those, like, will share a document with stuff on the Internet and which ones won't?

**[0:20:09] Matei Zaharia:** It's annoying. So we designed in Omnigen the policy layer so that it's functions and you can have libraries. Like, someone can make something that maps the low-level events to high-level ones, and then you write a policy about the high-level things that came out. So, and that was related to the Panther. Yeah, Panther will help with that. Panther is kind of a similar idea on the event processing side and it's Python based versus a weird custom language.

**[0:20:37] Matei Zaharia:** This is sort of more as in real time as things are happening. Yeah. So, yeah, but these are the cool things. I think the contextual or stateful part and then the way it can be libraries. And that was another reason to make it open source because others will write libraries and like we and our customers can use them. And the final thing, because it's stateful, one of the states we track is how much you spent in that session.

**[0:21:02] Matei Zaharia:** So I can, I've had like, I asked an agent to debug something and it spent $500 because it decided to read a lot of log files and burn a lot of tokens. But I can literally say, okay, launch a subagent to do this and cap it to spending $5. Like, ask me for permission if it needs more. And because we're counting that within that session, it will pop up and tell me, okay, you spent $5. Do you want to go on?

**[0:21:27] Reynold Xin:** So important context here. Matei spent the last five years, a lot of his time was architecting UND catalog at the Inbrics, which is the governance layer for data.

**[0:21:35] Matei Zaharia:** That's right, yeah.

**[0:21:36] Reynold Xin:** And he's sort of combining expertise at that layer together with all the AI governance. Yeah.

**[0:21:41] Matei Zaharia:** But I also spent a lot of time being annoyed by coding agents and getting prompts. And also, as the CTO, I don't want to end up on the front page as like I installed some weird NPM package and leaked all the code. So I'm especially paranoid. But also, I have very little time. So I don't want to sit there approving, like, do you want to run a 20 line, you know, bash script? Yes or no. So that's why I spend a lot of time figuring out, like, how can I make it as safe as possible and not annoying?

**[0:22:10] swyx:** Yeah. Is safety and security, let's call it security, a bigger concern than token maxing or token budgets? You know, which one is like...

**[0:22:19] Matei Zaharia:** Oh, yeah, they're both there. I mean, I don't know. I guess it depends on the type of company you are. So I think some companies, like the budget is limited and, you know, they really care about that.

**[0:22:34] swyx:** I mean, you can be Uber and still be concerned, you know?

**[0:22:36] Matei Zaharia:** Yeah, totally. I mean, for our security. Yeah, yeah. For us, security is absolutely critical as a cloud provider. It's the most important thing. And token maxing, we're not so worried about it yet, but I've seen that. For example, I talked to some consulting companies. They have like 100 ,000 employees who are all coding for customers. If those each spend like an extra $1 ,000 a month, that's not fun. We have like only a few thousand engineers.

**[0:23:06] Matei Zaharia:** What's the policy in Databricks?

**[0:23:07] swyx:** Is it just unlimited?

**[0:23:08] Matei Zaharia:** It's unlimited, but we do, you know, we use our own product to like analyze the traces and stuff. And we have a team that's, you know, looking to optimize and to see if anyone's doing something weird. And we actually had some really cool insights just from analyzing current traces, like which models are better at, say, Rust versus like, you know, TypeScript or whatever. So, yeah, at least in our code base.

**[0:23:31] swyx:** Yeah, amazing. Obviously, I have to ask the token mixing question, obviously. I think it's a key thing. But yes, security and control above that and figuring out a sane layer there you can have some autonomy, but not too much.

**[0:23:43] Matei Zaharia:** Yeah, yeah. And we want to make it super easy. As an engineer, you should set the thing. So in Omnigence, you can ask your agent, set a policy on yourself to do this.

**[0:23:51] swyx:** If there's something I should be showing, I don't see it on the GitHub. Oh, yeah.

**[0:23:56] Matei Zaharia:** In the docs. You can look at it later. Just look in the docs on contextual policies if you want to see. I just like to point people Look at the built-in policies

**[0:24:06] swyx:** Yeah, if you want to follow up on this this is exactly where to look, right?

**[0:24:10] Matei Zaharia:** Yeah, yeah And the story of these is I just wrote I wrote a doc with 10 ideas for things as you were working on them Well, that was my wish list of things people asked And I told the team Hey, can you do at least five of these for the launch? And then they just got back with all of them So you can come up with more but some of them are just meant to be examples.

**[0:24:35] Matei Zaharia:** Really, you can intercept any event the agent is making and you can then either block or force a task to ask the user or allow, and you can update state to track stuff.

**[0:24:46] swyx:** Yeah, because ultimately, I think of you as a systems designer. You let people plug in, right? That's the whole modus operandi of what you do.

**[0:24:54] Matei Zaharia:** Yeah, and we care a lot about also compose. Can someone else write a library that others use, which this is meant to do?

**[0:25:00] Reynold Xin:** There's also a batteries included philosophy here, probably very similar to how you did Spark, which is you could just start using.

**[0:25:06] Matei Zaharia:** Yeah, that's right. It has to be good out of the box at certain things. And then you can build your own things on top that we don't want to do. But in Spark, if you just want to, I don't know, read a table or do an aggregation, it should be awesome out of the box.

**[0:25:23] swyx:** Yeah. People want to catch up on Omnigine. They should watch your keynote. They should go through the GitHub and the docs. If they wanted to contribute or they want to build on this ecosystem, where would you call out as the most high leverage places to get involved?

**[0:25:36] Matei Zaharia:** Yeah, do get involved in the Discord and in GitHub. Our team is there, is monitoring. And some of the things people ask for, we just built ourselves. Some of them, you know, we're collaborating with them to build it. And also tell us how you would like to use that. Because I think especially for developers, like everyone wants it to work their own way. and a really good developer tool, you have to hear the feedback on all the ways and figure out the abstractions and how to let people customize.

**[0:26:03] Matei Zaharia:** So we'd love to hear, if you think, hey, I don't want it to work this way, tell us. We really just want to get that compatibility layer across agents and then let you do stuff on top.

**[0:26:13] swyx:** Yeah. Is there any, you know, in terms of the startup side, I'm a founder, I see an opportunity, I want to get in front of you. What's your request for a startup that, I wish someone was working on this?

**[0:26:25] Matei Zaharia:** Oh, for a startup. Yeah.

**[0:26:28] swyx:** You got your own startup. It's doing well. But if you weren't working on your own startup, what is obvious that you should... You advise many startups too, obviously.

**[0:26:37] Matei Zaharia:** I mean, I do think just as a company with a lot of engineers, anything that helps me make sense of how people are using coding agents and spend, but also quality, or you should add this skill or you should write this thing, or your agents are really horrible at tasks involving this service. So I go spend time. That would be nice. Yeah. Yeah.

**[0:27:00] swyx:** The closest I've found is this team, Git AI. They started with, like, we will just do code and human attribution, but they're basically building the analytics layer on top of that. I do think, like, there are a bunch of, like, artificial analysis is obviously doing super well with their stuff. So there will be people. I think this is the domain of consultants first, but then people will actually build software that has the management plane for coding agents.

**[0:27:31] Matei Zaharia:** Yeah, I think there'll be a lot of insights there. You have it in other areas.

**[0:27:34] swyx:** OK, well, and then the other big thing is your dream engine. If you want to tell the story of LTAP. And I'm going to make people listen to our Ankur Goyal episode, where we talk about single store, HTAP, and all that history.

**[0:27:53] Reynold Xin:** Yeah, yeah. The LTAB idea is actually pretty simple. So if people have heard of the Ankur's talk about HTAP, it's effectively the world of databases. Sorry, there's like maybe a lot of context needs to be injected here.

**[0:28:05] swyx:** I am happy to be the database podcast that I'm forcing people to like learn your databases, guys. You cannot Vibecode with just markdown files.

**[0:28:13] Reynold Xin:** It's one of the most important fundamental systems technologies out there. But the world of databases is effectively split into roughly two halves. There's what we call OLTP databases, which are transactional. And think of your Postgres, your MySQL, your Oracle databases. And the other side is what we call analytics. And sometimes might have a term OLAP. And the differences is on OLTP, you typically have maybe run some transaction or some event that looks up at one specific role.

**[0:28:41] Reynold Xin:** We update that role. It's a very role-oriented data structure. And on analytics, you're trying to reason on the data. You're trying to compute, hey, what's my revenue per store? What's my, how's my website doing every day? And then you eventually want to probably end up running machine learning on it to predict, hey, how will my maybe sales be going in the future? There are so very different architecture, and everybody starts with OLTV databases. Every app, when you become serious enough, they need more than markdown files.

**[0:29:10] Reynold Xin:** You need to have a database. You want to lose your data. You want to have some transactional consistency. But once you want to reason on the data, If you only have like 100 rows, it's probably okay to run it on your Postgres or your MySQL database. But once you have more data and want to run more complicated analysis, the very analysis might crush your Postgres database. So you start doing, getting data out of the database. Replicate them into the analytic systems.

**[0:29:39] swyx:** Yeah, which for people, Elasticsearch is like a big...

**[0:29:42] Reynold Xin:** Yeah, so some of them actually get into Elasticsearch for like block analysis. a lot of our customers obviously can do Databricks to run more sophisticated things. And there's this term called CDC. Which changes data capture. And what it does, it reads the bin log of the database. And if you don't understand what bin logs, fine. But it's a little delta of the data and it reconstructs based on the delta the state of the database on the analytics side.

**[0:30:08] Reynold Xin:** But CDC is like a very painful thing. It's how basically standard in industry, everybody uses it. But it ends up being sort of I think many data engineers end up being waken up at like 3 a.m. because there's some pipeline thing.

**[0:30:22] swyx:** You know, my explanation is like Airbyte is like, you know, became a $5 billion company just doing CDC. Yeah, exactly.

**[0:30:28] Reynold Xin:** CDC is like a very, it's one of the most boring, but one of the most fundamental operations like powering modern society. But it's so brittle that a weak joke that it should be called continuous data corruption because you might change your schema on your LTP database and then the CDC pipeline fails to handle the schema change. And then everything goes up.

**[0:30:51] swyx:** And I mean, there's all sorts of tricks that you can do, like you add in some versioning or whatever.

**[0:30:54] Reynold Xin:** Yeah, but it's a very, in general, very complicated. Like I think at my keynote, I asked the audience, put up their hand if they love their CDC pipeline. Only like maybe two people put it out. So single store, like about maybe a decade ago, I think the industry had this idea, hey, what if I build a single database that can handle both workloads?

**[0:31:12] swyx:** Which like, by the way, every database person ever

**[0:31:14] Reynold Xin:** has always dreamed about this yes yes this is the holy grail of database engineering is why not build a single system that can do both of this but it ends up just being a lot of compromises and one i think one of the first issue is that hey each they say postgres has a massive ecosystem right you want to be using the tools that's built for postgres and spark for example had a massive ecosystem there's a lot of libraries you want to use if you were to create now a new thing you don't have an ecosystem you tend to create a new smaller proprietary api and you're lacking both and it's also very difficult to make it performance-wise to

**[0:31:49] Reynold Xin:** be uh sort of comparable on either side so it ends up being actually sucking up both and our whole idea of ltap it's kind of obviously a word play on the term htap is that we think this is htap done right htap wants to build a single engine for both we think you can get 99 of what you need by unifying the storage and just have a single storage layer. And once you have the single storage layer, if your Postgres databases are writing data in a column oriented format, everything analytics can just go read that data directly without any delay, right?

**[0:32:23] Reynold Xin:** There's no pipeline in between. So all the data will immediately be available for reasoning analytics. I think I was telling some customers earlier, hey, when we talked about this is going to be super useful for agents, I actually at first didn't really believe in it myself, even though we wrote that positioning. But then last night, I was having dinner with an Australian customer, and they actually told me, oh, hey, one of the big issues we have is we have all these logs from our services, and we see SLA dips and want to investigate.

**[0:32:52] Reynold Xin:** But then there's no way for those agents to even understand what's going on in the actual databases themselves. All we see is just like product telemetry of the database and the services. It would actually make those agents 10 times more powerful if they understand, for example, who's actually placing those orders? What is happening? What exactly are they doing? So now I'm actually sold on our own message. Yeah. I think it's really kind of, it gets you basically the, almost all of the benefits of the HTAB holy grail, which is, hey, make the data available in media for reasoning analytics.

**[0:33:26] Reynold Xin:** Yeah, I think, you know,

**[0:33:28] swyx:** in the way that humans are generally intelligent and want to have the ability and access to query anything, while they do the work, they also need history and context. And where else is it going to get context that's an analytical workload? Exactly.

**[0:33:42] Matei Zaharia:** I remember when we had incidents with our databases and engineers said, well, I can't just run a giant query on it to see what's going on because that's going to bring down the database and hoard it even more. That's the kind of stuff that this gets rid of because you spin up a whole separate fleet of machines that's doing the analytics. You're not overloading the main database that's still trying to serve stuff.

**[0:34:04] swyx:** Yeah So this has been a dream for a while What had to get done in order to get to today? Like, you know Yeah I feel like you have announced variants of this several times But it wasn't as clear as LTAP Yeah I think LTAP is like, okay, we've got it guys

**[0:34:21] Reynold Xin:** I was talking to somebody at Meta And he was asking me, hey, what's the catch? Why is it possible now? And I think the reality is We took a lot of time to actually work on the lake-based architecture I mean, obviously a lot of it came from the Neon team, which is a separation of storage from compute. And it turned out it was just a tiny little step away going from that to this LTAB idea, which is, hey, we just in the Neon architecture and in lake-based architecture, we're writing data in role-oriented format to the open data lake.

**[0:34:52] Reynold Xin:** But in there, we're writing in Postgres pages. Actually, Ali and I were spending a lot of time debating, hey, can we actually just change that to write in column-oriented format? And we're just debating. And one day, one of our engineers was super smart, came in. He's like, hey, I just prototype. It works. Wait, so prototype what? Prototype, instead of storing the data in the data lake in the role-oriented format, like Postgres pages, write them in parquet.

**[0:35:17] Reynold Xin:** Yeah. And he just makes the observation that, hey, our storage fleet has a lot of extra idle CPUs. And we can use those CPUs to do the transcoding from role to call, where role is good for LTP. but column is good for analytics. So let's do that transcoding at that time. And as a matter of fact, once you transcode the data, the data compresses better. So from those services writing to, for example, S3 or other data lake, like object stores, you can actually write them faster because now they are now smaller.

**[0:35:49] Reynold Xin:** So there's no overhead. It's no compromise. Some CPU overhead. Yeah, but we had extra CPUs anyway. We had that fleet anyway. So the debate ended. I mean, it's one of the classics of a tech issue of a lot of debate, but then somebody actually went ahead and just tried to prototype it and it worked.

**[0:36:06] swyx:** But like something this strategic and important to the company, I expect there to be like a kickoff thing, like a design dog, nothing like that.

**[0:36:13] Reynold Xin:** Nothing like that. We were debating in many, many meetings, and then we're just debating whether it's possible or not from first principle, and then somebody just did it.

**[0:36:22] Matei Zaharia:** Yeah, I mean, if you set yourself up so people do that, that'll be great. That happened a bit with Omnigentu. I think if I just had a doc on like, we can make these together, everyone would, you know, would think, oh, what about this? What about this? But then if you try it out, it helps. And then if you have real users and they bash it and like it's still working, or in this case, if you have the workload, you know what the workload looks like.

**[0:36:45] Matei Zaharia:** You can just test the same pattern.

**[0:36:47] swyx:** Tech aside, which is very cool. This is like the most important thing, the culture of innovation. And you don't have to ask my permission. you don't have to like do a whole formal process just do it

**[0:36:59] Reynold Xin:** especially these days I think with AI

**[0:37:01] swyx:** it's actually easier to do I think you are very I mean I made a lot of C-suite of like large companies and like I think at scale things slow down and I'm sure you felt it already but somehow you have this core of people that like are exempt how?

**[0:37:16] Reynold Xin:** I think we hire and we work with really really good people and that's a very important part of it and empowering them but also spending a lot of time maybe us in the trenches matter a lot also.

**[0:37:28] Matei Zaharia:** Yeah, I think people can adapt to being in the larger company. So that helps. And we want to make sure they know that they can try stuff and settle debates and have a lot of examples of how it was done before or launch a thing in beta or whatever. And then the other thing, I do think as a company, despite the size, we don't launch that many products. We try to keep it pretty coherent. And that was actually the whole sort of theory of the company was like, instead of having like 20 Amazon services, you need to set up like analytics and machine learning stack, you just have one.

**[0:38:06] Matei Zaharia:** And it's like the same API, the same semantics across all of them, the same copy of the data. So that requires like unification. And then we basically added one more thing at a time. Like we added storage with Delta Lake. We didn't used to do any storage. Then we added SQL, you know, we added machine learning platform stuff. So, but yeah, don't do too many, but do those things well. And that also helps, you know, helps keep it manageable.

**[0:38:33] Reynold Xin:** Yeah. The other thing we kind of encourage a lot is instead of building, so boil the ocean for everything. Let's figure out how do we do it incrementally? How do we do it very quickly? Like many of our products, they're built in the span of weeks. and then we go to, hey, usually my first question to whoever team is building is, who is the target customer? Who are you working with? Are you on a first name basis with them?

**[0:38:56] Reynold Xin:** Are you texting with them? I think having that very tight loop.

**[0:38:59] swyx:** Can you bring up another launch that comes to mind in this kind of thing? I just want to give an example. Who's the customer?

**[0:39:06] Matei Zaharia:** Yeah, Omnigrant was more of an internal thing, actually, because we would use that for our developer. where, like, yeah, basically the whole, like, AI team got access to it and was using it. And we made sure it works from the beginning with our internal code base, which is a monorepo that's, like, enormous. We gave them, like, some infrastructure. We gave them lots of, like, token capacity. So it's all the developers. Yeah. We had others. I don't know.

**[0:39:32] Matei Zaharia:** This is, I think, a public story, but...

**[0:39:35] Reynold Xin:** I was going to ask. Marketplace, open sharing, all of them had... I just don't remember exactly which one's publicly referenced.

**[0:39:40] Matei Zaharia:** Yeah, they had other... Well, very early in the company, there was like Delta Lake, which is the transactional storage layer we did. We had our largest customer at the time said like, OK, I want something in the cloud because, you know, if the rest of our network is compromised, like this thing needs to be separate to store and query the events. And then talked to us. He said, OK, this is the rate of events per second.

**[0:40:05] Matei Zaharia:** This is like the freshness I want. Can you do it? So that was like way larger than any workload we had. and we had our engineer working on that, Michael Armbrust, and he worked just to make this work. And once it worked for them, it worked for everyone else. Yeah, this was early in the company, probably like four years in or something. Yeah, 17, 18. Do you have other examples?

**[0:40:30] Reynold Xin:** Maybe you have others. Yeah, Cleanroom, which is basically how you share data in a way without sharing underlying data, but you allow specific operations. Those were done effectively initially just for two customers. I think the industry has a sense of, hey, maybe if you overfit to one or two customers, it's going to be really bad for you. But I think the downside of overfitting is much smaller than the upside itself. And if you sort of try to be too ambitious and boil the ocean, it's a much bigger problem.

**[0:40:58] Reynold Xin:** Because you might end up actually having no customer.

**[0:41:00] swyx:** Yeah. That's the more likely outcome. Yeah. And then you can sort of pivot from there. I do think there is such a thing as a bad customer that sometimes you shoot fire.

**[0:41:08] Reynold Xin:** They could exist sometimes if you drive. But one of the challenges I think we probably see, and maybe many newer generation companies are seeing, is tech companies are very, very different from non-tech companies or traditional enterprises. And if you optimize everything just for tech companies, you might have various challenges scaling them outside of tech companies.

**[0:41:29] swyx:** Okay, what are the top three differences that you always think about? Governance is a big one.

**[0:41:34] Matei Zaharia:** I think, yeah, a big one is like, yeah, security, you know, data piracy, governance, all that stuff. So usually if you're building some kind of like B2B or developer tool, like your biggest market is going to be enterprises. But it's just very different. A company that's existed for like, you know, it's had some form of IT for like 30 years. They have so many legacy systems or they operate in a regulated space. whereas a startup or even like a, you know, like sort of more recent tech company, everything is new and sort of pristine.

**[0:42:07] Matei Zaharia:** So yeah, it's just different. And if you've never worked with enterprises or been in one, you just won't know about it.

**[0:42:13] Reynold Xin:** Yeah, and the procurement process is probably quite different. There's actually far more stakeholders.

**[0:42:17] Matei Zaharia:** Yeah, that is one, yeah. Another piece that's interesting is I think some tech companies, you know, people will say, oh, I can build that myself, right? I'll just build that myself. So then you go, but I don't think people say that about data breaks. Yeah, and it depends on the teams and things. But on the other hand, like many of the enterprises, actually, I don't, I never want to be in the business of building that. Like I don't want my, you know, whatever, I'm a retailer or something.

**[0:42:45] Matei Zaharia:** I never want to be down because like some weird like nerd, like couldn't get streaming pipelines working. That's not what I'm doing.

**[0:42:53] swyx:** This makes them great customers, to be honest.

**[0:42:54] Matei Zaharia:** Yeah, but you have to understand it. It's hard without having worked there and stuff like you may not appreciate.

**[0:43:01] Reynold Xin:** Look, I think they all agree. Don't get me wrong. They have different challenges. But many of the tech companies, for sure, there's a lot, far more DIY.

**[0:43:09] Matei Zaharia:** On the flip side, you have people who are, they're very much experts in their domain. Like they're building airplanes, they're, you know, designing medicines, whatever. And they just want to bridge the technology. where they don't want to learn databases or whatever, as cool as we think it is, even as interesting as the average software engineer might think it is to read a little bit. They just never want to know. They just say, I have a giant matrix or whatever with my clinical data.

**[0:43:37] Matei Zaharia:** How do I cluster it or whatever? So, yeah.

**[0:43:40] swyx:** Yeah, yeah, that's true. Okay, so and then I wanted to actually build out the sort of Dream Engine vision.

**[0:43:48] Reynold Xin:** Where does this all lead? So one of the things we realized maybe a couple years back is that actually every single database engine out there, especially on the analytics side, are kind of a decade old. Pretty much everything that have reasonable traction are about a decade old. And they all started targeting some very specific narrow use cases. And then over time, it's become more and more successful. They've grown in their ambition. And then they try to support more and more use cases.

**[0:44:15] Reynold Xin:** but the fastest way to support those use cases tend to be hacked around the abstractions that were initially created that were not for those use cases. But you can kind of support them more or less okay. And before you know it, after 10 years of organic evolution that way, it becomes a gigantic pile of shit. But that includes Databricks. And very, very few company or very few systems, I think, have the gut to say, let's go start from scratch.

**[0:44:45] Reynold Xin:** Let's go back to the drawing board, the design, knowing everything we know today, after a decade of workloads and probably billions in revenue, let's attempt to rewrite it from scratch and actually make sure it will work. And then we can support all of those use cases. So we started doing that, but it's a very ambitious project. By the way, you can search on Wikipedia, there's this thing called second system syndrome. Yeah, I know that. Our second system effect.

**[0:45:10] Reynold Xin:** Every developer must know what a second system is. Basically, you build your first thing and it works out great. And the second one is bound to fail because you become too ambitious. And then you ask so many requirements.

**[0:45:20] swyx:** Or like, you think you know everything. And then you're like, I'm going to design the perfect system this time. Yeah.

**[0:45:24] Reynold Xin:** And it turned out it's not perfect. And then they start failing and you're too ambitious, never launch. And you get killed. And the engineering team that actually started, they were brilliant. I think we hired some of the best database engineers on the planet into Databricks. And they were brilliant. Thank God it's not their second system. Many of them have built more than two in the past. Ah, nice. But they were still worried about this. Hey, building a database engine from scratch, I think the conventional wisdom is going to take like five years to mature.

**[0:45:52] Reynold Xin:** This would be a very long-term project. It could fail. I think one of the engineers kind of jokingly said, hey, maybe we just call it Randall's Dream Engine. If we name off their co-founder, maybe we'll then get canceled or killed. But I think they built something pretty remarkable. They went back to, they kind of changed the way the database engines were built from a paradigm point of view. Usually when you build a database engine, you read a lot of academic papers, you try to understand what are the latest algorithms and data structures, and you put them together and see if they work or not.

**[0:46:20] Reynold Xin:** And there's a high risk of failure there also because whatever that looks really good on paper might actually look really good in 70 % of the workloads, but then it backfires on the other 30%. They actually, when built more of a factory for building the database. So they spend more time building this factory. And the factory takes the decade of traces we have. I think they count as a quadrillion data points in the trace table. You don't drop anything?

**[0:46:48] Reynold Xin:** Oh, you see sample? We for sure sample, but there's like massive amount of things. And they use that to build a model, like a machine learning model. No, no, a machine learning model. A machine learning model basically can very, very quickly tell us how any algorithm and how any implementation will perform for any specific type of queries with very, very high fidelity. And based on that, they can pick the most likely algorithm and data structure that will actually help with the different kinds of workloads, both at runtime as well as at implementation time because there's unlimited number of papers.

**[0:47:26] swyx:** I mean, it sounds like you want to route to different data structures.

**[0:47:31] Reynold Xin:** Yeah, I mean, if you think about it, This is not one database. A single database has many things implemented together, but you want to make sure they all work well with each other. And then for any given operation, there might be more than one implementation. So it would make it actually run really, really... The reality is things, algorithms that work super well, for example, for very, very low latency, might not work very well for, say, scanning through petabytes of data.

**[0:47:54] Reynold Xin:** Actually, most often, there's a trade-off there between throughput and latency.

**[0:47:57] swyx:** What are the key dimensions, like scale, throughput, latency? Anything else?

**[0:48:03] Reynold Xin:** and the distribution of data, right? How sparse the data is, that matters very a lot. How frequently do you hit the same data?

**[0:48:10] Matei Zaharia:** Yeah, how many distinct values and stuff like that.

**[0:48:13] Reynold Xin:** Those things matter a lot. Like number of distinct value basically impacts the memory consumption of your aggregation, your hash, like at some point there's a hash table.

**[0:48:20] swyx:** Somebody, I'm going to, in my write-up, I'm going to try to list all these up because I really want a taxonomy. To me, taxonomies are so helpful because it covers everything that you should think about.

**[0:48:28] Reynold Xin:** I think if you actually try to list it out, it would probably be like a million different features. I always want give me like 12 you know

**[0:48:38] swyx:** someone did I think an Oracle paper 40 years ago these are the eight fallacies of distributed systems that kind of thing is super useful it's like okay think through

**[0:48:47] Reynold Xin:** these eight but let me give you a very weird example but it actually has profound implication of performance which is is your string just ASCII or does it have Unicode in it how should you encode it

**[0:48:59] swyx:** I mean strings are the most complex data type

**[0:49:01] Reynold Xin:** so the And that, like, for example, if string is super dense, you could actually convert every string into a, like, imagine you have to do a irrigation. Instead of having a hash table, you could actually have an array. Because if your string is dense enough, if you only have 256 options, you don't need a hash table. You can just do array lookup. And that'll be far fast.

**[0:49:23] Matei Zaharia:** It's like a country code or something. Yeah.

**[0:49:25] Reynold Xin:** So it's actually, like, probably millions of features in that model. But using that, they can, one, basically prioritize the different algorithms that might actually impact in practice. And many of them are very counterintuitive, but these are naturally things that you think, hey, might work super well, actually don't work that well in practice. But also, more importantly, at runtime, you can dispatch the right algorithm and structure.

**[0:49:46] swyx:** I'm listening to the dream. I feel like Databricks is doing a really good job of the incremental evolution. Do you have to hard cut to a new system at any point?

**[0:49:57] Reynold Xin:** We designed it in a way that it can be incremental, So first, we're releasing a new endpoint. But this goes to the border ocean versus what we wanted to do is wanted to, by design, this new engine should be able to do everything we're able to do before and better. It's been particular. The better part refers to very low latency workloads that can finish in 10 milliseconds. But we want to roll it out incrementally with incremental capabilities so it doesn't take like five years to actually see the light at the end of the tunnel.

**[0:50:29] swyx:** I think that's a heroic task. I don't know what other way to say it. I am really interested in any sort of new workload and new databases. I mean, obviously, I think I've maybe established that I'm a little bit of a database nerd. The transactional databases, sorry, the accounting databases, like the Tiger Beatles, I don't know if you've seen those. What do they do? Dual entry accounting database. It's meant to really model financial accounts and credit systems.

**[0:50:56] swyx:** It's like a very specific brand. Very high throughput. Yeah. So when you were talking about how everyone starts with a thing and then they scale up and then they tack on other things, it's exactly that. And then I recently interviewed Simon from Turbo Puffer. Same thing. And Chroma as well. All the vector database companies of 2023 are suddenly now just general storage. Blob storage.

**[0:51:18] Reynold Xin:** Vector database should have never been a separate category.

**[0:51:21] swyx:** I think it used to be a hot take. Now it's like the conventional wisdom nowadays. What should be a separate category? If everything becomes LTAB, like, let's...

**[0:51:30] Reynold Xin:** I think the thesis of LTAB is we're not collapsing the databases at the actual query layer. We're just collapsing the storage layer. And that's, I think, a very important part. And we actually don't think it makes sense to collapse the query layer into a single HTAP-style database. And part of it... The other thing I think a lot of people had is, hey, it would be nice if there's only one query language I have to worry about.

**[0:51:56] Reynold Xin:** Instead of worrying about PostgreSQL and maybe Spark SQL, why not just one? But I don't think that's an issue for agents. Agents are very eloquent in PostgreSQL or Spark SQL. It's never going to get confused. As long as the data is there and it's accessible, agents will do fine. That might have been, so five years ago, might have been a problem for humans.

**[0:52:17] Matei Zaharia:** That could arise over time also, and this leads to how to do things incrementally, right? Like we realize you don't need it right now. We don't need to solve that problem. to have a lot of value from the current Delta app.

**[0:52:30] swyx:** Yeah, okay. I'm going to end the pod with a little bit more sort of spicier things. Everyone has had the receive within a separation of storage compute and trying to build the clouds. I had the same pitches from Snowflake. How have you succeeded where they failed? That's rough. I mean, respecting that they are a competitor, Objectively, you have outpaced them. What is the core insight from your point of view that you guys just went different directions?

**[0:53:02] Reynold Xin:** Probably the biggest fundamental difference, both companies started around the same time, both went to the cloud, both focused on storage from compute architecture. But the biggest difference, one is open. Databricks have never had the proprietary format. We started with the open ecosystem, started with Parquet, and then evolved into Delta and Iceberg and all that. It's one big thing. I think it matters a lot. The other one is AI. I mean, before 2022, October 2022, when ChatGP came out, we had always pitched Databricks as a machine learning plus data.

**[0:53:37] Reynold Xin:** And a lot of the platform were built with machine learning use cases in mind. And obviously, AI is a little bit different. And Matei spent far more time there than I do. But the whole platform was, we never felt, hey, we're just a data infrastructure platform.

**[0:53:54] Matei Zaharia:** I think they started with, they thought, okay, we'll just manage the most valuable data and try to make it really fast. For that, we'll have our own storage, which is optimized with the engine. And then we'll just target the small amount of data that the managers and whatever, finance people and so on, look at and make that super fast to serve. and, you know, it was a different space. Whereas we started with, like, we'll do the bulk processing and ingest.

**[0:54:23] Matei Zaharia:** Like, you've got a bunch of, you know, JSON log files. You've got whatever. We do that very large-scale stuff because that's what Spark was for, the large-scale map-reduce-like stuff. And then we'll keep the data in an open format. It might be slower, but, like, it's already out there. You can consume it downstream. And it turned out that, you know, it's easier to go from that bot thing that's really good at the scale and ingesting and super low cost and create versions in it that have the speed and features of the, you know, super easy to use, like smaller data for business users thing.

**[0:55:02] Matei Zaharia:** So start open and then optimize. Yeah, start open and start large. Like in some sense, we started upstream of them. And there was a time actually when we both like sort of listed each other as partners because he said if you use both solutions together, use Databricks for like your ingest and compute and then serve the tables out of Snowflake, you get all the visualization, all the very fast stuff like that's great. And then, you know, we both realized like customers were telling us like, why do I need this other thing?

**[0:55:30] Matei Zaharia:** Why can't I just query your tables? And we said, no, we're horrible at that. Like, please use our partner for the SQL warehouse stuff. And then they realized they're like, wait a minute, so much of the computer is moving upstream into this other thing.

**[0:55:43] swyx:** You have to go into each other's territory, yeah.

**[0:55:45] Matei Zaharia:** But I think we did start with the bigger scope and with the open thing. And that's important architecture. Like, again, it goes to enterprises. Like, if your company's existed for like 30 years, you've experienced, you know, being locked into Oracle and like all kinds of like crazy things. And if you're the CTO there and you're setting up the architecture for the future for your company, you're going to want to pick a foundation that's open. And you only want like one way to manage data in your company.

**[0:56:14] Matei Zaharia:** Ideally, you don't want like seven different systems.

**[0:56:17] Reynold Xin:** But the open data format had won. Like I think now every enterprise wants to put data in open data format. But it was actually very controversial. Like back then, I think five, six, when exactly? the Snowflake full founders actually wrote a blog called Choosing Open Wisely, which basically argued against. I think they might have taken it down. You have to find it on archive now.

**[0:56:38] swyx:** It's never going away now. No, no, it's still there. I love the sort of perspective that only you guys will have because obviously you run the company. And I thank you for indulging this. That's an incredible perspective.

**[0:56:52] Reynold Xin:** Maybe one last one, as you were talking. I think I have to give Ali a lot of credit. He's an incredible CEO. I think he's the perfect combination of IQ, EQ, technology obsession, execution, business acumen. And he's also a founder, which makes it a lot easier for him to mobilize and execute. I think that's...

**[0:57:15] swyx:** Oh, that was it? So you have Ali and they don't?

**[0:57:19] Reynold Xin:** Well, I thought it would be a lot of things, but I think Ali played a pretty big role.

**[0:57:23] swyx:** I thought there was going to be some technical choice that he contributed to.

**[0:57:28] Matei Zaharia:** He did for a lot of these. There were sort of forks in the road where he pushed for one way, and then it became clear that that was the right way.

**[0:57:37] swyx:** There's a whole book that needs to be written about how the eight of you work together. I think there's been profiles that people have done. Second one, not a clear question again. Mosaic. Mosaic. A lot of people in our community are curious on what's the model story of Databricks, right? When you guys bought Mosaic, the thing was like, okay, well, we're going to do fine tuning. We're going to do in-house model because they had the Mosaic models.

**[0:58:04] swyx:** And it seems like you're not doing that. And it seems like you're going towards more of the LTAP and the Harness stuff. What's the story there?

**[0:58:14] Matei Zaharia:** Yeah, I guess when Mosaic started, I think it was well-known or became most well-known for releasing open-source LLMs early on, and they were general models. Actually, before that, they were doing other things. They were about optimizing training systems, basically. So they had the fastest image model training stack in the world and stuff like that. And then they decided to do LLMs, which was smart. They moved into it before ChatGPT, so they had some of the first open-source LLMs.

**[0:58:42] swyx:** Yeah, we interviewed John Franco and Abhi for MPC7B.

**[0:58:46] Matei Zaharia:** Yeah, exactly. Oh, yeah, very cool. So we decided, even though we did launch an open source model DBRX, and we went up to sort of above the LAMR3 scale, we decided that we really want to focus on, there'll be so many people releasing models, and instead of doing the general model where a big part of the recipe is just throw in a lot of compute and just scale, We want to focus on the next step also of, let's say you have the very smart model, how do you make it useful?

**[0:59:19] Matei Zaharia:** For us, it was a lot about automating, like making it very good at querying data. That's the first party agents we have called Genie. So it's like a virtual data scientist. Just imagine there's someone who already knows all the stuff in your company inside out and knows all the machine learning libraries, all the data libraries, all the stuff on the web, and you can ask them questions. That's what we wanted to do first. So that meant let's not focus as much on let's just train some kind of frontier model, but let's build this system using either external models or fine-tuned customized components.

**[0:59:59] Matei Zaharia:** We're still doing quite a bit of model training, though. And in fact, we're always, you know, we're procuring like lots of GPUs and stuff all the time to do it. And there's a few places where we're doing it. One is there are many high volume use cases where if you have a specialized model, it's just so much better than any of the general models you get. A nice example of that is understanding like documents, like PDF, Word documents, stuff like that, parsing them.

**[1:00:27] Matei Zaharia:** If you've ever tried to do that, it's frustrating because you send it to like, you know, like Claude Fable or whatever. It like almost gets it, but it gets some things wrong and it's super expensive. You just burnt a huge amount of tokens plopping in an image into there. So our team built this document sort of vision model that takes a page and gives you back a nice JSON with all the components. And it's very competitive.

**[1:00:52] Matei Zaharia:** It's probably like 100x cheaper than those frontier models and still better. And that's actually done by one of the researchers who came from DeepMind, was a co-founder of Adapt, like very early LLM scaling person, but focused on this. Likewise, we're doing specialized sub-agents for part of what the coding agent does. And if you've seen the stuff on advisor models from Harvey. Yes, Anthropic has been put in on. And Anthropic. Commission also, yeah. And UC Berkeley, actually, one of my grad students there wrote a paper called Advisor Models, I think, before those came out.

**[1:01:28] Matei Zaharia:** I mean, I'm sure others had the idea at the same time, but that's something that helps a ton. So, yeah, we actually showed some stuff just today at the keynote on... Is it Parth? Oh, you know Parth? Parth, yeah, yeah.

**[1:01:39] swyx:** Oh, he's speaking of my thing. He's doing Continual Learning Bench.

**[1:01:42] Matei Zaharia:** Yes, yes, yeah. I'm one of his advisors at Berkeley.

**[1:01:45] swyx:** Oh, yeah. We interviewed his brother, Chai, because he's also at a bridge. That family's very smart.

**[1:01:50] Matei Zaharia:** Yeah, yeah, yeah. They're awesome, yeah. So, yeah, so we're doing some of that. And as we get experience with these in the first-party agents, we're also doing them with customers. So my feeling is, like, customizing models is actually going to get way easier over time. That's what we're finding, because the base models are smarter, so they generate better traces in RL already, and then RL is about learning from your own past traces. And then synthetic data generation is way better, way easier now.

**[1:02:20] Matei Zaharia:** We have pipelines just using open source models. Like the same model generates training environments and trains itself and beats like OPERS and GPD 5.5 and stuff at a task. So I do think it's going to pick up. Like, you know, the thing is the ease of training, the algorithms is only going to go up over time. There's a question of when it crosses into mainstream. Like instead of this like, you know, specialized document parsing thing we did where like you need a hardcore LLM researcher, when does it get easy enough that anyone can like sort of plop in some stuff and describe a task?

**[1:02:53] swyx:** Yeah. Well, you know what makes it easy? Interfaces. Yeah. And unified APIs. Because obviously if it's not interoperable, then you cannot switch.

**[1:03:00] Matei Zaharia:** That's what we're seeing with these like with Omnigent and the composable agents. Like you can have subagents with specialized models and then you can train the whole thing. And I think that'll help a lot too. Yeah.

**[1:03:11] swyx:** The last thing I was going to leave, actually, I'm sequencing this, so I'm actually kind of proud of myself. Satya is, you know, talking about this. I interviewed him at Microsoft Build a couple weeks ago. And then he wrote this essay, which I'm sure you've seen, which is talking about building a frontier ecosystem. He sounded, when I was talking to him, more like a Databricks CEO than I've ever heard. Uh-huh. Is there a, I mean, And this thing presumably went viral in my circles.

**[1:03:40] swyx:** I don't know if it's in your circles. What's the sort of theory of like, you know, I guess tokens as IP, building up the context, you know, he basically said everything but data is the new oil or context is the new oil. Some version of that, you know, that you guys have heard before.

**[1:03:54] Matei Zaharia:** Yeah, I agree. I think the data you have, as you get better technology around that, like you can just do more in your domain with it. It's not even just about AI. Even when people, you know, started collecting stuff in real time. I remember all the power companies put the smart meters and stuff, and all the car manufacturers started putting sensors and cameras and stuff. Any technology makes data more valuable and can give you some advantage.

**[1:04:19] Matei Zaharia:** Anything that helps you do something with it and make some decisions. And AI is the same way. You had all this stuff that's just sitting there. Now you can have an agent automatically tell you. For example, instead of I discovered what feature in my product is broken because a customer complained, the agent tells me I notice no one is uploading files anymore because they get errors or whatever. And as you saw with Raiden, as a database company, because we have the history of all the queries and all the table layouts and how they work, we can build a new engine very quickly that actually is good.

**[1:04:55] Matei Zaharia:** And we're confident that it's going to be good. So I think this is right. I think the question is exactly how it will land. But I do think model customization, which Sajja talked about, is going to get easier over time.

**[1:05:10] swyx:** Which is why, by the way, I brought up the model thing because they have their MEI things and you guys don't. That was to be the mental question.

**[1:05:17] Matei Zaharia:** Yeah, we're doing RL fine-tuning as a service with a bunch of customers. We don't have like, basically, you know, we have like preview customers and we have a general something called AI runtime. That's like we get your GPU clusters on demand with a software stack in there that makes it easy to do training. So we didn't like sort of, that's existed for a while. We've had like GPU compute for a while. And that's where a lot of the Mosaic stack went to help scale that.

**[1:05:47] Matei Zaharia:** But yeah, we found that the engagements like some of the, there's two types of customers. There's some who just want GPUs and libraries to get data in and out and monitor. So that's what AI runtime is. And then there's some that say, hey, can you actually work with me, build evals, build synthetic data? The more forward deploys solutions architects. And that's what we're doing. And more things will transition from being custom to not. But that's sort of how it is today.

**[1:06:15] Reynold Xin:** Going back to your original question, I think one of the theses we have is actually the ones who can get the data in the right place. The AI models are becoming pretty good. The generic agents are fairly, I mean, Ali talked about AGI already here. They have pretty good reasoning capabilities. Actually, I think many of the traditional software will be sort of rewritten with this new paradigm, which is just get the data to be there and then slap some agent on top.

**[1:06:40] Reynold Xin:** Magic will come out. But without the right data, you can't really do that. And actually, our approach is going to security and our approach to going to the customer data platform space. Yeah. It's like we launched two products at Data and AI Summit, one targeting security teams and the other one targeting marketing teams. And those all have a lot of existing technologies out there. And I think our approach is just, hey, once you get the data in, everything is a lot easier with agents on top.

**[1:07:09] swyx:** Yeah, yeah. Well, you guys have been fantastic guests. I just love this discussion. I just love the ability to dive in on the tech side, but also culture and strategy. I hope this isn't the last time we chat. I mean, congrats on all the success so far.

**[1:07:23] Reynold Xin:** Thank you. Congrats on your success also.

**[1:07:27] swyx:** Yeah. Yeah, I mean, Databricks is actually supporting my event, which is, so I run AI conference. And it is actually, I've been an attendee of Data AI Summit for a long time. And I noticed that it was like kind of, this is back in 2022. It was like 90 % data and then 10 % AI. And I was just like, well, okay, we need the community thing that is just 90 % AI, which now everybody is.

**[1:07:51] swyx:** Yeah, yeah.

**[1:07:51] Matei Zaharia:** We're excited.

**[1:07:52] swyx:** Yeah, yeah. So Data Brinks will be at the conference. And it's just amazing to see you guys build out the most interesting cloud that I have ever seen outside of the big three. And it's amazing how far you've grown. One of the most insightful, I'm not a VC, but I play one on TV. like Ben Horowitz like when he was talking to you guys advising you on just like where is this company going he was like don't sell it to 100 billion or some version of that story right?

**[1:08:22] Reynold Xin:** It was like the company should be worth $1 1 trillion you're underselling it for 10 billion

**[1:08:26] swyx:** and like he doesn't do that for everyone you know like for some reason like you know I think he saw the vision but also the infinite runway that you have We're lucky to have Ben he's a big supporter Yeah amazing

**[1:08:40] Reynold Xin:** Okay well thank you so much Alright Thank you so much, swyx.
