NewsStocksAWS Rebuilds Amazon Athena on DuckDB to Serve AI Agents

AWS Rebuilds Amazon Athena on DuckDB to Serve AI Agents

Author: Cryptopolitan·

Key Takeaways

  • •AWS's new DuckDB-based Athena engine, launched on December 1 for testing, is claimed to be up to twice as fast as Athena engine version 3 and up to 50% cheaper for queries of 100 GB or more.
  • •Amazon acquired DuckLabs, the Amsterdam-based company behind DuckDB, in a deal announced on August 26, while DuckDB itself remains free under the MIT license and is maintained by the DuckDB Foundation.
  • •AWS intends to release the DuckDB Scales plugin as open-source software when the new Athena engine becomes generally available in early 2027, and plans to bring DuckDB to Amazon EMR and Amazon Redshift in 2027.
  • •An August 25, 2026 McKinsey survey found 40% of large organizations scaling AI agents versus 22% of smaller organizations, with about 20% of respondents citing operating costs as a barrier to AI use.
  • •Grand View Research projects the agentic analytics market will expand from $754.4 million in 2026 to $6 billion by 2033.
AWS Rebuilds Amazon Athena on DuckDB to Serve AI Agents

On December 1, Amazon Web Services (AWS) introduced a new query engine for Amazon Athena, its cloud-based data analytics service. The engine, the component that interprets and executes queries against stored data, is built on DuckDB, an open-source analytical database, and is currently available for testing.

According to AWS, the DuckDB-powered engine can run queries up to twice as fast as its existing engine, Athena engine version 3. Users could also save up to 50% on queries involving 100 GB of data or more.

Speed and cost have taken on greater significance as AI agents change how businesses analyze data. While human analysts typically work through one question at a time, AI agents can run dozens of queries simultaneously. AWS is rebuilding Athena to absorb that query volume without making analytics more expensive.

Why AWS chose a single-machine database

AWS selected DuckDB for its ability to execute analytical queries quickly and at a lower cost. The database achieves this by using a single machine efficiently instead of spreading workloads across multiple servers. It currently records more than 100 million downloads per month, a volume that points to a broad existing user base among developers.

According to Amazon's report, DuckDB is the database AI agents tend to prefer most when they are allowed to choose their own analytics tool.

The launch follows Amazon's earlier effort to bring DuckDB's developers in-house. On August 26, the company announced a deal to acquire DuckLabs, the Amsterdam-based company behind the database, and the transaction has since closed. DuckLabs co-founders Hannes Mühleisen and Mark Raasveldt remain at the helm of DuckDB's development at AWS.

Amazon, however, acquired DuckLabs rather than the DuckDB open-source project itself. DuckDB stays free under the MIT license and is maintained by the DuckDB Foundation as an independent non-profit organization.

DuckDB Scales for workloads beyond one server

When a query requires more computing power than a single machine can supply, AWS turns to DuckDB Scales. The plugin splits large queries into smaller ones that can run in parallel across several servers. Even these smaller queries still execute on just one machine each in order to keep costs down. AWS says the method allows it to handle trillions of terabytes of data in seconds.

AWS vice president Andy Warfield told GeekWire that Amazon's acquisition of DuckDB helped accelerate the development of this technology. DuckDB Scales is currently being developed privately, and AWS plans to release the plugin as open-source software when the new Athena engine becomes generally available in early 2027.

One SQL dialect for agents and analysts

AWS has broader plans for DuckDB beyond its integration into Athena. In 2027, the company intends to bring the database to Amazon EMR, its big-data processing service, and Amazon Redshift, its cloud data warehouse solution.

The goal is to give AI agents and human analysts a common version of Structured Query Language (SQL), so that both can reuse queries across AWS services instead of rewriting them for different platforms.

The new Athena engine also supports Apache Iceberg v3, an open standard for organizing large datasets. Users can analyze data directly in Amazon S3, AWS's cloud storage service, without having to move or reformat it.

AWS has already demonstrated that DuckDB can operate alongside its other services. On November 18, the company published a blog post showing how DuckDB can track the costs incurred while running AI models, using Amazon MWAA, a hosted service for scheduling and managing data-processing activities.

Snowflake, Databricks, and the adoption gap

By bringing DuckDB to more of its analytics services, AWS is stepping up its competition with Snowflake and Databricks. The benefits of cheaper analytics, however, could extend beyond rivalry among cloud providers, as smaller businesses may find it easier to expand their use of AI.

An August 25, 2026, McKinsey survey by Dan Tinkoff, Lieven Van der Veken, Michael Chui, and Tara Balakrishnan highlights the gap. The survey found that 40% of large organizations were scaling AI agents, compared with 22% of smaller organizations, and around 20% of respondents cited operating costs as a barrier to AI use.

Independent research also suggests DuckDB could help improve query accuracy. In a June 8, 2026, Frontiers in Big Data study, Vipin Kataria and Nitin Kumar tested a system combining DuckDB, PyIceberg, and a semantic layer. The system successfully handled all 100 test queries, compared with a 67% success rate for the best conventional approach. The study does not, however, independently validate AWS's performance claims for the new Athena engine.

Demand for AI-powered analytics is expected to grow. Grand View Research projects that the agentic analytics market will expand from $754.4 million in 2026 to $6 billion by 2033.

Cheaper queries, bigger bills

Even if individual queries become cheaper, businesses may not see a drop in their overall cloud bills. Lower costs could encourage AI agents to ask more questions, analyze more data, and double-check their findings, and the sheer volume of queries could outweigh the savings on each one.

Rebuilding Athena is part of a broader effort by AWS to support AI agents that perform tasks autonomously. The company has already introduced digital wallets that allow agents to pay for access to application programming interfaces (APIs).