View a markdown version of this page

Agentic AI - Amazon Aurora

Agentic AI

What is pgvector and how does it work with Amazon Aurora?

pgvector is an open-source extension for PostgreSQL supported by Aurora PostgreSQL. You can use pgvector to store, search, index, and query hundreds of billions of vector embeddings generated from AI and ML models — such as those from Amazon Bedrock or Amazon SageMaker.

Vector embeddings are numerical representations of semantic meaning for content like text, images, and video. With pgvector, you can perform efficient semantic similarity searches combined with traditional tabular data in Aurora, enabling applications like:

  • Personalized recommendations

  • Chatbots and customer service agents

  • Candidate matching

  • Next-best-action recommendations

For Aurora PostgreSQL, using optimized reads with pgvector increases queries per second for vector search by up to 9x for workloads exceeding available instance memory. Read our blog on vector database capabilities.

Can I use Aurora machine learning to keep vector embeddings up to date?

Yes. Aurora machine learning (ML) exposes ML models as SQL functions, allowing you to call models, pass data, and return predictions using standard SQL. While pgvector requires embeddings to be stored in the database, Aurora ML can make this a real-time process by making periodic calls to Amazon Bedrock or Amazon SageMaker to return the most recent embeddings from your model.

How does Amazon Aurora integrate with Amazon Bedrock?

There are two methods to integrate Aurora with Amazon Bedrock for agentic AI applications:

Read our blog and documentation on Using Aurora PostgreSQL as a knowledge base for Amazon Bedrock.

How does Amazon Aurora integrate with Amazon Bedrock AgentCore?

Aurora integrates with Amazon Bedrock AgentCore to help you bring AI agents to production faster. You can persist agent memories within Aurora — a trusted, fully managed database — enabling agentic AI architectures where agents maintain context across sessions. Aurora also works with agentic frameworks such as Letta and LangGraph, as well as AI-coding assistants such as v0 by Vercel.

How does optimized reads for Aurora PostgreSQL improve vector search performance?

Optimized reads with pgvector increases queries per second for vector search by up to 9x in workloads that exceed available instance memory. This is possible due to the tiered caching capability that automatically caches data evicted from the in-memory database buffer cache onto local storage. Read our blog and documentation on how to improve query performance for Aurora PostgreSQL with Aurora Optimized Reads.