How DuckDB Became the Data Layer AI Agents Reach For

A team of analysts reviewing charts and data on a laptop in an office

How DuckDB Became the Data Layer AI Agents Reach For

A team of analysts reviewing charts and data on a laptop in an office

Data analytics is losing one of its oldest assumptions: that working with data at scale means sending queries to a remote cluster. At Amazon Web Services’ re:Invent conference this week, the cloud giant made its position clear. It is rebuilding parts of its analytics portfolio around DuckDB, a small open-source engine that runs inside an application rather than on a server farm, because the newest users of data are not people at all.

The new decision-makers are AI agents. Where a human analyst submits queries one at a time, an agent can fire off dozens at once, use each answer to shape the next question, and keep going without getting tired. That changes what matters in a database: speed and cost per query now matter as much as the ability to scan a huge dataset.

SiliconANGLE reported on 3 December 2026 that the shift is already reshaping how cloud providers build analytics services. AWS agreed to buy DuckLabs, the Amsterdam company behind DuckDB, in August, and has moved fast since: a DuckDB-powered Amazon Athena is in preview, a scaling extension called DuckDB Scales is on the way, and the engine is set to spread across Amazon EMR and Amazon Redshift in 2027.

Key takeaways

  • AWS is rebuilding Amazon Athena around DuckDB; a preview is live, with general availability expected in early 2027.
  • AI agents drive the shift: they issue many small queries at once, so per-query speed and cost matter more than raw scale.
  • DuckDB runs inside an application and speaks standard SQL, giving agents one dialect everywhere.
  • DuckDB Scales spreads single queries across many servers, and AWS plans to open-source it in 2027.
  • DuckDB stays open source under the DuckDB Foundation, while AWS extends it into EMR and Redshift in 2027.
DuckDB and the agent-driven analytics shift at a glance
What changed Detail Why it matters
AWS buys DuckLabs Acquisition agreed in August 2026 DuckDB becomes AWS’s analytics core
Athena rebuilt on DuckDB Preview live; up to 2x faster, up to 50% cheaper on 100 GB-plus queries (AWS figures) Faster, cheaper agent queries
DuckDB Scales Splits one query across many servers; open source in 2027 Removes the single-machine ceiling
DuckDB 2.0 agent mode October release; detects coding agents, trims output Built for agents, not just people
Wider rollout EMR and Redshift integration through 2027 One SQL dialect across AWS analytics

Why AI agents reach for DuckDB first

The simplest way to understand the shift is to look at how an agent works. A person opens a dashboard and asks one follow-up question. An agent breaks a task into steps, runs a query for each step, and immediately fires off several more. A single session can produce dozens of small queries in seconds. In that pattern, the cost of starting a query matters far more than the ability to scan petabytes in one go.

DuckDB is built for exactly that shape of work. It is an in-process analytical database, which means the engine lives inside the application that uses it instead of running as a separate service. There is no cluster to stand up and no network round trip before the first query runs. As Andy Warfield, a vice president and distinguished engineer at AWS, put it at re:Invent: it has always been an API endpoint and a cluster you stand up, and suddenly the community has realised you can take the engine and put it inside your app. That change, he said, changes what you can do.

That matters because agents pick their own tools. When an agent is given a data question and a choice of engines, AWS says it chooses DuckDB more often than anything else. Hannes Mühleisen, DuckDB’s co-creator and now an AWS vice president and distinguished engineer, told SiliconANGLE the customer for a database has changed. It used to be the chief executive on the golf course with a salesperson from a big company. Then it became the developers. Now, he said, the customer is no longer a person. AWS says DuckDB now registers more than 100 million downloads a month.

What AWS is doing with DuckDB

A laptop on a wooden desk showing a bar chart and data table, with a coffee mug and notebook beside it
A laptop running a data query: DuckDB turns an ordinary machine into an analytics workstation.

The first big product of the acquisition is live in preview: Amazon Athena, rebuilt around DuckDB. AWS says the new version runs queries up to twice as fast as Athena engine version 3 and cuts costs by up to 50 percent for queries involving 100 gigabytes or more of data. Those are AWS’s own figures, not independently verified. Even so, the direction is clear.

The second piece is DuckDB Scales, a plugin that addresses the most obvious limitation of DuckDB’s design. Because the engine runs on a single machine, very large queries used to hit a ceiling. Scales splits one query across many servers, letting it process tens of terabytes without the query being rewritten. It is in preview inside Athena, and AWS plans to open-source it in 2027.

The third piece is the rollout across the rest of the portfolio. AWS said DuckDB will run alongside existing engines in Amazon EMR and be integrated directly into Amazon Redshift, with more services to follow in 2027. The company also wants the DuckDB SQL dialect to become the common language across its analytics services, which matters because every dialect difference is another chance for a generated query to fail. DuckDB 2.0, released in October, adds an agent mode that detects coding agents and trims output to save tokens. Mühleisen calls this “AX”, short for agent experience.

What the shift means for the analytics stack

