
Storing And Querying Vectors
This walks you through Amazon S3 Vectors, AWS's cost-effective vector storage service for embeddings you don't need to query constantly. It covers the full workflow from creating buckets and indexes to storing and querying vectors, with clear decision points on when to use OpenSearch instead (high QPS, hybrid search). The skill is thorough about immutable configuration gotchas like dimension and distance metric choices, and it handles the Bedrock integration for generating embeddings. Good for RAG systems where you need cheap long-term storage with occasional queries. The troubleshooting table actually covers the common IAM permission trip-ups with the s3vectors namespace.
- skills.sh installs
- 7K
- GitHub stars
- 3.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill storing-and-querying-vectors --agent claude-codeInstalls into .claude/skills of the current project.
Files
Store and Query Vectors with Amazon S3 Vectors
Overview
Amazon S3 Vectors is a cost-effective AWS service for storing and querying vector embeddings at scale. Optimized for long-term storage with subsecond latency for cold queries, as low as 100ms for warm queries.
Decision Guide
- Hundreds/thousands of sustained queries per second (QPS): Wrong tool. Recommend OpenSearch.
- Hybrid search, aggregations, faceted search: Recommend OpenSearch with S3 Vectors as storage engine. For OpenSearch integration, search AWS docs for
"Using S3 Vectors with OpenSearch Service". - Tiered (bulk + hot): S3 Vectors for storage + OpenSearch Serverless for real-time. See
references/limits-and-patterns.md. - Cost-effective storage, infrequent queries, RAG: S3 Vectors is the right fit. Proceed.
For latest guidance, search AWS docs for "S3 Vectors best practices".
Common Tasks
Classify the request before starting:
Sponsors
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- Backend & APIs, AI & Agent Building, Marketing & SEO, Cloud & Infrastructure, Databases
- First seen
- May 16, 2026
More from aws/agent-toolkit-for-aws
All 56- Connecting Lambda To Api Gateway7K
- Aws Sdk Swift Usage7K
- Ingesting Into Data Lake7K
- Aws Amplify7K
- Creating Data Lake Table7K
- Finding Data Lake Assets7K
- Connecting Lambda To Dynamodb6.9K
- Troubleshooting Application Failures6.9K
- Configuring Vpc Endpoints For Private Aws Service Access6.8K
- Debugging Lambda Timeouts6.8K
- Setting Up Cloudwatch Alarm Notifications6.8K
- Launching Ec2 Instance With Best Practices6.8K
- Troubleshooting S3 Files6.7K
- Creating Api Gateway Stage6.7K
- Setting Up Ec2 Instance Profiles6.6K
- Creating Production Vpc Multi Az6.6K
- Signing In To Aws6.6K
- Aws Transform6.5K
- Connecting Vpcs With Peering6.5K
- Enabling Lambda Vpc Internet Access6.5K
- Exporting Rds To S36.5K
- Setting Up Cloudtrail Multi Region6.5K
- Routing Traffic With Route53 And Cloudfront6.5K
- Creating Amazon Aurora Db Cluster With Instances6.4K