Annoy

github.com/spotify/annoy Developer Tools Open-source projectOpen source

Annoy provides approximate nearest-neighbor search in C++ and Python with memory-focused storage options.

github.com/spotify/annoy
Annoy homepage screenshot

About Annoy

Annoy is a C++ library with Python bindings to search for points in space close to a given query point. It creates large read-only file-based data structures that are mmapped into memory so many processes may share the same data. It tries to minimize memory footprint so indexes stay small.

Pricing is not clearly stated.

Key features

  • Supports angular, Euclidean, Manhattan, Hamming, and dot distance metrics
  • Builds index on disk for datasets that will not fit into memory
  • Installs with pip for Python and by including annoylib.h for C++
Watch out for
  • No more items can be added after build or save
  • Only accepts integers as identifiers and allocates memory for max ID plus one
  • Works better with fewer than 100 dimensions

Annoy at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Details verified
Oct 22, 2026 · Official source
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Annoy alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing