Comparison
annoy vs lancedb vs pynndescent vs usearch
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install annoyEmbedded database for vector, full-text and hybrid search on Lance tables
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install lancedbNearest Neighbor Descent
Actively maintained. Last release 1 day ago, commits in 13 of the last 26 weeks. A safe choice.
pip install pynndescentSmaller & Faster Single-File Vector Search Engine from Unum
Actively maintained. Last release 5 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install usearchIn short
- annoy is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pynndescent is the most used: 7.7M downloads a month.
- Maintenance is comparable: lancedb 89, usearch 83, pynndescent 79 on Pythie’s Index.
- usearch is growing fastest: downloads +21% over the last month.
- Safe default for a new project: pynndescent.
Side by side
| Metric | annoy | lancedb | pynndescent | usearch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 89 | Pythie’s Index: 79 | Pythie’s Index: 83 |
| Verdict | Slowing down | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 1M | 6.1M | 7.7M | 916.4K |
| Downloads, month over month | +5% | -19% | +11% | +21% |
| GitHub stars | 14.3K | 12K | 981 | 4.4K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 123 | 363 | 103 | 58 |
| Last release | Jun 14, 2023 | Nov 30, 2026 | Dec 1, 2026 | Oct 25, 2026 |
| Releases, 12 months | 0 | 21 | 3 | 12 |
| Weeks with commits | 0 / 26 | 26 / 26 | 13 / 26 | 21 / 26 |
| Recent contributors | 21 | 50 | 12 | 1 |
| First release | Mar 2014 | Oct 2024 | Mar 2018 | May 2023 |
| Python versions | 3.3 – 3.9 | 3.11 – 3.13 | 3.11 – 3.15 | – |
| License | Apache-2.0 | non-standard | BSD-2-Clause | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.