Skip to main content Switch to mobile version s3-vectors-at-home 0.3.0 S3 vector search with MinIO, FAISS, and FastAPI
pip install s3-vectors-at-home Copy PIP instructions
"Mom, can I have S3 Vectors?" "We have S3 Vectors at home."
A self-hosted vector store: MinIO + FAISS + FastAPI. One server, two APIs:
A text API. Send text, search by meaning, by keyword (BM25), or both (hybrid). Embeddings are built in (all-MiniLM-L6-v2 on ONNX Runtime), or come from any OpenAI-compatible endpoint: Ollama, vLLM, OpenAI.
The Amazon S3 Vectors API. Point boto3 or any AWS SDK at it and bring your own vectors. Full-text and hybrid QueryVectors work too.
Search is exact by default, metadata filters included, and an index can opt into approximate (HNSW) search when it's big enough to need it, and into float16 or int8 vectors to fit in less memory. Text searches can be re-ranked with a cross-encoder, and aliases let you rebuild an index under a new model with no downtime. Searches page with offset and cut off at min_score, facets count metadata values, and documents can expire. Any number of processes can safely write to the same bucket at once. And a write costs the same whether an index holds 50 documents or 50,000.
docker compose up -d --build # MinIO on :9000, the API on http://localhost:8000 curl -X POST localhost:8000/upload/bulk -H 'content-type: application/json' -d '{"docs": [ {"doc_id": "cat", "text": "a cat sat on the mat", "metadata": {"kind": "pet"}}, {"doc_id": "rocket", "text": "rocket engine thrust", "metadata": {"kind": "space"}}]}' curl -X POST localhost:8000/search -H 'content-type: application/json' \ -d '{"query": "kitten on a rug", "top_k": 1}' # {"matches": ["cat"], "results": [{"doc_id": "cat", "score": 0.6022, "metadata": {"kind": "pet"}}]} With your own vectors, through the AWS SDK:
import boto3 s3v = boto3.client("s3vectors", endpoint_url="http://localhost:8000", region_name="us-east-1", aws_access_key_id="any", aws_secret_access_key="any") s3v.create_vector_bucket(vectorBucketName="media") s3v.create_index(vectorBucketName="media", indexName="movies", dataType="float32", dimension=4, distanceMetric="cosine") s3v.put_vectors(vectorBucketName="media", indexName="movies", vectors=[ {"key": "star-wars", "data": {"float32": [0.1, 0.9, 0.2, 0.0]}, "metadata": {"year": 1977}}]) s3v.query_vectors(vectorBucketName="media", indexName="movies", topK=3, queryVector={"float32": [0.1, 0.8, 0.2, 0.1]}, filter={"year": {"$lt": 1980}}, returnDistance=True) Also available: pip install s3-vectors-at-home, which installs the server and the s3-vectors-cli command, and the image ghcr.io/muratcanozdemir/s3-vectors-at-home:0.1.
Every example in the docs (and the curl quick start above) runs in CI against the real stack. The boto3 snippet is a short version of the tested one in S3 Vectors API.
The server doesn't authenticate requests. Run it on a network you trust.
Released: Nov 29, 2026
Release files for s3-vectors-at-home 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 470.2 kB
Release files / s3_vectors_at_home-0.3.0.tar.gz
Release files / s3_vectors_at_home-0.3.0-py3-none-any.whl
Security for s3-vectors-at-home 0.3.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 29, 2026 2 release files No provenance
Nov 28, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











