aicoolies logo
sqlite-vec logo
sqlite-vec logo

sqlite-vec

Vector search extension for SQLite that runs anywhere

freeopen sourceupdated Jun 8, 2026

sqlite-vec is a lightweight vector search extension for SQLite written in pure C with zero dependencies. It brings nearest-neighbor search capabilities directly into SQLite databases, enabling AI applications to store and query embeddings without running a separate vector database. The extension works everywhere SQLite runs including Linux, macOS, Windows, WebAssembly in browsers, and even Raspberry Pi devices. Sponsored by Mozilla Builders, Fly.io, and Turso.

sqlite-vec is a compact vector search extension for SQLite created by Alex Garcia with backing from Mozilla Builders, Fly.io, Turso, and SQLite Cloud. Written in pure C with zero external dependencies, the extension adds approximate nearest-neighbor search directly inside SQLite — no separate vector database process, no network calls, no infrastructure complexity. With over 7,400 GitHub stars, it has become the default choice for developers who need embedding search in resource-constrained or embedded environments where running Qdrant, Weaviate, or Pinecone would be overkill.

The extension introduces virtual tables that store float32 and int8 vectors alongside regular SQLite data, enabling hybrid queries that combine traditional SQL filters with KNN vector similarity in a single statement. It supports brute-force exact search for small datasets and an IVF index for larger collections, with proper DELETE support and constraint-based filtering on KNN queries. Since sqlite-vec compiles to a single C file, it runs everywhere SQLite does: server-side Linux and macOS, Windows desktop apps, mobile via SQLite's native Android and iOS support, edge devices like Raspberry Pi, and even in browsers through WebAssembly.

For AI application developers, sqlite-vec eliminates an entire infrastructure layer. RAG pipelines, semantic search features, recommendation engines, and document retrieval systems can all run locally with just SQLite as the storage backend. The extension pairs naturally with embedding APIs from OpenAI, Cohere, or local models through Ollama — generate vectors in your application code and store them directly in the same database as your relational data. This simplicity makes sqlite-vec particularly popular for prototyping AI features, building offline-capable applications, and deploying to environments where a managed vector database is impractical.

Pricing

Free and open source (MIT/Apache-2.0 license)

Platforms

All platforms — anywhere SQLite runs, including WASM

Categories

Tags

Use Cases

Related Tools

Cloudflare Vectorize

Edge-native vector database for Workers and AI applications

Cloudflare Vectorize is Cloudflare’s managed vector database for Workers and edge AI applications. It is distinct from the existing Cloudflare Workers tool page: Workers is the compute runtime, while Vectorize is the embedding index and vector-query layer used to add semantic retrieval to Cloudflare-hosted apps.

freemium
Upstash Vector logo

Upstash Vector

Serverless vector database with pay-as-you-go API pricing

Upstash Vector is a managed serverless vector database for RAG, semantic search, and embedding lookup. It is separate from the existing Upstash platform record in the aicoolies catalog: this slug covers the Vector product line, not the broader Redis, Kafka, or QStash platform.

freemium
OpenSearch logo

OpenSearch

Open-source search engine with vector and hybrid retrieval

OpenSearch is an Apache-2.0 distributed search engine with native vector-search support for teams that want BM25, filters, aggregations, and k-NN retrieval in the same search stack. It is distinct from Elasticsearch in the aicoolies catalog: OpenSearch is the AWS-backed open fork with its own docs, plugin path, and serverless deployment options.

Open Source
Deep Lake logo

Deep Lake

AI data runtime for multimodal datasets and vector search

Deep Lake is an open-source AI data runtime from Activeloop for storing, versioning, and querying multimodal data and embeddings. It fits teams building RAG, training, evaluation, or dataset-heavy agent workflows that need a bridge between vector search, structured metadata, and large image, text, audio, or video collections.

Open Source
SeekDB logo

SeekDB

AI-native state store with hybrid vector and full-text search

SeekDB is an open-source AI-native state store from the OceanBase ecosystem that combines MySQL-compatible data access with hybrid vector and full-text retrieval. It targets agent and AI application teams that need embedded or server deployment, copy-on-write style sandboxes, and searchable state without gluing together several separate storage layers.

Open Source

pgvectorscale

DiskANN-powered vector search extension for PostgreSQL

pgvectorscale is an open-source PostgreSQL extension from Timescale that complements pgvector with DiskANN-based approximate vector search. It is useful for teams that want faster embedding retrieval while keeping vectors, filters, and application data inside the Postgres ecosystem instead of adopting a separate hosted vector database.

Open Source