Skip to main content

xyberos-faiss

FAISS VectorStore plugin — RFC-0019, M4. A purely local, no-server vector store backed by FAISS. Passes the same parity scenarios as the stdlib SqliteVectorStore (the M4 Definition of Done).

Install

pip install xyberos-faiss              # from PyPI
pip install "xyberos-faiss[vectors]"   # pulls in faiss-cpu

# development (editable, from this repo):
pip install -e ./faiss
pip install faiss-cpu             # or: pip install xyberos[vectors]

faiss-cpu wheels are available on PyPI for Linux/macOS; on Windows use a conda env or run the parity tests on a platform with wheels — the tests skip cleanly when the module is absent.

Usage

from xyberos import create_app
from xyberos_faiss import FaissPlugin

app = create_app()
app.load_plugin(FaissPlugin())

store = app.resolve("vector_store")
store.upsert("ns", "doc-1", [1.0, 0.0, 0.0, 0.0], {"text": "alpha"})
hits = store.query("ns", [1.0, 0.0, 0.0, 0.0], top_k=3)

Design

  • Each namespace is an in-memory faiss.IndexFlatIP over L2-normalized vectors, so inner-product scores equal cosine similarity (higher = more relevant, matching the VectorStore contract).
  • dim is optional and auto-detected from the first upsert (FAISS_DIM env honored).
  • faiss is imported lazily; a clear ProviderError is raised when it is missing.

Tests

pip install pytest
pytest tests/          # unit + parity + plugin tests

Parity tests run the exact scenarios the SqliteVectorStore reference passes; they skip cleanly when faiss-cpu is not importable on the current platform.

Ship location

[vectors] extra (faiss-cpu already added to pyproject.toml).

Metadata

Release files for xyberos-faiss 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xyberos-faiss 0.1.1
File Size Uploaded Provenance Actions
xyberos_faiss-0.1.1.tar.gz 7.2 kB With provenance Details for xyberos_faiss-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xyberos-faiss 0.1.1
File Interpreter ABI Platform Actions
xyberos_faiss-0.1.1-py3-none-any.whl Python 3 none any Details for xyberos_faiss-0.1.1-py3-none-any.whl

Total release size: 12.8 kB

Release files / xyberos_faiss-0.1.1.tar.gz

Download URL xyberos_faiss-0.1.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f9b5a7be95723247b85be2b54420e3478f978313ce42d4031a74c1f56a40cc99
BLAKE2b-256 checksum
How to use checksums
e30b2e31cddb549271f7e72d6d46fe67d3cb484952a3c634e036007b104aaaa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / xyberos_faiss-0.1.1-py3-none-any.whl

Download URL xyberos_faiss-0.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
506f882f7b22f4bbdbd4f70e14e84661014691efeedccebde3af774915fdf605
BLAKE2b-256 checksum
How to use checksums
aee4af2201314fd94c4efb1a9a398896ad62c25d9db5fbb6f0999820e06b42ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Security for xyberos-faiss 0.1.1

Provenance

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xyberos_faiss-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page