Skip to main content
Amazon S3 Vectors is a purpose-built, cost-optimized vector storage and query service for semantic search and AI applications. It provides S3-level elasticity and durability with sub-second query performance.

Installation

S3 Vectors support requires additional dependencies. Install them with:

Usage

To use Amazon S3 Vectors with Mem0, you need to have an AWS account and the necessary IAM permissions (s3vectors:*). Ensure your environment is configured with AWS credentials (e.g., via ~/.aws/credentials or environment variables).

Config

Here are the parameters available for configuring Amazon S3 Vectors:

IAM Permissions

Your AWS identity (user or role) needs permissions to perform actions on S3 Vectors. A minimal policy would look like this:
For production, it is recommended to scope down the resource ARN to your specific buckets and indexes.