For years, the analytics stack was built around a simple idea: data lives in a warehouse, and you send queries to it. That model produced powerful systems, but also a lot of machinery to provision and maintain. DuckDB’s rise does not erase that model, but it challenges the assumption that every serious query needs a cluster behind it. Modern hardware handles a surprising amount of work on one machine, and for a stream of small agent queries, a single fast engine often wins.

The change also reshapes who the stack is built for. Analysts are not disappearing, but their jobs are changing. Warfield noted that a meaningful share of an analyst’s work used to be undifferentiated plumbing: wiring up connectivity, writing SQL, understanding schemas. Agents are taking on more of that routine work, leaving analysts to guide the process and judge the results. Companies are already organizing work around AI agents, and the analytics team is no exception.

There is a competitive angle too. If DuckDB becomes the common dialect across AWS analytics, it puts pressure on Snowflake and Databricks, whose platforms have their own dialects. The company that gives agents the fastest, cheapest, most consistent query experience is likely to win a large share of agent-driven analytics.

Strengths of the DuckDB approach

The case for DuckDB is straightforward. It starts instantly, runs anywhere, speaks standard SQL, and is free to try. Because it is embedded, an agent can spin up an engine, run a query, and throw it away without provisioning anything. Because it is open source under the DuckDB Foundation, teams can run it without a vendor contract.

Limits worth keeping in mind

The limits are real as well. A single-machine engine, even with Scales, is not the obvious choice for the largest warehouse workloads. The performance figures AWS cites are its own, not independent benchmarks. And the acquisition raises the question every open-source community asks when a cloud giant buys the company behind a project: how much control will one vendor have? Mühleisen has said DuckDB will stay open source under the same licence and governed by the nonprofit foundation.

Where the shift is showing up

The clearest evidence is inside AWS itself. Athena is the first major product rebuilt on DuckDB, and the company says it is the first of several. Within three months of the August acquisition, DuckDB was embedded in Aurora PostgreSQL, letting applications query live and historical data without separate pipelines.

The shift is also showing up in how developers talk about data work. The economics of AI agents writing code have changed what software teams expect from their tools, and data tools are following the same path. When code is cheap, the bottleneck moves to the data the code touches, and the tools that win are the ones that make data access fast, cheap, and simple. It is also one reason AWS sees agents becoming the new superusers of data: the engine lives inside the application, so there is no need to move data to a warehouse first.

How to choose

Whether DuckDB fits a team comes down to the shape of the work. If most queries are small, frequent, and generated by agents or analysts working interactively, an embedded engine is a strong fit. Huge scheduled jobs that scan entire warehouses still suit a distributed platform, though Scales narrows the gap. The practical test is simple: run a real workload on DuckDB and measure. The engine is free and installs in seconds.

Teams should also weigh the ecosystem question. A single SQL dialect across local work and cloud services is genuinely valuable, especially for agents that move queries between systems. But it also means betting more of a stack on one vendor’s preferred engine. The open-source licence and the foundation’s governance soften that risk, and DuckDB runs anywhere, not only on AWS.

Checklist: evaluating DuckDB for agent-driven analytics

  • Measure your real query mix: if most queries are small and frequent, an embedded engine will shine.
  • Test DuckDB 2.0 agent mode with your own coding agents and compare token use.
  • Try the Athena preview on a real workload before committing to a migration.
  • Check whether one SQL dialect across local and cloud work cuts errors.
  • Confirm your largest queries still fit, or plan for Scales where they do not.
  • Keep data portable with open formats, so the engine stays a choice.

Frequently asked questions

What is DuckDB?

DuckDB is an open-source analytical database that runs inside an application instead of on a separate server. It speaks SQL, handles large datasets on a single machine, and is built for fast analytical queries.

Why do AI agents prefer DuckDB?

Agents issue many small queries at once and use each result to plan the next step. DuckDB starts instantly, answers quickly, and costs little per query, which fits that pattern better than a cluster.

What did AWS announce at re:Invent?

AWS announced a DuckDB-powered preview of Amazon Athena, the DuckDB Scales extension for splitting queries across servers, and plans to extend DuckDB into Amazon EMR and Amazon Redshift through 2027.

Is DuckDB still open source?

Yes. DuckDB remains open source under the same licence, governed by the nonprofit DuckDB Foundation, and AWS says it will stay that way. DuckDB Scales is also planned for open-source release in 2027.

What is DuckDB Scales?

Scales distributes a single query across many servers, letting DuckDB handle workloads that outgrow one machine without rewriting the query. It is in preview inside Athena.

Does DuckDB replace data warehouses?

Not entirely. It excels at interactive and agent-driven queries on a single machine, and Scales extends that range. Very large warehouse workloads may still suit distributed platforms.

The bottom line

DuckDB’s rise is not really a story about a database. It is a story about who uses data now. When agents became the heaviest users of analytics, the tools that won were the ones built for their pattern: fast to start, cheap per query, and consistent everywhere. DuckDB fits that pattern best, and AWS has now bet much of its portfolio on it.

Whether that bet pays off will depend on execution: on Scales working as promised, on the open-source commitment holding, and on the performance claims surviving contact with real workloads. The customer for analytics is no longer only a person, and the engines that serve that new customer best will shape the next decade of data work.

on this page