What is VectLite and how does it work?
VectLite is an embedded vector database written in Rust, designed on the SQLite model: a single file on disk, no server to deploy, direct execution in the application process. It exposes official bindings for Python and Node.js, allowing integration into a web app, AI agent, or RAG (Retrieval-Augmented Generation) script in fewer than 5 lines of code. VectLite combines 2 indexes in the same file: a dense HNSW (Hierarchical Navigable Small World) index for semantic embedding searches, and a sparse BM25 index for keyword searches. A hybrid query weighs both scores via Reciprocal Rank Fusion (RRF) and returns results in under 5 milliseconds for 100,000 vectors on commodity hardware.