Skip to main content

C# library for fast approximate nearest neighbours search using Hierarchical Navigable Small World graphs. Fork from original at https://github.com/microsoft/HNSW.Net, adds support for incremental build and MessagePack serialization.

Total Downloads
170.1K
170,093
Published
Sep 19, 2026
Latest stable version

Install

.NET CLI
dotnet add package HNSW --version 26.9.5494
Package Manager Console
Install-Package HNSW -Version 26.9.5494
PackageReference
<PackageReference Include="HNSW" Version="26.9.5494" />

Frameworks

net10.0

Dependencies

[3.1.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.