sqlite-vec
What it is and what it does
sqlite-vec is a SQLite extension that brings vector search and similarity operations to SQLite databases. It allows you to store embeddings and perform vector queries directly in SQL, eliminating the need for a separate vector database for simple use cases. The package is distributed as platform-specific wheels for macOS (both Intel and ARM), Linux (x86_64 and aarch64), and Windows, with no additional runtime dependencies beyond SQLite itself.
The extension is actively maintained and has achieved significant adoption, ranking in the top 5000 PyPI packages by downloads. It's designed for developers who want vector search capabilities without introducing external dependencies or complex infrastructure, keeping everything within the familiar SQLite ecosystem.
Use it for:
- Add semantic search to SQLite-backed applications without deploying a separate vector database
- Store and query embeddings from language models or image encoders within existing SQLite schemas
- Build recommendation systems that use vector similarity on small to medium datasets
- Prototype AI features quickly by embedding vector operations directly in SQL queries
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
sqlite-vec adds vector search capabilities to SQLite, enabling similarity queries and vector operations directly within SQLite databases.
Yes, if you need vector search in SQLite and accept the platform-wheel installation model. The package is actively maintained, permissively licensed, has no runtime dependencies, and is popular enough to indicate real-world usage. The main uncertainty is the unspecified Python version requirement and lack of documentation—verify compatibility with your Python version before committing.
Install
sqlite-vec on PyPI
pip
pip install sqlite-vecuv
uv add sqlite-vecpoetry
poetry add sqlite-vecInstalling sqlite-vec
Before you install
Medium install friction due to platform-specific wheels (macOS x86_64/arm64, Linux aarch64/x86_64, Windows amd64), but no runtime dependencies. Active maintenance with recent release activity.
License in practice
Dual-licensed under MIT and Apache 2.0, both permissive licenses allowing commercial and private use with minimal restrictions.
Quickstart
pip install sqlite-vec
import sqlite_vec
# Vector search operations performed within SQLite queries
Requires a platform-specific wheel match (macOS, Linux, or Windows); Python version requirement unspecified in package metadata.
Verify before relying
- Whether the package requires a specific Python version (requires_python is unspecified in metadata)
- What vector operations and indexing strategies are supported
- Performance characteristics and scalability limits for vector search
- Integration requirements with existing SQLite installations
Package facts
| License | MIT License, Apache License, Version 2.0 (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 136 days since the last release |
| First released | |
| Downloads | 5,255,128/month — #2,126 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sqlite_vec-0.1.9-py3-none-macosx_10_6_x86_64.whl; sqlite_vec-0.1.9-py3-none-macosx_11_0_arm64.whl; sqlite_vec-0.1.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; sqlite_vec-0.1.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux1_x86_64.whl; sqlite_vec-0.1.9-py3-none-win_amd64.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
pgvectorAdds vector storage and similarity search…
permissive · top 1,000 on PyPI
vecsvecs is a Python client for storing, indexing,…
permissive · top 15,000 on PyPI
nano-vectordbA lightweight vector database that stores and…
permissive · top 15,000 on PyPI
llama-index-vector-stores-postgresIntegrates PostgreSQL with pgvector extension…
permissive · top 15,000 on PyPI
pymongo-search-utilsProvides utility functions for vector search…
permissive · top 15,000 on PyPI
pgvecto-rsProvides Python bindings for PGVecto.rs, a…
permissive · top 15,000 on PyPI
usearchUSearch provides approximate nearest-neighbor…
permissive · top 15,000 on PyPI
scannScaNN performs efficient vector similarity…
permissive · top 15,000 on PyPI
llama-index-vector-stores-faissIntegrates FAISS vector storage with LlamaIndex…
permissive · top 15,000 on PyPI
chromadbChroma is a vector database and search…
permissive · top 5,000 on PyPI