Documentation is at https://vectorvfs.readthedocs.io.
VectorVFS is a lightweight Python package that transforms your Linux filesystem into a vector database by leveraging the native VFS (Virtual File System) extended attributes. Rather than maintaining a separate index or external database, VectorVFS stores vector embeddings directly alongside each file—turning your existing directory structure into an efficient and semantically searchable embedding store.
VectorVFS currently uses Meta's Perception Encoders (PE) [arxiv] which includes image/video encoders for vision language understanding, it outperforms InternVL3, Qwen2.5VL and SigLIP2 for zero-shot image tasks. More models support coming soon.
-
Zero-overhead indexing
Embeddings are stored as extended attributes (xattrs) on each file, eliminating the need for external index files or services. -
Seamless retrieval
Perform searches across your filesystem, retrieving files by embedding similarity. -
Flexible embedding support
Plug in any embedding model—from pre-trained transformers to custom feature extractors—and let VectorVFS handle storage and lookup. -
Lightweight and portable
Built on native Linux VFS functionality, VectorVFS requires no additional daemons, background processes, or databases.