ElBruno.AI.Decisions 0.8.0

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

ElBruno.AI.Decisions

Provider-neutral .NET 10 abstractions for decision models. Use one IDecisionClient API to Choose a label, Score against an ordered rubric, or Assess a proposition. Results preserve probabilities and provider confidence; neither is a guarantee of correctness.

dotnet add package ElBruno.AI.Decisions --version 0.8.0

This package contains abstractions and DecisionRoutingChatClient, not a model or an HTTP provider. Install the provider that matches your deployment:

Provider Package Service
Foundry ElBruno.AI.Decisions.Foundry Microsoft-Decision-1
Ollama ElBruno.AI.Decisions.Ollama Local System One decision models
Jev ElBruno.AI.Decisions.Jev TypeSafe AI Jev

Shared API example

The application supplies an IDecisionClient from one of those providers:

using ElBruno.AI.Decisions;

static async Task<string> RouteAsync(IDecisionClient client, string request)
{
    var teams = new Dictionary<string, string?>
    {
        ["billing"] = "Invoices and payments",
        ["support"] = "Technical problems"
    };
    var result = await client.ChooseAsync(
        request, "Which team should handle this request?", teams);
    return result.Choice;
}

For example, "Please correct my invoice." may return billing. Actual results depend on the provider, model and input.

Provider-reported usage

All three result types expose optional Usage (DecisionUsage) with nullable InputTokens, OutputTokens, TotalTokens, ReasoningTokens and CachedTokens. Missing usage is null; missing fields are null, while reported zero stays zero. TotalTokens is only a provider-reported total, never input plus output. Foundry and Ollama preserve native System One usage; the Jev adapter preserves native Jev usage. Availability depends on the endpoint and model. Token counts across models do not imply equivalent computation or cost. See usage semantics.

Tentative early access: evaluate before production use. Foundry Choice, Score and Assess passed a live API-key smoke test. Published Ollama 0.6.2 passed a live Choice, Score and Assess smoke test with nimble on Ollama 0.35.1 on October 13, 2026. Other Ollama models and live Jev compatibility remain unverified. These checks do not establish calibration or production readiness. APIs may change before 1.0.

Repository and quickstarts | Use cases and response examples | Configuration

Product Compatible and additional computed target framework versions.
.NET 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.AI.Decisions:

Package Downloads
ElBruno.AI.Decisions.Foundry

Typed text and image decisions on Microsoft Foundry: Microsoft-Decision-1 through SystemOne and gpt-6-luna through the Azure OpenAI Decisions API.

ElBruno.LocalLLMs.Decisions

Local System One decision models for ElBruno.LocalLLMs. Typed choice, score and yes/no decisions with probabilities in a single forward pass, running fully in-process on ONNX Runtime with no server and no Python.

ElBruno.AI.Decisions.Ollama

Local System One decision models for ElBruno.AI.Decisions through Ollama v0.35.0 or later: native Choice, Score, and Assess probabilities. Confidence is not calibrated correctness. Tentative early access.

ElBruno.AI.Decisions.Jev

Tentative early-access .NET 10 client for TypeSafe AI Jev and local Laya typed decisions: Choice, Score, Noul, model discovery, and Microsoft.Extensions.AI tools, routing and assessments. Live TypeSafe compatibility is unverified; evaluate before production use.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 163 11/3/2026
0.7.0 200 10/26/2026
0.6.3 184 10/14/2026
0.6.2 233 10/10/2026
0.6.1 144 10/9/2026
0.6.0 149 10/9/2026

Tentative early-access SDK 0.8.0. Live Jev compatibility is unverified. Evaluate before production use. See https://github.com/elbruno/ElBruno.AI.Decisions/releases.