ElBruno.LocalLLMs 0.20.8

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

ElBruno.LocalLLMs

NuGet NuGet Downloads Build Status License: MIT HuggingFace .NET GitHub stars Twitter Follow

Run local LLMs in .NET through IChatClient ๐Ÿง 

Run local LLMs in .NET through IChatClient โ€” the same interface you'd use for Azure OpenAI, Ollama, or any other provider. Powered by ONNX Runtime GenAI and BitNet.

What's New

  • ๐Ÿงฉ ElBruno.LocalLLMs.BlazorComponents โ€” new Razor Class Library with 7 ready-to-use Blazor components: ModelStatusCard (download progress bar + actions), ModelGallery (filterable grid), ModelSelector (two-way-bindable dropdown), ChatBox (streaming token display), EnvironmentDashboard (CPU/CUDA/DirectML badges), LocalLLMHealthBadge (nav-bar status dot), and RagPlayground. Call services.AddLocalLLMsBlazorComponents() to register. See the Blazor Components Guide and the BlazorDemo sample.
  • ๐Ÿ“ฆ 9 more models now support auto-download (v0.20.4) โ€” StableLM-2-1.6B-Chat, Gemma-4-E2B-IT, Gemma-4-E4B-IT, Gemma-4-12B-IT, Gemma-4-26B-A4B-IT, Gemma-4-31B-IT, Mixtral-8x7B-Instruct-v0.1, DeepSeek-R1-Distill-Llama-70B, and Command-R (35B) are now HasNativeOnnx=true with ONNX weights hosted at elbruno/*-onnx on HuggingFace. Set EnsureModelDownloaded = true to auto-download.
  • ๐Ÿ” ModelDefinition.IsVisionCapable โ€” new computed property. Consumer apps can now check model.IsVisionCapable instead of comparing ModelType == OnnxModelType.VisionGenAI. Fara1.5-9B returns true; all text models return false.
  • ๐Ÿ›‘ Fail-fast for non-downloadable models โ€” OptionsValidator now throws an InvalidOperationException with actionable text when EnsureModelDownloaded = true is paired with a model that has HasNativeOnnx = false and no ModelPath. Eliminates the confusing "auto-download enabled" UX that previously gave no guidance.
  • ๐Ÿ“„ Auto-download guide โ€” new doc covering the auto-download flow, cache path, vision model usage, and first-run examples for MagenticBrain and Fara.
  • ๐Ÿ“‹ ListCachedModels() + GetModelCacheSize(model) โ€” new cache inspection APIs on both LocalChatClient and LocalVisionChatClient. List all cached model directories with sizes, or get the byte count for a specific model. Delegates to ElBruno.HuggingFace.Downloader 1.4.4.
  • ๐Ÿ—‘๏ธ DeleteModelFromCacheAsync โ€” now delegates to HuggingFaceDownloader.DeleteCachedFilesAsync (was a direct Directory.Delete). Available on both LocalChatClient and LocalVisionChatClient.
  • ๐Ÿค– MagenticBrain + Fara native ONNX ready โ€” Both published ONNX repos now auto-download via EnsureModelDownloaded = true. Fara uses the validated multimodal package produced by scripts/convert_fara_multimodal.py.
  • ๐Ÿ‘๏ธ LocalVisionChatClient auto-download โ€” Vision models with HasNativeOnnx=true now download automatically, just like text models.
  • ๐Ÿงช E2E lifecycle tests for all 35 models โ€” 3-phase lifecycle (download โ†’ cache hit โ†’ delete) with automated markdown reports written to docs/tests/ after each run. Phases 1 and 3 also assert cache size and list membership.
  • ๐Ÿ“ฆ Transitive native runtime fix (v0.20.1) โ€” buildTransitive packaging so onnxruntime-genai.dll is copied for downstream consumers (Issue #24).
  • ๐Ÿค– Qwen3 & MagenticBrain support (v0.20.0) โ€” New ChatTemplateFormat.Qwen3 formatter and KnownModels.Qwen3_14BInstruct for agentic multi-agent orchestration loops.
  • ๐Ÿ‘๏ธ Fara 1.5-9B vision-language model (v0.20.0) โ€” Run Microsoft's Fara VLM locally via the new LocalVisionChatClient, IVisionGenerationModel, and VisionChatOptions with image paths.
  • ๐ŸŒ ElBruno.MagenticUI reference app โ€” Full Blazor Server multi-agent app (FileSurfer, WebFetcher, Coder, UserProxy) powered by this library.
  • ๐Ÿ“ก OpenTelemetry diagnostics (v0.19.0) โ€” Generation lifecycle activities and metrics (gen_ai.client.*) via ActivitySource + Meter both named ElBruno.LocalLLMs.
  • โœ… Gemma 4 family active โ€” E2B, E4B, 12B Unified, 26B-A4B, 31B all supported.
  • โฌ†๏ธ ONNX Runtime GenAI 0.14.1 โ€” upgraded across library, tests, samples, and benchmarks.

Features

  • ๐Ÿงฉ Blazor components โ€” ModelStatusCard, ChatBox, ModelGallery, ModelSelector, EnvironmentDashboard, LocalLLMHealthBadge, RagPlayground via ElBruno.LocalLLMs.BlazorComponents (guide)
  • ๐Ÿ”Œ IChatClient implementation โ€” seamless integration with Microsoft.Extensions.AI
  • ๐Ÿ“ฆ Automatic model download โ€” models are fetched from HuggingFace on first use
  • ๐Ÿš€ Zero friction โ€” works out of the box with sensible defaults (Phi-3.5 mini)
  • ๐Ÿ–ฅ๏ธ Multi-hardware โ€” CPU, CUDA, and DirectML execution providers
  • ๐Ÿ’‰ DI-friendly โ€” register with AddLocalLLMs() or AddBitNetChatClient() in ASP.NET Core
  • ๐Ÿ”„ Streaming โ€” token-by-token streaming via GetStreamingResponseAsync
  • ๐Ÿ“Š Multi-model โ€” switch between Phi-3.5, Phi-4, Qwen2.5, Qwen3, Llama 3.2, MagenticBrain, and more
  • ๐Ÿ‘๏ธ Vision-language models โ€” run Fara 1.5-9B image+text models via LocalVisionChatClient
  • ๐Ÿค– Agentic models โ€” Qwen3 / MagenticBrain support for multi-agent orchestration loops
  • ๐ŸŽฏ Fine-tuned models โ€” pre-trained Qwen2.5 variants for tool calling and RAG (guide)
  • โšก BitNet support โ€” run 1.58-bit ternary models via bitnet.cpp with extreme efficiency (guide)
  • ๐Ÿ“ˆ OpenTelemetry diagnostics โ€” lifecycle activities and metrics for queued, first-token, completion, cancellation, and failure (guide)

Packages

Package NuGet Downloads Description
ElBruno.LocalLLMs NuGet Downloads Core library โ€” ONNX Runtime GenAI models via IChatClient
ElBruno.LocalLLMs.Rag NuGet Downloads RAG pipeline โ€” document chunking, indexing, retrieval
ElBruno.LocalLLMs.BitNet NuGet Downloads BitNet 1.58-bit models via bitnet.cpp + IChatClient
ElBruno.LocalLLMs.BlazorComponents NuGet Downloads Blazor components โ€” ModelStatusCard, ChatBox, ModelGallery, and more

Installation

dotnet add package ElBruno.LocalLLMs

For CPU scenarios, no extra package is required โ€” the transitive buildTransitive shim copies onnxruntime-genai.dll automatically on Windows.

Add a runtime package only when you want a specific GPU provider:

# ๐ŸŸข NVIDIA GPU (CUDA):
dotnet add package Microsoft.ML.OnnxRuntimeGenAI.Cuda

# ๐Ÿ”ต Any Windows GPU โ€” AMD, Intel, NVIDIA (DirectML):
dotnet add package Microsoft.ML.OnnxRuntimeGenAI.DirectML

โš ๏ธ Add at most one GPU runtime package. Do not reference both Microsoft.ML.OnnxRuntimeGenAI.Cuda and Microsoft.ML.OnnxRuntimeGenAI.DirectML simultaneously.

If you use a GPU runtime package and want to disable the transitive CPU copy shim, set: <ElBrunoLocalLLMsDisableCpuNativeCopy>true</ElBrunoLocalLLMsDisableCpuNativeCopy> in your application .csproj.

๐Ÿš€ The library defaults to ExecutionProvider.Auto โ€” it tries GPU first and falls back to CPU automatically. No code changes needed.

Quick Start

using ElBruno.LocalLLMs;
using Microsoft.Extensions.AI;

// Create a local chat client (downloads Phi-3.5 mini on first run)
using var client = await LocalChatClient.CreateAsync();

var response = await client.GetResponseAsync([
    new(ChatRole.User, "What is the capital of France?")
]);

Console.WriteLine(response.Text);

First Run

The first time you create a LocalChatClient, the model is downloaded from HuggingFace to your local cache directory (~2-4 GB). This typically takes 30-60 seconds depending on your internet connection.

Track download progress:

using var client = await LocalChatClient.CreateAsync(
    new LocalLLMsOptions { Model = KnownModels.Phi35MiniInstruct },
    progress: new Progress<ModelDownloadProgress>(p =>
    {
        var percent = (p.BytesDownloaded * 100) / p.TotalBytes;
        Console.WriteLine($"{p.FileName}: {percent:F1}%");
    })
);

Subsequent runs load instantly from cache (%LOCALAPPDATA%/ElBruno/LocalLLMs/models).

Skip auto-download if using a pre-downloaded model:

var options = new LocalLLMsOptions
{
    Model = KnownModels.Phi35MiniInstruct,
    ModelPath = "/path/to/local/model",
    EnsureModelDownloaded = false
};
using var client = await LocalChatClient.CreateAsync(options);

Streaming

using ElBruno.LocalLLMs;
using Microsoft.Extensions.AI;

using var client = await LocalChatClient.CreateAsync(new LocalLLMsOptions
{
    Model = KnownModels.Phi35MiniInstruct
});

await foreach (var update in client.GetStreamingResponseAsync([
    new(ChatRole.System, "You are a helpful assistant."),
    new(ChatRole.User, "Explain quantum computing in simple terms.")
]))
{
    Console.Write(update.Text);
}

GPU Acceleration

By default, ExecutionProvider.Auto tries GPU first (CUDA โ†’ DirectML) and falls back to CPU automatically:

// Use explicit GPU provider (fails if CUDA not installed; use Auto to fallback to CPU)
var options = new LocalLLMsOptions
{
    ExecutionProvider = ExecutionProvider.Cuda
};

// Multi-GPU systems: select device ID
var options2 = new LocalLLMsOptions
{
    ExecutionProvider = ExecutionProvider.Cuda,
    GpuDeviceId = 1  // Use second GPU
};

Auto fallback behavior:

  • CUDA available โ†’ uses NVIDIA GPU
  • CUDA unavailable, DirectML available โ†’ uses AMD/Intel Arc GPU
  • GPU unavailable โ†’ falls back to CPU (no errors, just slower)

See Troubleshooting: GPU Setup for debugging GPU issues.

Model Metadata

Inspect model capabilities at runtime โ€” context window size, model name, and vocabulary:

using var client = await LocalChatClient.CreateAsync();

var metadata = client.ModelInfo;
Console.WriteLine($"Model:          {metadata?.ModelName}");
Console.WriteLine($"Context window: {metadata?.MaxSequenceLength}");
Console.WriteLine($"Vocab size:     {metadata?.VocabSize}");

This is useful for prompt-length validation, adaptive chunking, and model selection logic.

Dependency Injection

builder.Services.AddLocalLLMs(options =>
{
    options.Model = KnownModels.Phi35MiniInstruct;
    options.ExecutionProvider = ExecutionProvider.DirectML;
});

// Inject IChatClient anywhere
public class MyService(IChatClient chatClient) { ... }

Error Handling

The library provides structured exception types for graceful error handling:

using ElBruno.LocalLLMs;
using Microsoft.Extensions.AI;

try
{
    using var client = await LocalChatClient.CreateAsync();
    var response = await client.GetResponseAsync([
        new(ChatRole.User, "Your question here")
    ]);
}
catch (ExecutionProviderException ex)
{
    // GPU/provider-specific error (no CUDA, DirectML not available, etc.)
    Console.WriteLine($"Provider error: {ex.Message}");
}
catch (ModelCapacityExceededException ex)
{
    // Prompt/response too long for model's context window
    Console.WriteLine($"Capacity error: {ex.Message}");
    // Solution: use a larger model or truncate the prompt
}
catch (InvalidOperationException ex)
{
    // General operation error (model not found, download failed, etc.)
    Console.WriteLine($"Operation error: {ex.Message}");
}

Observability

LocalChatClient emits generation lifecycle diagnostics through ActivitySource and Meter, both named ElBruno.LocalLLMs.

using ElBruno.LocalLLMs.Diagnostics;

builder.Services.AddOpenTelemetry()
    .WithTracing(tracing => tracing.AddSource(LocalLLMsInstrumentation.ActivitySourceName))
    .WithMetrics(metrics => metrics.AddMeter(LocalLLMsInstrumentation.MeterName));

By default, telemetry excludes prompt and completion text. Opt in only when you want content attached:

var options = new LocalLLMsOptions
{
    CaptureTelemetryContent = true
};

See docs/observability.md for the lifecycle event contract, metric names, and Aspire wiring notes, and docs/cancellation.md for voice barge-in cancellation behavior.

Cache Management

Inspect and manage the local model cache programmatically:

// Remove a model from the cache (no-op if not cached)
await LocalChatClient.DeleteModelFromCacheAsync(KnownModels.Phi35MiniInstruct);

// Or use a custom cache directory
await LocalChatClient.DeleteModelFromCacheAsync(
    KnownModels.Phi35MiniInstruct,
    cacheDirectory: @"D:\my-models");

// Get cached size in bytes for one model (0 if not downloaded)
long bytes = LocalChatClient.GetModelCacheSize(KnownModels.Phi35MiniInstruct);
Console.WriteLine($"Cached: {bytes / 1024 / 1024:N0} MB");

// List all cached models with size and last-modified date
var cached = LocalChatClient.ListCachedModels();
foreach (var repo in cached)
    Console.WriteLine($"{repo.LocalDirectory}  {repo.TotalSizeBytes / 1024 / 1024:N0} MB  {repo.LastModified:yyyy-MM-dd}");

// Same APIs available on LocalVisionChatClient for vision models
await LocalVisionChatClient.DeleteModelFromCacheAsync(KnownModels.Fara15_9B);
long visionBytes = LocalVisionChatClient.GetModelCacheSize(KnownModels.Fara15_9B);

The default cache directory is %LOCALAPPDATA%/ElBruno/LocalLLMs/models (Windows) or ~/.local/share/ElBruno/LocalLLMs/models (Linux/macOS).

These operations delegate to ElBruno.HuggingFace.Downloader which provides the underlying DeleteCachedFilesAsync, GetCachedSize, and ListCachedRepos implementation.

Troubleshooting

GPU not working? Use ExecutionProvider.Cpu explicitly. See GPU Setup Validation.

Out of memory? Try a smaller model:

var options = new LocalLLMsOptions
{
    Model = KnownModels.Qwen25_05BInstruct  // 0.5B instead of 3.8B
};

Model download fails?

  • Check your internet connection
  • For private HuggingFace models, set the HF_TOKEN environment variable

For detailed troubleshooting, see docs/troubleshooting-guide.md.

Supported Models

Tier Model Parameters ONNX ID
โšช Tiny TinyLlama-1.1B-Chat 1.1B โœ… Native tinyllama-1.1b-chat
โšช Tiny SmolLM2-1.7B-Instruct 1.7B โœ… Native smollm2-1.7b-instruct
โšช Tiny Qwen2.5-0.5B-Instruct 0.5B โœ… Native qwen2.5-0.5b-instruct
โšช Tiny Qwen2.5-1.5B-Instruct 1.5B โœ… Native qwen2.5-1.5b-instruct
โšช Tiny Gemma-2B-IT 2B โœ… Native gemma-2b-it
โšช Tiny Gemma-4-E2B-IT 5.1B (2B active) โœ… Native gemma-4-e2b-it
โšช Tiny StableLM-2-1.6B-Chat 1.6B โœ… Native stablelm-2-1.6b-chat
๐ŸŸข Small Phi-3.5 mini instruct 3.8B โœ… Native phi-3.5-mini-instruct
๐ŸŸข Small Qwen2.5-3B-Instruct 3B โœ… Native qwen2.5-3b-instruct
๐ŸŸข Small Llama-3.2-3B-Instruct 3B โœ… Native llama-3.2-3b-instruct
๐ŸŸข Small Gemma-2-2B-IT 2B โœ… Native gemma-2-2b-it
๐ŸŸข Small Gemma-4-E4B-IT 8B (4B active) โœ… Native gemma-4-e4b-it
๐ŸŸก Medium Qwen2.5-7B-Instruct 7B โœ… Native qwen2.5-7b-instruct
๐ŸŸก Medium Qwen2.5-Coder-7B-Instruct 7B โœ… Native qwen2.5-coder-7b-instruct
๐ŸŸก Medium Llama-3.1-8B-Instruct 8B โœ… Native llama-3.1-8b-instruct
๐ŸŸก Medium Mistral-7B-Instruct-v0.3 7B โœ… Native mistral-7b-instruct-v0.3
๐ŸŸก Medium Gemma-2-9B-IT 9B โœ… Native gemma-2-9b-it
๐ŸŸก Medium Gemma-4-12B-IT 12B โœ… Native gemma-4-12b-it
๐ŸŸก Medium Phi-4 14B โœ… Native phi-4
๐ŸŸก Medium DeepSeek-R1-Distill-Qwen-14B 14B โœ… Native deepseek-r1-distill-qwen-14b
๐ŸŸก Medium Mistral-Small-24B-Instruct 24B โœ… Native mistral-small-24b-instruct
๐Ÿ”ด Large Qwen2.5-14B-Instruct 14B โœ… Native qwen2.5-14b-instruct
๐Ÿ”ด Large Qwen2.5-32B-Instruct 32B โœ… Native qwen2.5-32b-instruct
๐Ÿ”ด Large Llama-3.3-70B-Instruct 70B โœ… ONNX llama-3.3-70b-instruct
๐Ÿ”ด Large Mixtral-8x7B-Instruct-v0.1 8x7B โœ… Native mixtral-8x7b-instruct-v0.1
๐Ÿ”ด Large DeepSeek-R1-Distill-Llama-70B 70B โœ… Native deepseek-r1-distill-llama-70b
๐Ÿ”ด Large Command-R (35B) 35B โœ… Native command-r-35b
๐Ÿ”ด Large Gemma-4-26B-A4B-IT 25.2B (3.8B active) โœ… Native gemma-4-26b-a4b-it
๐Ÿ”ด Large Gemma-4-31B-IT 30.7B โœ… Native gemma-4-31b-it
๐ŸŸฃ Next-Gen Qwen3-14B-Instruct 14.77B โœ… Native qwen3-14b-instruct
๐Ÿค– Agentic MagenticBrain ~14.77B โœ… Native magentic-brain
๐Ÿ‘๏ธ VLM Fara 1.5-9B ~9.4B โœ… Native fara-1.5-9b

๐Ÿ”„ Convert = Use the conversion scripts in scripts/ to export ONNX locally before running the model.

ยน MagenticBrain ONNX: Native ONNX hosted at elbruno/MagenticBrain-onnx (INT4 quantized). Auto-downloads when EnsureModelDownloaded=true.

ยฒ Fara 1.5-9B ONNX: elbruno/Fara1.5-9B-onnx now includes the validated multimodal package (qwen3vl-vision.onnx, qwen3vl-embedding.onnx, patched genai_config.json, and ORT-compatible processor_config.json). See ONNX Conversion โ€” Fara.

Fine-Tuned Models

Pre-trained variants optimized for specific tasks. A fine-tuned 0.5B model often matches or exceeds a base 1.5B on its specialized task.

Model Size Task HuggingFace ID
Qwen2.5-0.5B-ToolCalling ~1 GB Tool/function calling elbruno/Qwen2.5-0.5B-LocalLLMs-ToolCalling
Qwen2.5-0.5B-RAG ~1 GB RAG with citations elbruno/Qwen2.5-0.5B-LocalLLMs-RAG
Qwen2.5-0.5B-Instruct ~1 GB General-purpose elbruno/Qwen2.5-0.5B-LocalLLMs-Instruct

See the Supported Models Guide for detailed model cards, performance benchmarks, and selection guidance.

Samples

Sample Description
HelloChat Minimal console chat
StreamingChat Token-by-token streaming
MultiModelChat Switch models at runtime
DependencyInjection ASP.NET Core DI registration
ToolCallingAgent Function calling and tool use
FineTunedToolCalling Fine-tuned model for improved tool calling
RagChatbot RAG pipeline with document retrieval
ZeroCloudRag Zero-cloud RAG pipeline with real local embeddings and LLM inference
BitNetChat BitNet 1.58-bit model chat completion
BitNetPerformance Performance benchmark: BitNet vs ONNX models
MagenticBrainAgent Multi-agent orchestration loop using Qwen3/MagenticBrain
FaraVisionAgent Vision-language model (Fara 1.5-9B) image+text inference
MagenticUIServer ASP.NET Core + SignalR multi-agent server (FileSurfer, WebFetcher, Coder)
ConsoleAppDemo Interactive console application

๐ŸŒ Reference App: ElBruno.MagenticUI โ€” full Blazor Server port of microsoft/magentic-ui running locally with this library.

Requirements

  • .NET 8.0 or .NET 10.0
  • CPU (default), NVIDIA GPU (CUDA), or Windows GPU (DirectML)
  • ~2-8 GB disk space per model (depending on size and quantization)

Building from Source

git clone https://github.com/elbruno/ElBruno.LocalLLMs.git
cd ElBruno.LocalLLMs
dotnet restore ElBruno.LocalLLMs.slnx
dotnet build ElBruno.LocalLLMs.slnx
dotnet test ElBruno.LocalLLMs.slnx --framework net8.0

Run integration tests (downloads real models โ€” requires internet):

RUN_INTEGRATION_TESTS=true dotnet test ElBruno.LocalLLMs.slnx --framework net8.0

Integration tests validate the full lifecycle (download โ†’ infer โ†’ cache hit โ†’ delete) for all 35 supported models. See docs/tests/README.md for details.

Documentation

๐Ÿค Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.

๐Ÿ‘‹ About the Author

Hi! I'm ElBruno ๐Ÿงก, a passionate developer and content creator exploring AI, .NET, and modern development practices.

Made with โค๏ธ by ElBruno

If you like this project, consider following my work across platforms:

  • ๐Ÿ“ป Podcast: No Tienen Nombre โ€” Spanish-language episodes on AI, development, and tech culture
  • ๐Ÿ’ป Blog: ElBruno.com โ€” Deep dives on embeddings, RAG, .NET, and local AI
  • ๐Ÿ“บ YouTube: youtube.com/elbruno โ€” Demos, tutorials, and live coding
  • ๐Ÿ”— LinkedIn: @elbruno โ€” Professional updates and insights
  • ๐• Twitter: @elbruno โ€” Quick tips, releases, and tech news

๐Ÿ™ Acknowledgments

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ElBruno.LocalLLMs:

Package Downloads
ElBruno.LocalLLMs.Rag

RAG (Retrieval-Augmented Generation) pipeline for ElBruno.LocalLLMs. Provides document chunking, embedding storage, and semantic search.

ElBruno.LocalLLMs.BitNet

BitNet 1.58-bit LLM inference using bitnet.cpp. IChatClient implementation for Microsoft.Extensions.AI.

ElBruno.ModelContextProtocol.MCPToolRouter

Semantic routing for Model Context Protocol (MCP) tool definitions using local embeddings. Indexes MCP tools and returns the most relevant tools for a given prompt via vector search.

ElBruno.LocalLLMs.BlazorComponents

Blazor UI components for ElBruno.LocalLLMs โ€” model status cards, chat boxes, download management, environment diagnostics, RAG playground and more.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.8 0 8/1/2026
0.20.7 0 8/1/2026
0.20.6 0 8/1/2026
0.20.5 44 7/30/2026
0.20.4 76 7/29/2026
0.20.3 85 7/28/2026
0.20.1 133 7/24/2026
0.20.0 133 7/23/2026
0.19.1 159 7/3/2026
0.19.0 145 7/3/2026
0.18.0 176 6/5/2026
0.17.0 151 6/3/2026
0.16.0 218 4/17/2026
0.15.0 153 4/16/2026
0.11.0 160 4/4/2026
0.9.0 127 4/4/2026
0.7.2 240 3/28/2026
0.7.1 145 3/28/2026
0.7.0 129 3/28/2026
0.6.1 135 3/28/2026
Loading failed