What happened

Databricks has acquired ElectricSQL, the company behind PGlite and the Electric sync engine. The acquisition’s core focus is embedding a full Postgres database inside every AI agent sandbox – a move designed to solve problems inherent in how agents currently access data.

Electric's PGlite project is particularly noteworthy: it’s a WASM-based Postgres database, compiled to be under 3MB, running entirely within the agent sandbox without needing an external server. This compact size and self-contained nature addresses latency concerns that arise when agents connect remotely to databases. The deal also includes integrating the Electric sync engine, which facilitates syncing local state between agent sandboxes and Databricks' Lakebase cloud platform. Downloads of PGlite have exploded – growing from 1M to 13M weekly in just twelve months, indicating significant developer adoption.

Why it matters

The shift represents a fundamental change in how AI agents interact with data infrastructure. Traditional database models struggle to cope with the dynamic nature of agentic workloads—their need for real-time context updates and parallel processing.

By bringing Postgres directly into the agent sandbox, Databricks aims to drastically reduce latency and improve performance, unlocking the full potential of agentic applications. This has massive implications for fields like generative AI, where agents are increasingly used to interact with complex datasets and respond in near real-time.

“the company announced it is acquiring electric, the startup behind the wasm-based postgres project pglite and the electric sync engine, as agentic applications change how developers use databases.”
— Dr Non

But, but, but…The acquisition isn't without potential risks. The widespread adoption of WASM databases could lead to fragmentation of the Postgres ecosystem. While PGlite’s popularity demonstrates developer interest, it remains a relatively new technology compared to established Postgres distributions. Furthermore, Databricks’ reliance on Lakehouse as its central data repository presents a dependency that could impact agent performance and scalability if Lakehouse experiences issues. The long-term viability of this approach will depend on ongoing development and community support for PGlite.

The counter-take

The prevailing wisdom in the database world is that large-scale shared databases are the most efficient approach – Databricks’ bet on a multitude of small databases reflects a deliberate rejection of this paradigm, a bold move that challenges industry norms.

The AI angle

Databricks’ strategy—introducing thousands of tiny, disposable databases synced to a central lakehouse—represents an upgrade from traditional centralized architectures. This asymmetry shifts power from monolithic databases to agentic applications, enabling faster iteration and more dynamic data access for generative AI models.