AI for Developers
sqlite-vec logo

sqlite-vec

Visit Website

Small, dependency-free SQLite extension for vector search that runs anywhere SQLite does.

sqlite-vec is a vector search extension for SQLite and the successor to sqlite-vss. It is written in C with no dependencies, so it runs anywhere SQLite does: Linux, macOS, Windows, browsers through WASM and Raspberry Pi.

It stores float, int8 and binary vectors in vec0 virtual tables, and keeps non-vector data in metadata, auxiliary or partition-key columns. You query with MATCH and ORDER BY distance LIMIT.

Install with pip install sqlite-vec, then .load ./vec0 in SQLite. It is dual-licensed Apache-2.0 and MIT. The project is pre-v1, so breaking changes are possible; it suits local apps, edge devices and small RAG setups.

sqlite-vec reviews

  • No reviews yet.
See something outdated? Suggest an update