LM-Kit.NET 2026.8.5

Prefix Reserved
dotnet add package LM-Kit.NET --version 2026.8.5
                    
NuGet\Install-Package LM-Kit.NET -Version 2026.8.5
                    
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="LM-Kit.NET" Version="2026.8.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LM-Kit.NET" Version="2026.8.5" />
                    
Directory.Packages.props
<PackageReference Include="LM-Kit.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 LM-Kit.NET --version 2026.8.5
                    
#r "nuget: LM-Kit.NET, 2026.8.5"
                    
#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 LM-Kit.NET@2026.8.5
                    
#: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=LM-Kit.NET&version=2026.8.5
                    
Install as a Cake Addin
#tool nuget:?package=LM-Kit.NET&version=2026.8.5
                    
Install as a Cake Tool

LM-Kit.NET

Private AI for documents and internal knowledge, embedded in .NET.

LM-Kit.NET runs the full AI stack inside your process: agents, RAG, OCR, structured extraction, vision, speech and embeddings on curated open-weight models. No cloud calls, no Python sidecar, no per-token bill. Documents, indexes and prompts never leave the machine.

What you build with it

  • Structured extraction: define fields, get schema-valid JSON from PDFs, scans and photographs, with per-field confidence.
  • Cited answers: hybrid retrieval over your documents; answers carry document, page and score.
  • Governed agents: planning, tool calling, orchestration and memory, with per-tool permissions and approval checkpoints.
  • Document operations: classify, split, convert and permanently redact under human review.
  • Vision, speech and embeddings: multimodal chat, local transcription, embedding models for search.

Extract fields from an invoice

using LMKit.Data;
using LMKit.Extraction;
using LMKit.Model;

var model     = LM.LoadFromModelID("qwen3.5:4b");
var extractor = new TextExtraction(model);

extractor.Elements = new List<TextExtractionElement>
{
    new("invoice_number", ElementType.String),
    new("invoice_date",   ElementType.Date),
    new("total_amount",   ElementType.Double),
};

extractor.SetContent(new Attachment("invoice.pdf"));
var data = extractor.Parse();

Console.WriteLine(data.Json);
Console.WriteLine(data.GetConfidence("total_amount"));

Put a governed agent to work

using LMKit.Agents;
using LMKit.Agents.Tools.BuiltIn;
using LMKit.Model;

var model = LM.LoadFromModelID("qwen3.5:9b");
var agent = Agent.CreateBuilder(model)
    .WithTools(t =>
    {
        t.Register(BuiltInTools.WebSearch);
        t.Register(BuiltInTools.CalcArithmetic);
    })
    .Build();

var result = await agent.RunAsync(
    "Current BTC price in EUR, rounded to the nearest euro?");

Console.WriteLine(result.Text);

Runs on

  • .NET Standard 2.0, .NET 8, 9 and 10
  • Windows, Linux x64 and ARM64, macOS
  • CPU out of the box; CUDA 12/13, Vulkan and Metal are used when present

Models download once and cache locally: chat, vision, OCR, embedding and speech families, plus your own fine-tunes.

The engine underneath

Dynamic Sampling, LM-Kit's adaptive inference layer, is why small local models hold their own on extraction, classification and structured generation: grammar-constrained output always parses, and it works on any supported model as shipped, including your fine-tunes.

Two ways to run the same engine

  • Embed it with this package, in process, from C# or VB.NET.
  • Deploy LM-Kit One, a private AI server with HTTP APIs and governed MCP tools, so AI assistants can use your document capabilities without reaching your files.

Free for small teams, commercial licensing above that line: licensing.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on LM-Kit.NET:

Package Downloads
LM-Kit.NET.Data.Connectors.Qdrant

LM-Kit.NET.Data.Connectors.Qdrant acts as a seamless integration bridge between LM-Kit.NET and Qdrant vector databases.

LM-Kit.NET.SemanticKernel

LM-Kit.NET.SemanticKernel acts as a seamless integration bridge between LM-Kit.NET and Microsoft Semantic Kernel.

LM-Kit.NET.ExtensionsAI

LM-Kit.NET.ExtensionsAI provides Microsoft.Extensions.AI integration for LM-Kit.NET, implementing IChatClient and IEmbeddingGenerator for local LLM inference through the standard .NET AI abstraction layer.

LM-Kit.NET.Data.Connectors.PgVector

LM-Kit.NET.Data.Connectors.PgVector acts as a seamless integration bridge between LM-Kit.NET and PostgreSQL databases using the pgvector extension.

Peak.Abp.Silver.LMKit

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.8.5 18 8/19/2026
2026.8.4 77 8/18/2026
2026.8.3 106 8/13/2026
2026.8.2 335 8/7/2026
2026.8.1 177 8/2/2026
2026.7.4 764 7/22/2026
2026.7.3 244 7/17/2026
2026.7.2 235 7/9/2026
2026.7.1 231 7/1/2026
2026.6.4 244 6/22/2026
2026.6.3 287 6/15/2026
2026.6.2 181 6/9/2026
2026.6.1 141 6/8/2026
2026.5.6 340 5/31/2026
2026.5.5 199 5/28/2026
2026.5.4 185 5/24/2026
2026.5.3 392 5/18/2026
2026.5.2 323 5/10/2026
2026.5.1 204 5/6/2026
2026.4.4 377 4/23/2026
Loading failed