Delibera.Redis
10.5.3
dotnet add package Delibera.Redis --version 10.5.3
NuGet\Install-Package Delibera.Redis -Version 10.5.3
<PackageReference Include="Delibera.Redis" Version="10.5.3" />
<PackageVersion Include="Delibera.Redis" Version="10.5.3" />
<PackageReference Include="Delibera.Redis" />
paket add Delibera.Redis --version 10.5.3
#r "nuget: Delibera.Redis, 10.5.3"
#:package Delibera.Redis@10.5.3
#addin nuget:?package=Delibera.Redis&version=10.5.3
#tool nuget:?package=Delibera.Redis&version=10.5.3
Delibera.Redis
Redis-backed distributed debate execution for Delibera.
A debate is a fan-out across several models and several rounds, which is exactly the shape that breaks on a single box: one worker dies mid-debate and the whole run is lost. This package moves round publication onto Redis Streams so any number of workers can pick up the same debate, survive each other's restarts, and share state.
What it gives you
RedisDebateOrchestrator— anIDebateOrchestratorthat publishes every completed round to a Redis Stream and reads them back as an async stream.DebateWorkerService— a background service that consumes debate work and streams results.RedisDebateCache— result caching backed by Redis, with TTLs.RedisOrchestratorExtensions/RedisOrchestratorOptions— DI wiring and connection settings.
Usage
using Delibera.Redis;
builder.Services.AddRedisDebateOrchestrator(options =>
{
options.ConnectionString = configuration["Redis:ConnectionString"];
options.StreamKeyPrefix = "delibera:rounds:";
options.StreamMaxLength = 10_000; // bounded, so a stream cannot grow without limit
});
Then pick it on the council:
var executor = new CouncilBuilder()
.AddMember("gpt-4o", providerA)
.AddMember("claude", providerB)
.WithOrchestrator(redisOrchestrator)
.Build();
Dependency
Depends on Delibera.Core and StackExchange.Redis. The package dependency is declared for you.
Notes
Streams are created with a max length, so a debate that produces more rounds than the cap keeps the newest events rather than growing Redis without bound. Key prefixes are configurable — do not run two deployments against one Redis instance without setting them.
Licence
MIT. See the repository root for details.
| 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. |
-
net10.0
- Delibera.Core (>= 10.5.3)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- StackExchange.Redis (>= 3.3.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Delibera.Redis:
| Package | Downloads |
|---|---|
|
Delibera.Server
ASP.NET Core host for the Delibera multi-model AI council framework: debate, scenario, corpus, SSE streaming and MCP endpoints mountable inside an existing application through AddDeliberaServer/UseDeliberaServer. All routes live under /api/v1 so they cannot collide with your own endpoints. Depends on Delibera.Core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
First GA release of Delibera.Redis as a standalone package.