# asg017/sqlite-vec

A vector search SQLite extension that runs anywhere!

Repository: https://github.com/asg017/sqlite-vec
Canonical: https://ross.abutalabs.com/products/sqlite-vec
Language: C
License: Apache-2.0
License Family: permissive
Topics: sqlite, sqlite-extension
Last push: 2026-05-18T06:50:45+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 77, longevity 61
- inputs: {"age_days": 865, "days_push": 107, "days_rel": 155, "gap_med": 12, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8046, forks 348 (observed 2026-08-28T04:10:12.185482+00:00)

## What it is
sqlite-vec is a vector search extension for SQLite written in pure C with no dependencies, supporting float, int8, and binary vectors in vec0 virtual tables. It runs anywhere SQLite runs, including browsers via WASM and embedded devices like Raspberry Pis.

## Use cases
- add vector search to a local SQLite database
- store and query embeddings for a RAG application
- run semantic search entirely on-device without a server
- build a local AI app with vector similarity search
- search binary or int8 embeddings in SQLite
- prototype vector search without deploying a vector database

## When to choose
- you want lightweight, dependency-free vector search embedded in SQLite
- you need local-first or on-device semantic search
- your dataset is small-to-medium and 'fast enough' beats heavyweight infrastructure
- you need portability across platforms including WASM and embedded devices

## When to avoid
- you need billion-scale, GPU-accelerated vector search at high throughput
- you require a stable API - the project is pre-v1 with breaking changes
- you need advanced ANN indexes like HNSW with heavy tuning options

## Facets
- artifact type: library
- maturity: active
- function: vector-database, search-engine, database
- domain: databases, machine-learning, developer-tools
- platform: windows, wasm, python, cli, cross-platform
- tags: sqlite-extension, embeddings, vector-search, local-ai, rag, search, linux, macos, nodejs

## Member repositories
- asg017/sqlite-vec (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:12.185482+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:31:24.959365+00:00, confidence not recorded.
  - readme: https://github.com/asg017/sqlite-vec (fetched 2026-08-28T04:10:12.185482+00:00, sha 64813e241265)
- Data as of 2026-08-30T08:39:29.467469+00:00.
