#1919th of 34 in Vector databases

ngt

C++ library and CLI for approximate nearest neighbor vector search

Stars
1.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
C++
Stars, last 29 weeks+19
6 May 2026: 1,357 stars13 May 2026: 1,357 stars20 May 2026: 1,359 stars27 May 2026: 1,360 stars3 Jun 2026: 1,361 stars10 Jun 2026: 1,361 stars17 Jun 2026: 1,361 stars24 Jun 2026: 1,361 stars1 Jul 2026: 1,362 stars8 Jul 2026: 1,363 stars15 Jul 2026: 1,363 stars22 Jul 2026: 1,365 stars29 Jul 2026: 1,367 stars5 Aug 2026: 1,368 stars12 Aug 2026: 1,368 stars19 Aug 2026: 1,369 stars26 Aug 2026: 1,369 stars2 Sept 2026: 1,370 stars9 Sept 2026: 1,371 stars16 Sept 2026: 1,372 stars23 Sept 2026: 1,373 stars30 Sept 2026: 1,373 stars7 Oct 2026: 1,373 stars14 Oct 2026: 1,373 stars21 Oct 2026: 1,374 stars28 Oct 2026: 1,375 stars4 Nov 2026: 1,376 stars11 Nov 2026: 1,376 stars18 Nov 2026: 1,376 stars25 Nov 2026: 1,376 stars

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
Also in Vector databases
RankProjectScore
#17turbovecIn-process quantized vector index for Python and Rust using TurboQuant17.5k starsMIT67 out of 100
#18diskannRust vector indexing library with pluggable storage providers and real-time updates2k starsMIT66 out of 100
#20jvectorJava graph-based vector index combining HNSW layers with DiskANN's Vamana1.8k starsApache-2.062 out of 100
#21qdrant-clientPython sync and async client for the Qdrant vector search engine1.4k starsApache-2.062 out of 100
#22hnswlibHeader-only C++ library for approximate nearest neighbor search with HNSW graphs5.4k starsApache-2.061 out of 100