storing-and-querying-vectors

Store and query vector embeddings in Amazon S3 Vectors with a dedicated bucket and index.

Updated May 12, 2026
One-click install
npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill storing-and-querying-vectors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: storing-and-querying-vectors
Source: https://github.com/mreferre/aws-agent-toolkit-skills/tree/main/.kiro/skills/storing-and-querying-vectors
Command: npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill storing-and-querying-vectors

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you store vector embeddings and run semantic similarity search without managing a high-throughput vector database.

Core Features & Use Cases

  • Vector bucket and index setup: Create S3 Vectors vector buckets and indexes with the correct embedding dimension and distance metric.
  • Embedding ingestion and querying: Generate embeddings (via Bedrock when needed) and insert or query them using put-vectors and query-vectors.
  • Cost- and workload-aware decisioning: Guides when to use S3 Vectors versus alternatives like OpenSearch for sustained high QPS, and provides troubleshooting for common failure modes.

Quick Start

Use this skill to create an S3 Vectors vector bucket and index, store your embeddings, and run a semantic query with top-k results for a given question or text prompt.

Frequently Asked Questions about storing-and-querying-vectors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and query vector embeddings in Amazon S3 for semantic search?

To store vector embeddings in Amazon S3, you can create a dedicated S3 Vectors bucket and index with the correct embedding dimension and distance metric, then ingest embeddings and run similarity queries using put-vectors and query-vectors operations.

Can I use S3 Vectors for high QPS workloads in a RAG pipeline?

S3 Vectors is suitable for RAG vector storage but may not fit sustained high QPS workloads. This skill validates your QPS requirements and guides you on when to choose alternatives like OpenSearch for sustained high query volumes.

What immutable parameters do I need to set when creating an S3 Vectors index?

When creating an S3 Vectors index, you must define immutable creation-time parameters including embedding dimension, distance metric, non-filterable metadata keys, and encryption choices, which cannot be modified after index creation.

How do I migrate embeddings from another vector database to S3 Vectors?

Migrating embeddings to S3 Vectors requires aligning the vector dimensions and distance metrics between your source database and the new S3 Vectors index to ensure controlled migration and accurate similarity search results.

Does querying vectors in S3 Vectors support metadata filtering?

Yes, querying vectors in S3 Vectors supports query-time filters and metadata retrieval, allowing you to narrow down semantic search results using specific metadata attributes alongside top-k similarity scoring.

When should I not use S3 Vectors for my embedding storage?

You should not use S3 Vectors if your workload requires sustained high queries per second beyond its throughput capacity, or if you need to change vector dimensions and distance metrics after index creation due to immutable parameter constraints.