AI Potluck
Infrastructure / Storage & Retrieval

hnswlib

NMSLIB project

hnswlib is a header-only C++ implementation of Hierarchical Navigable Small World graphs for approximate nearest neighbour search, with Python bindings and support for insertions, updates and filtered queries. Several vector databases embed it as their graph index.

Verified 2026-08-18 via the GitHub API and the LICENSE body.

Openness

5 high confidence
5.0
license
Apache-2.0(OSI)
source
public
core-gated
ungated

Apache-2.0 license body confirmed. The repository is public and unarchived and builds the whole product, and the README describes no paid tier, enterprise edition or license-gated build beside it, so source is public and the core ungated.

Adoption

3 high confidence
3.0

544,320 PyPI downloads of `hnswlib` in the trailing 30 days, which lands in the 100K-1M band of the software usage scale, level 3. The PyPI project's declared source URL points at the author's own hnsw repository rather than nmslib/hnswlib; the package is this library's Python distribution and not a client for something else, so the figure is the product's.

Capability

2 medium confidence
2.0

Banded on the category feature matrix as single index family as a library. Placed two bands below the chroma anchor, on a matrix that bands on how much of the persist-index-retrieve path a product provides itself, at what scale and over how many retrieval modes.

Verified 2026-08-18