#1919th of 34 in Vector databases
ngt
C++ library and CLI for approximate nearest neighbor vector search
Watch puts ngt on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ngt is on your watch list. Its new releases and problems show there.
- Stars
- 1.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- C++
1,357 on 6 May 20261,376 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
NGT is a C++ library with command-line tools (ngt, qbg) for approximate nearest neighbor search over vectors of tens to thousands of dimensions. It offers a graph-and-tree index, plus quantized graph (QG) and quantized blob graph (QBG) methods, with bindings for Python, Rust, Go, Ruby and PHP. It is an embedded index library; server modes live in separate projects.
Who it is for: Engineers embedding fast vector similarity search in C++ or Python apps
Strengths
- Three index methods: graph and tree, quantized graph (QG), quantized blob graph (QBG)
- QBG is stated to handle billions of objects; memory-mapped option for indexes beyond RAM
- Distance functions include L1, L2, cosine, Hamming, Jaccard, Poincare, Lorentz, inner product
- Bindings for Python, Ruby, PHP, Rust, Go, C, C++; LlamaIndex vector store on PyPI
Weaknesses
- Built from source with CMake; Homebrew is the only pre-built package listed
- QG and QBG need BLAS/LAPACK and are not supported on Windows
- Shared-memory indexes have no locking, so multi-process use must be read-only
- Server mode relies on separate projects (ngtd, vald), not this repository
What it needs
- no GPU
- Needs CMake, BLAS, LAPACK, OpenMP
- Models: float32, float16, uint8 vectors, scalar quantization, product quantization
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Vector databases
See all 34| Rank | Project | Score |
|---|---|---|
| #17 | turbovecIn-process quantized vector index for Python and Rust using TurboQuant | 67 out of 100 |
| #18 | diskannRust vector indexing library with pluggable storage providers and real-time updates | 66 out of 100 |
| #20 | jvectorJava graph-based vector index combining HNSW layers with DiskANN's Vamana | 62 out of 100 |
| #21 | qdrant-clientPython sync and async client for the Qdrant vector search engine | 62 out of 100 |
| #22 | hnswlibHeader-only C++ library for approximate nearest neighbor search with HNSW graphs | 61 out of 100 |