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
                    
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="redb.Route.Llm.Abstractions" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="redb.Route.Llm.Abstractions" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="redb.Route.Llm.Abstractions" />
                    
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 redb.Route.Llm.Abstractions --version 3.1.0
                    
#r "nuget: redb.Route.Llm.Abstractions, 3.1.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 redb.Route.Llm.Abstractions@3.1.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=redb.Route.Llm.Abstractions&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=redb.Route.Llm.Abstractions&version=3.1.0
                    
Install as a Cake Tool

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

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