nowfound

Dev tools · January 7, 2025

Tinyhnsw

Tinyhnsw is a pure Python implementation of HNSW (Hierarchical Navigable Small World), an approximate nearest neighbor search algorithm.

Launched as “Tinyhnsw – The Littlest Vector Database”

Tinyhnsw launched on January 7, 2025 with 17 votes, #789 of 5,685 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Tinyhnsw alternativestop 14% of January 2025

In plain words

Tinyhnsw is a pure Python implementation of HNSW (Hierarchical Navigable Small World), an approximate nearest neighbor search algorithm. Designed for developers wanting to understand vector search, it prioritizes readable code over performance. The project includes a tutorial explaining HNSW's motivation and implementation, plus working examples for text and image search using sentence transformers and CLIP. It's a learning-focused tool for anyone exploring vector databases and similarity search.

written by AI from its launch page and website · 5 September 2026

Originality

73/100

Original. More original than 73% of products launched in 2025.

Similar products before it
4
in the archive on its launch day
See similar products ↓
Similar products since
None
launched after it

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

90%

chance that Tinyhnsw’s website is still online in November 2031. Typical launch of 2025 gets 86%.

1 year
97%
typical 96%
3 years
93%
typical 90%
5 years
90%
typical 86%
  • Tinyhnsw
  • Typical launch of 2025

Launch signals stronger than 84% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

build your own vector database -- the littlest hnsw - jbarrow/tinyhnsw

TinyHNSW is a tiny, simple vector database. It weighs in at a measly few hundred lines of code. It's built on a straightforward (but not fast) implementation of HNSW in Python with minimal dependencies. It has an associated set of tutorials that build up to understanding how HNSW works, and how you can build your own TinyHNSW. ⚠️ The vector database part of this works, but the tutorial is not yet complete. I will update the README checklist below as chapters and code are completed. ⚠️ tinyhnsw is NOT production-quality. Compared to literally any standard implementation, it's slow and probably buggy. If you want to use an Approximate Nearest Neighbor library in a real application, consider…from github.com

In the maker’s words, at launch

In an effort to understand it, I put together a simple, pure python implementation of HNSW, an approximate nearest neighbor library. Learned a lot, and I think for anyone interested in vector search it's an exercise that's absolutely worth doing. The code is optimized (imo) for readability, and working (albeit, quite…

Pricing, as stated on its site

Free — Free and open source

checked November 2026 · prices change

  • A fast HNSW implementation in Rust2024 · github.com · ▲111

    HNSW implementation in Rust. Reference: https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf

  • HNSW index for vector embeddings in approx 5002025 · github.com · ▲73

    Heirarchical Navigable Small Worlds.

  • Embeddable HNSW Library for Go2024 · github.com · ▲11

    Embeddable HNSW Library for Go is an implementation of the HNSW (Hierarchical Navigable Small World) algorithm that enables approximate nearest neighbor search and semantic search capabilities…

  • Fast vector similarity using Rust and Python2023 · github.com · ▲141

    Fast Vector Similarity is a library that computes similarity and statistical dependency measures between high-dimensional vectors using Rust and Python.

  • CH
    CozoDB, Hybrid Relational-Graph-Vector Database2023 · docs.cozodb.org · ▲137

    CozoDB is an open-source database that combines relational, graph, and vector search capabilities in a single system.

  • Vicinity2024 · github.com · ▲57

    We’ve just open-sourced Vicinity, a lightweight approximate nearest neighbors (ANN) search package that allows for fast experimentation and comparison of a larger number of well known algorithms. Main features: - Lightweight: the base package only uses Numpy - Unified interface: use any of the supported algorithms and backends with a single interface: HNSW, Annoy, FAISS, and many more algorithms and libraries are supported - Easy evaluation: evaluate the performance of your backend with a simple function to measure queries per second vs recall - Serialization: save and load your index for…

More dev tools this month

the category →

Is Tinyhnsw yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2025

the whole month →