microsoft/SPTAG
A distributed approximate nearest neighborhood search (ANN) library which provides a high quality vector index build, search and distributed online serving toolkits for large scale vector search scenario. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2912
- days_rel: n/a
- days_push: 12
- n_releases_24m: 0
Adoption not part of the score
5012 stars · 620 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SPTAG is a C++ library from Microsoft for large-scale approximate nearest neighbor (ANN) vector search, offering kd-tree/balanced k-means tree plus relative neighborhood graph index structures. It supports online vector insertion and deletion (fresh update) and distributed online serving across multiple machines.
Use cases
- build a vector index over billions of embeddings for similarity search
- serve nearest neighbor queries across multiple machines
- support online insertion and deletion of vectors without full reindexing
- power semantic search or recommendation retrieval with L2 or cosine distance
- integrate ANN search into a C++ or Python application
When to choose
- you need billion-scale vector search with high recall and low latency
- you require distributed online serving of vector queries
- you need incremental updates (insert/delete) on a live index
- you want a battle-tested Microsoft research library with MIT licensing
When to avoid
- you need a turnkey managed vector database with filtering and CRUD APIs
- your dataset is small enough that brute-force or simpler libraries (FAISS, Annoy) suffice
- you cannot build C++ dependencies like SPDK, Boost, and SWIG
- you need heavy relational query support on top of vector search
Facets
library · maturity active
search-engine vector-database machine-learning machine-learning databases big-data cpp python approximate-nearest-neighbor vector-search ann distributed-serving kd-tree neighborhood-graph fresh-update microsoft-research search linux docker
1 source
- readme: https://github.com/microsoft/SPTAG · fetched 2026-08-28 · 2b9ffb342cf6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/SPTAG | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem