VectorRAG.Net 0.1.18

dotnet add package VectorRAG.Net --version 0.1.18
                    
NuGet\Install-Package VectorRAG.Net -Version 0.1.18
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VectorRAG.Net" Version="0.1.18" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VectorRAG.Net" Version="0.1.18" />
                    
Directory.Packages.props
<PackageReference Include="VectorRAG.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VectorRAG.Net --version 0.1.18
                    
#r "nuget: VectorRAG.Net, 0.1.18"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VectorRAG.Net@0.1.18
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VectorRAG.Net&version=0.1.18
                    
Install as a Cake Addin
#tool nuget:?package=VectorRAG.Net&version=0.1.18
                    
Install as a Cake Tool

VectorRAG.Net

High-performance embedded vector database for .NET 8.

VectorRAG.Net is an in-process vector database designed for Retrieval-Augmented Generation (RAG), semantic search, local AI assistants and low-latency applications.

Unlike external vector databases, VectorRAG.Net runs directly inside your application process.

No HTTP.

No Docker.

No external services.

No network latency.

Features

  • SIMD-optimized vector search
  • LSH-based ANN indexing
  • Hybrid Search (Vector + BM25)
  • Automatic document chunking
  • Metadata filtering
  • Snapshot save/load
  • Runtime metrics
  • Fully embedded architecture
  • .NET 8 native implementation

Installation

dotnet add package VectorRAG.Net

Quick Start

var lshConfig = new EmbeddingLshConfig(
    Bands: 24,
    BitsPerBand: 12,
    MaxCandidates: 2048
);

var db = new VectorRAGDatabase(
    dimension: 1536,
    lshConfig: lshConfig
);

Add Documents

await db.UpsertTextDocumentAsync(
    externalId: "faq_001",
    text: File.ReadAllText("faq.txt"),
    metadata: new DocumentMetadata
    {
        Department = "Support"
    },
    embeddingModel: embeddingModel
);

var queryVector =
    await embeddingModel.GenerateEmbeddingAsync(
        "How do I reset my password?"
    );

var results = db.Search(
    queryVector,
    new SearchOptions
    {
        TopK = 5
    }
);

var results = db.Search(
    queryVector,
    new SearchOptions
    {
        TopK = 5,
        UseHybrid = true,
        TextQuery = queryText,
        Alpha = 0.7f
    }
);

Metadata Filtering

var results = db.Search(
    queryVector,
    new SearchOptions
    {
        TopK = 5,
        Filter = md =>
            md.Department == "Support"
    }
);

Save Snapshot

await db.SaveAsync("database.vdb");

Load Snapshot

await db.LoadAsync("database.vdb");

Typical Use Cases

RAG Systems

Store embeddings locally and retrieve context without external vector services.

Internal Knowledge Bases

Low-latency semantic search for documentation and support portals.

Desktop AI Applications

Run completely offline without Docker, cloud services or internet access.

Edge Computing

Vector search on embedded devices, industrial controllers and local servers.

Corporate Offline Systems

Suitable for environments where external network access is prohibited.


Performance

Example benchmark:

Operation Average Time
Vector Search (TopK=5) 15.15 μs
Hybrid Search 116.73 μs

Actual performance depends on embedding dimensions, dataset size and hardware.


Licensing

VectorRAG.Net is commercial software.

Free Usage

The library may be used free of charge for:

  • evaluation
  • testing
  • development
  • research
  • educational purposes
  • proof-of-concept projects

No time limits.

No feature limitations.

Production Usage

Production use requires an active commercial subscription.

Current pricing:

  • $1,000 USD per month per organization

For licensing questions:

Email: vipvodu@yandex.ru

Telegram: @vipvodu


NuGet: https://www.nuget.org/packages/VectorRAG.Net

GitHub: https://github.com/likeslines-maker/VectorRAG.Net

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.18 46 6/3/2026
0.1.17 118 2/14/2026