Favicon of sqlite-vec

sqlite-vec

A SQLite extension adds local vector search for float, int8 and binary vectors on Linux, macOS, Windows and browsers under Apache 2.0.

sqlite-vec adds vector storage and search to SQLite for developers building local AI apps or other software that uses embeddings. It keeps vectors and related application data in the same database.

  • Vector storage and search: Store and query float, int8 and binary vectors, depending on the representation your application uses.
  • Related data: Keep non-vector fields alongside vectors through metadata, auxiliary and partition key columns.
  • Portable operation: Use it wherever SQLite runs, including Linux, macOS, Windows, Raspberry Pi and browsers through WebAssembly.

The extension is written in C and has no dependencies. It's the successor to sqlite-vss and is open source under the Apache 2.0 license. The project warns that updates may introduce breaking changes.

Similar to sqlite-vec