LNS.AI.Routing
1.0.0-rc.1
This is a prerelease version of LNS.AI.Routing.
dotnet add package LNS.AI.Routing --version 1.0.0-rc.1
NuGet\Install-Package LNS.AI.Routing -Version 1.0.0-rc.1
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="LNS.AI.Routing" Version="1.0.0-rc.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LNS.AI.Routing" Version="1.0.0-rc.1" />
<PackageReference Include="LNS.AI.Routing" />
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 LNS.AI.Routing --version 1.0.0-rc.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LNS.AI.Routing, 1.0.0-rc.1"
#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 LNS.AI.Routing@1.0.0-rc.1
#: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=LNS.AI.Routing&version=1.0.0-rc.1&prerelease
#tool nuget:?package=LNS.AI.Routing&version=1.0.0-rc.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LNS.AI.Routing
Intelligent provider routing for LNS.AI. Owns provider selection only — execution remains in LNS.AI.Providers.
Usage
services
.AddAgents(configuration)
.UsePipeline()
.UseRouting(options =>
{
options.Strategy = RoutingStrategy.LowestLatency;
options.Failover = true;
options.PreferredProviders = ["groq", "openai"];
options.FallbackProviders = ["anthropic"];
})
.UseOpenAI()
.AddAgent<MyAgent>()
.Build();
Configuration
"Routing": {
"Strategy": "LowestLatency",
"Failover": true,
"PreferredProviders": ["groq", "openai", "mistral"],
"FallbackProviders": ["anthropic", "azure-ai-foundry"]
}
| Product | Versions 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.
-
net10.0
- LNS.AI.Abstractions (>= 1.0.0-rc.1)
- LNS.AI.Core (>= 1.0.0-rc.1)
- LNS.AI.Observability (>= 1.0.0-rc.1)
- LNS.AI.Pipeline (>= 1.0.0-rc.1)
- LNS.AI.Protocols (>= 1.0.0-rc.1)
- LNS.AI.Providers (>= 1.0.0-rc.1)
- Microsoft.Extensions.DependencyInjection (>= 10.0.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options (>= 10.0.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on LNS.AI.Routing:
| Package | Downloads |
|---|---|
|
LNS.AI.Orchestration
Multi-provider orchestration and ensemble execution for LNS.AI. |
|
|
LNS.AI.Hosting
Composition root and hosting infrastructure for LNS.AI. |
|
|
LNS.AI.HealthChecks
ASP.NET Core health checks for LNS.AI hosting configuration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-rc.1 | 106 | 7/21/2026 |
| 1.0.0-preview.1 | 102 | 7/17/2026 |