NGT-labs/NGT
Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 94
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12.5
- age_days: 3653
- days_rel: 135
- days_push: 37
- n_releases_24m: 29
Adoption not part of the score
1370 stars · 130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NGT is a C++ library and command-line tool from Yahoo Japan for high-speed approximate nearest neighbor search on high-dimensional vector data, using neighborhood graph and tree-based indexing with quantized variants (QG, QBG). It offers a Python package via PyPI and supports distance metrics like L2, cosine, Jaccard, and inner product.
Use cases
- find similar vectors in a high-dimensional dataset
- build an approximate nearest neighbor index for embeddings
- search k-nearest neighbors for image or text embeddings
- speed up similarity search over millions of vectors
- use quantized graph indexes to reduce memory for vector search
- integrate ANN search into a Python application
When to choose
- you need fast approximate nearest neighbor search on tens to thousands of dimensions
- you want a mature C++ core with Python bindings
- memory-efficient quantized indexes (QG/QBG) are needed for large datasets
When to avoid
- you need a full managed vector database with filtering and replication
- your data is small enough that brute-force search suffices
- you need first-class Windows support or non-Linux/macOS deployment
Facets
library · maturity active
vector-database search-engine machine-learning cpp python cli approximate-nearest-neighbor-search ann vector-search graph-index quantization high-dimensional-data search algorithms linux macos
1 source
- readme: https://github.com/NGT-labs/NGT · fetched 2026-08-28 · 763707ce4faf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| NGT-labs/NGT | main | 90 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem