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

spotify/annoy

Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk observed · 2026-08-28

github.com/spotify/annoy · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

45/100

  • Activity 49
  • Release rhythm 8
  • 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: 4902
  • days_rel: n/a
  • days_push: 308
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

14289 stars · 1227 forks observed · 2026-08-28

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

Annoy is a C++ library with Python (and other language) bindings for approximate nearest neighbor search over high-dimensional vectors. It builds static, memory-mapped index files that can be shared across processes with minimal memory footprint.

Use cases

  • find similar items by vector embeddings
  • approximate nearest neighbor search in high-dimensional space
  • share a vector index across multiple processes via mmap
  • build music or content recommendations from factorized vectors
  • cosine similarity search over millions of vectors
  • load a prebuilt ANN index from a static file in production

When to choose

  • you need read-only vector indexes distributed as static files
  • memory usage is a prime concern with millions of vectors
  • you want simple Python bindings with a fast C++ core
  • vectors have relatively low dimensionality (under ~1000)

When to avoid

  • you need dynamic inserts or updates to the index after build
  • you need exact nearest neighbor results
  • you need very high-dimensional vectors or heavy filtering features
  • you want a full-featured vector database with metadata and CRUD

Facets

library · maturity stable

search-engine vector-database machine-learning machine-learning databases data-science cpp python cross-platform windows ann nearest-neighbor-search locality-sensitive-hashing mmap embeddings recommendation search linux macos

1 source

Member repositories

RepositoryRoleHealth v2
spotify/annoymain45

For agents

markdown · JSON · MCP: product_card(name="spotify/annoy")

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