Ross ROSS = Recommend OSS · open-source software intelligence for agents

nmslib/hnswlib

Header-only C++/python library for fast approximate nearest neighbors observed · 2026-08-28

github.com/nmslib/hnswlib · homepage · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

69/100

  • Activity 74
  • Release rhythm 45
  • 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: n/a
  • age_days: 3345
  • days_rel: 158
  • days_push: 158
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

5312 stars · 834 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A header-only C++ library with Python bindings implementing the HNSW algorithm for fast approximate nearest neighbor search. It supports incremental index construction, updates, deletions, filtering, and custom distance functions with a small memory footprint.

Use cases

  • find similar images by embedding vector
  • build a vector index for semantic search
  • fast k-nearest-neighbor search on millions of vectors
  • deduplicate documents by embedding similarity
  • recommendation engine candidate retrieval
  • use as a lightweight local vector store for RAG

When to choose

  • you need fast approximate nearest neighbor search in C++ or Python without heavy dependencies
  • you need incremental insertions, updates, and deletions in a vector index
  • memory footprint and build speed matter more than a full database with persistence and replication

When to avoid

  • you need a distributed, persistent vector database with replication and filtering at scale
  • you need exact (brute-force) nearest neighbor results
  • you need a managed service or built-in REST API

Facets

library · maturity stable

search-engine machine-learning data-science machine-learning databases cpp python cross-platform approximate-nearest-neighbors ann hnsw vector-search header-only similarity-search embeddings search algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
nmslib/hnswlibmain69

For agents

markdown · JSON · MCP: product_card(name="nmslib/hnswlib")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem