redb.Route.Llm.Abstractions
3.1.0
Prefix Reserved
dotnet add package redb.Route.Llm.Abstractions --version 3.1.0
NuGet\Install-Package redb.Route.Llm.Abstractions -Version 3.1.0
<PackageReference Include="redb.Route.Llm.Abstractions" Version="3.1.0" />
<PackageVersion Include="redb.Route.Llm.Abstractions" Version="3.1.0" />
<PackageReference Include="redb.Route.Llm.Abstractions" />
paket add redb.Route.Llm.Abstractions --version 3.1.0
#r "nuget: redb.Route.Llm.Abstractions, 3.1.0"
#:package redb.Route.Llm.Abstractions@3.1.0
#addin nuget:?package=redb.Route.Llm.Abstractions&version=3.1.0
#tool nuget:?package=redb.Route.Llm.Abstractions&version=3.1.0
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
- redb.Route (>= 3.1.0)
-
net8.0
- redb.Route (>= 3.1.0)
-
net9.0
- redb.Route (>= 3.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on redb.Route.Llm.Abstractions:
| Package | Downloads |
|---|---|
|
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
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.0 | 100 | 6/6/2026 |