Qavren.Edge.Chat.Onnx
1.0.0
Prefix Reserved
dotnet add package Qavren.Edge.Chat.Onnx --version 1.0.0
NuGet\Install-Package Qavren.Edge.Chat.Onnx -Version 1.0.0
<PackageReference Include="Qavren.Edge.Chat.Onnx" Version="1.0.0" />
<PackageVersion Include="Qavren.Edge.Chat.Onnx" Version="1.0.0" />
<PackageReference Include="Qavren.Edge.Chat.Onnx" />
paket add Qavren.Edge.Chat.Onnx --version 1.0.0
#r "nuget: Qavren.Edge.Chat.Onnx, 1.0.0"
#:package Qavren.Edge.Chat.Onnx@1.0.0
#addin nuget:?package=Qavren.Edge.Chat.Onnx&version=1.0.0
#tool nuget:?package=Qavren.Edge.Chat.Onnx&version=1.0.0
Qavren.Edge.Chat.Onnx
An on-device Microsoft.Extensions.AI IChatClient over ONNX Runtime GenAI (sub-project 4).
Presets with pinned SHA-256 digests (ChatPresets.Llama32_1BInstructInt4,
ChatPresets.Qwen3_600MInt4), consent-gated provisioning, a KV-cache-aware context budget
with a ladder for small phones, thermally paced streaming, cooperative termination under memory
pressure, a conversation cache, and history reduction with pinning. Error codes 7000-7299.
dotnet add package Qavren.Edge.Chat.Onnx
builder.UseQavrenEdge(edge => edge
.UseSqliteNative()
.AddSqlite(o => o.DatabaseName = "notes.db")
.AddOnnxChat(ChatPresets.Llama32_1BInstructInt4));
var chat = sp.GetRequiredService<IChatClient>();
await foreach (var update in chat.GetStreamingResponseAsync("summarise my week"))
Console.Write(update.Text);
There is no default preset and nothing downloads implicitly. Turns serialise behind one gate per
model (the GenAI C API is not thread safe); a fifth queued turn is refused with ChatBusy. On iOS,
a multi-GB model needs two entitlements in the consuming app:
com.apple.developer.kernel.increased-memory-limit and
com.apple.developer.kernel.extended-virtual-addressing. No Windows TFM: GenAI ships no Windows
platform asset (the net10.0 build covers desktop).
Sub-project README: chat/README.md. MIT licensed. https://github.com/qavren-oss/qavren-edge
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.ML.OnnxRuntimeGenAI (>= 0.15.2)
- Qavren.Edge.Onnx (>= 1.0.0)
-
net10.0-android36.0
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.ML.OnnxRuntimeGenAI (>= 0.15.2)
- Qavren.Edge.Onnx (>= 1.0.0)
-
net10.0-ios26.0
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.ML.OnnxRuntimeGenAI (>= 0.15.2)
- Qavren.Edge.Onnx (>= 1.0.0)
-
net10.0-maccatalyst26.0
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.ML.OnnxRuntimeGenAI (>= 0.15.2)
- Qavren.Edge.Onnx (>= 1.0.0)
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 |
|---|---|---|
| 1.0.0 | 480 | 9/25/2026 |
| 1.0.0-rc.1 | 74 | 9/24/2026 |
| 0.1.0-preview.1 | 79 | 9/13/2026 |