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

nmslib/hnswlib

Some data may be outdated — see provenance labels.

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

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

Health v2 · maintenance only

76/100

  • Activity 95
  • Release rhythm 37
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3393
  • days_rel: 206
  • days_push: 35
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

5332 stars · 845 forks observed · 2026-09-23

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/hnswlibmain76

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem