Annoy

Approximate Nearest Neighbor Oh-Yeah — lightweight C++/Python library for fast, memory-efficient ANN search with static indexes (good for embedding similarity).

vector-database-frameworksInactive
52
Hero Score
Popularity
37
Performance
45
Ecosystem
50
Maturity
62
Dev Experience
68
⭐ 14,249 stars⬇ 270.2K downloads/wkFirst release: Mar 2014Last release: Apr 2023
Async Support: NoPlugin Extensions: LowSpeed: FastDoc Quality: MediumLearning Curve: Easy

Pros

  • Extremely lightweight and efficient for high-dimensional nearest neighbor search
  • Works fully in local memory with simple disk persistence
  • Low memory footprint, great for embeddings on edge or small servers

Cons

  • Static index (must rebuild for new data)
  • Limited query features vs full vector databases (filters, hybrid search)
  • No distributed or cloud deployment support

Alternatives in vector-database-frameworks

Compare Python Packages with ease.