The ability for AI agents to explore organizational data in a cost-effective, precise, and large-scale manner is being enhanced through several new offerings from AWS, including Amazon Athena powered by DuckDB, Aurora PostgreSQL integration with S3 Tables, novel Aurora functionalities, and AWS Context.
The infrastructure supporting agents is critical because agents operate on data fundamentally differently than human users; they process information at machine speed, often executing thousands of concurrent operations. Furthermore, agents that generate code can rapidly create databases and alter schemas, while analytical agents may issue numerous small queries to resolve a single inquiry. Crucially, these agents require not only access to data but also an understanding of its meaning, and when the underlying data infrastructure proves inadequate, it becomes a constraint on all organizational development involving agents.
Organizations have invested substantial time and resources in accumulating data and developing deep knowledge regarding their business operations. By establishing a data foundation tailored for agents, these entities can leverage this accumulated knowledge more effectively, enabling them to test a greater variety of hypotheses, investigate more complex questions, and act upon more findings. At the recent re:Invent event, AWS unveiled enhancements across three core areas of this foundational layer: databases are becoming agent-ready within Amazon Aurora, querying data is becoming faster and more economical through the integration of DuckDB into AWS analytics, and AWS Context is providing agents with a shared understanding of business processes.
For the operational workflow, two categories of agents must be accommodated: those that construct and those that execute tasks. Agents focused on building function akin to software developers, performing database creation, schema modifications, and resource disposal at machine velocity. Meanwhile, agents that perform operations require rapid access to both current transactional data and its historical record. A database architecture designed for conventional applications invariably creates a performance bottleneck for both these agent types.
Database branching for Amazon Aurora PostgreSQL, which is currently in preview, furnishes developers and AI coding agents with a secure, isolated replica of a production database without impacting the live environment or interfering with other development efforts. These branches retain the security settings, access controls, and dynamic data masking policies of the parent cluster, thereby ensuring the protection of sensitive information. Additionally, data groups for Amazon Aurora PostgreSQL, also in preview, permit customers to consolidate one or more databases into a single data group, allowing for the grouping of over a thousand data groups within one cluster. Each data group is assigned its own encryption key and can be restored from backups or migrated to a different cluster independently, without disrupting other tenants or applications. This feature allows teams developing multi-tenant applications, AI services, and numerous small-scale experiments to share computational capacity while maintaining complete autonomy over each instance, circumventing the need for bespoke tooling.
As applications gain traction, their associated databases must scale alongside them. Database cluster groups enable customers to distribute application data across numerous clusters while managing them as a unified group, including unified backup and restore functions. Teams can shift tables between clusters while the application remains operational, thereby facilitating scaling out without necessitating a complete redesign. This capability is currently available in preview for Aurora MySQL, with its arrival for Aurora PostgreSQL forthcoming.
Agents that are running processes also require a comprehensive view of the data. For instance, a fraud detection agent must cross-reference a live payment against millions of past transactions, a task that typically mandates the construction and maintenance of data pipelines connecting operational databases to analytical systems. Open formats, such as Apache Iceberg, eliminate this manual effort; customers can query the identical data using Amazon Athena, Amazon EMR, Amazon Redshift, or other compatible engines, without needing separate data copies for each service. AWS is simplifying the process of incorporating operational data into this unified environment.
Aurora PostgreSQL integration with Amazon S3 Tables, now in preview, continuously replicates operational data into Apache Iceberg tables within a matter of minutes. This integration manages schema variations, and the registered tables can be discovered via the AWS Glue Data Catalog. Data originating in Aurora is deposited into the data lake in an open format, making it immediately accessible for querying by Athena, EMR, Redshift, Spark, or any engine compatible with Iceberg. This allows customers to conduct analysis on this data without building Extract, Transform, Load (ETL) pipelines or imposing analytical query loads onto the production database. This functionality builds upon an earlier capability released this year, which permitted applications to directly query Iceberg and Parquet data residing in the lake using Aurora PostgreSQL, allowing access to historical and analytical data without prior copying into the database. Collectively, these features establish a bidirectional connection between operational and historical data, enabling both applications and agents to utilize the necessary data regardless of its physical location. With an agent-ready Aurora, the database no longer serves as a constraint on agents; teams can explore more concepts at a reduced cost, accelerate the transition from experimentation to production, and equip agents with the live and historical data required to act with assurance.
To make deeper data exploration cost-effective, it is important to recognize the operational differences between human and agent interaction with data. A human typically poses a question, reviews the response, and then decides on the subsequent inquiry. In contrast, an agent might dispatch dozens of queries simultaneously, following up on each resulting piece of information, meaning one initial question can cascade into hundreds of queries. Historically, most analytics systems were engineered over a decade ago to distribute each query across multiple servers. Modern servers possess sufficient power such that analytics workloads that once demanded a distributed setup can now execute on a single server, achieving greater speed and lower expense. This is why AWS selected DuckDB, an open-source engine specifically designed to maximize the utilization of a singular server. DuckDB has become one of the world's fastest-growing data tools, boasting over 100 million monthly downloads, and agents frequently select DuckDB when given the option of tool selection. AWS is advancing this through DuckLabs, the team responsible for creating DuckDB, which is now integrated within AWS and continues to spearhead DuckDB as an open-source project.
Amazon Athena powered by DuckDB, which is now in preview, represents the inaugural AWS analytics service built upon DuckDB. Customers can query data stored in Amazon S3 without needing to provision or maintain dedicated infrastructure, and a query written for DuckDB will execute identically within Athena. Because Athena is now leveraging DuckDB, it can process queries up to twice as quickly as Athena engine version 3 and incurs up to 50% less cost when querying substantial datasets. These performance improvements are most significant for agents; when every response is quicker and less expensive, an agent can examine a larger volume of data, self-correct errors, and arrive at an accurate conclusion sooner, while human users can continue asking follow-up questions without incurring escalating costs.
DuckDB Scales, also available in preview within Athena, allows a solitary query to span multiple servers, capable of processing tens of terabytes of data in mere seconds. While routine queries still operate on a single server, larger tasks are automatically distributed across servers, ensuring that the same query functions reliably from simple questions to the most demanding workloads. The open-sourcing of DuckDB Scales is scheduled for 2027. Furthermore, DuckDB is slated for inclusion in Amazon EMR and will be natively built into Amazon Redshift, with additional services following throughout 2027. As these integrations mature, DuckDB SQL will become the standardized language for AWS analytics, allowing both customers and their agents to write a query once and execute it wherever the workload is best suited, thereby minimizing potential errors.
Simply possessing quick access to data is insufficient if agents lack semantic understanding of that data. A generalized model might grasp the concept of an "active customer," but it might not know that for a specific financial institution, "active" means having made a deposit within the preceding 90 days. When agents lack an understanding of the specific business context, they rely on generic knowledge, which leads to lower task completion rates, increased time consumption, higher costs, and reduced accuracy. Currently, organizations attempt to inject context into agents using methods such as Markdown files, steering files, prompts, or agent skills, all of which are manually crafted for a single agent and must be updated whenever the business undergoes changes. Building custom context graphs is an expensive, slow endeavor that demands specialized expertise and often fails to keep pace with business evolution. Since each agent begins from a blank slate, it tends to repeat the same errors.
AWS Context, which is now generally available, establishes a dynamic map illustrating the relationships between a company's data and its underlying meaning. It connects to existing data repositories and documents, mapping the business terminology, governing rules, and operational policies that agents require for effective functioning. Instead of searching disparate data sources, agents query this graph, drawing only upon information pertinent to the user and the task, leading to faster and cheaper attainment of the correct answer. The context improves with every interaction; as agents query the graph, AWS Context monitors which sources, rules, and relationships led to correct outcomes and disseminates these lessons across the organization. When an agent resolves an ambiguity or an expert corrects an error, that correction is fed back into the graph, ensuring subsequent agents achieve accuracy on the first attempt. Agents inherit the existing permissions granted by AWS Identity and Access Management (IAM), meaning they can only view data accessible to the individual they represent. Moreover, every output is traceable to its origin, providing audit and compliance teams with a clear record of the agent's decision-making path. AWS is making the creation and storage of context graphs across AWS database and analytics services free of charge, including Amazon Aurora, Amazon RDS, Amazon DynamoDB, Amazon Athena, Amazon Redshift, and Amazon S3 Tables. New features in preview encompass ontologies, allowing domain experts to directly incorporate specialized knowledge into the graph, support for Snowflake and Databricks catalogs, and automatic detection of AWS service metadata, business metadata, and data lineage. Context designed for code, expected early next year, will assist software development agents in comprehending application architecture and operational mechanics. Amazon has utilized an internal iteration of AWS Context for over a year, where the graph has mapped
Why it matters
These innovations address the bottleneck created when traditional data systems cannot support the machine-speed demands of AI agents. For operators, this means data foundations can now keep pace with agent development, enabling faster iteration and more comprehensive data utilization.





