redb.Route.Llm.Abstractions
4.7.2
Prefix Reserved
dotnet add package redb.Route.Llm.Abstractions --version 4.7.2
NuGet\Install-Package redb.Route.Llm.Abstractions -Version 4.7.2
<PackageReference Include="redb.Route.Llm.Abstractions" Version="4.7.2" />
<PackageVersion Include="redb.Route.Llm.Abstractions" Version="4.7.2" />
<PackageReference Include="redb.Route.Llm.Abstractions" />
paket add redb.Route.Llm.Abstractions --version 4.7.2
#r "nuget: redb.Route.Llm.Abstractions, 4.7.2"
#:package redb.Route.Llm.Abstractions@4.7.2
#addin nuget:?package=redb.Route.Llm.Abstractions&version=4.7.2
#tool nuget:?package=redb.Route.Llm.Abstractions&version=4.7.2
redb.Route.Llm.Abstractions
Contracts package for the redb.Route.Llm tool surface. Apache 2.0.
Holds the declarative types every redb.Route LLM tool author needs, without pulling the provider engine, HttpClient, or Anthropic/OpenAI SDK code.
What's in this package
| Type | Role |
|---|---|
LlmToolCapability |
Tool metadata exposed to the model (name, description, input schema). |
LlmToolSafety |
Governance metadata — side-effect, cost, caching, approval, claims. |
ToolSideEffect, ToolCostClass, ToolCachingPolicy |
Enums used by LlmToolSafety. |
ILlmToolDescriptor |
The contract a tool implements: capability + endpoint URI builder. |
IToolDescriptorRegistry |
Registry of ILlmToolDescriptor resolved by tool name. |
[ExposeAsLlmTool] |
Attribute that adorns handler classes / methods to declare their tool surface. |
Why a separate package
- The LLM engine (
redb.Route.Llm) is heavy: HTTP transport, SSE parsers, Anthropic / OpenAI providers, governance, conversation persistence. - The contracts are tiny: a handful of POCOs, an interface, and an attribute.
A connector or third-party tool author who wants to declare an
ILlmToolDescriptor can take a dependency on this package without inheriting
the entire engine surface.
Dispatch model
ILlmToolDescriptor is declarative + URI-building, not self-executing.
The engine in redb.Route.Llm resolves the descriptor, calls
BuildEndpointUri(inputJson, parentExchange), then dispatches via
IProducerTemplate.RequestBody(endpointUri, message). Every tool runs as a
redb.Route exchange — gets the parent's transaction scope, headers, principal,
and DI scope for free.
| Product | Versions 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 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. |
-
net10.0
- JsonPath.Net (>= 2.2.0)
- JsonSchema.Net (>= 7.3.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- redb.Route (>= 4.7.2)
-
net8.0
- JsonPath.Net (>= 2.2.0)
- JsonSchema.Net (>= 7.3.4)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- redb.Route (>= 4.7.2)
-
net9.0
- JsonPath.Net (>= 2.2.0)
- JsonSchema.Net (>= 7.3.4)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- redb.Route (>= 4.7.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on redb.Route.Llm.Abstractions:
| Package | Downloads |
|---|---|
|
redb.Route.Llm
Industrial LLM connector for redb.Route ESB framework. Provider-agnostic agent engine, tool-loop with governance (budget, shadow, idempotency, approval), conversation persistence via redb-engine, native EIP integration. See doc/PLAN.md. |
|
|
redb.Route.Llm.Tools
Batteries-included LLM tools for redb.Route.Llm. Reference implementations of common agent tools (HttpFetch, ShellExec, Fs, Calc) built directly on .NET BCL APIs — no redb.Route connector dependencies. Each tool is a route + descriptor pair registered via the .AsLlmTool(...) DSL. Optional package — host applications opt in by referencing it. |
|
|
redb.Route.Llm.Mcp
MCP (Model Context Protocol) client connector for redb.Route.Llm. Spawns external MCP servers (stdio + HTTP+SSE), discovers their tools via tools/list, and registers them as ILlmToolDescriptor entries so the agent picks them up like any native tool. Inherits redb.Route audit/governance/observability for free. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.7.2 | 49 | 11/13/2026 |
| 4.7.1 | 105 | 11/11/2026 |
| 4.7.0 | 174 | 11/7/2026 |
| 4.6.2 | 154 | 11/5/2026 |
| 4.6.1 | 161 | 11/4/2026 |
| 4.6.0 | 147 | 11/3/2026 |
| 4.5.1 | 162 | 10/30/2026 |
| 4.5.0 | 147 | 10/29/2026 |
| 4.4.2 | 163 | 10/23/2026 |
| 4.4.1 | 162 | 10/21/2026 |
| 4.3.0 | 162 | 10/14/2026 |
| 4.2.3 | 161 | 10/8/2026 |
| 4.2.2 | 167 | 10/5/2026 |
| 4.2.0 | 162 | 9/30/2026 |
| 4.1.1 | 169 | 9/25/2026 |
| 4.1.0 | 166 | 9/21/2026 |
| 4.0.1 | 164 | 9/18/2026 |
| 4.0.0 | 169 | 9/11/2026 |
| 3.7.2 | 176 | 8/26/2026 |