Standard.Agents.Data.Memory.Redis 0.1.0

dotnet add package Standard.Agents.Data.Memory.Redis --version 0.1.0
                    
NuGet\Install-Package Standard.Agents.Data.Memory.Redis -Version 0.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="Standard.Agents.Data.Memory.Redis" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Standard.Agents.Data.Memory.Redis" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Standard.Agents.Data.Memory.Redis" />
                    
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 Standard.Agents.Data.Memory.Redis --version 0.1.0
                    
#r "nuget: Standard.Agents.Data.Memory.Redis, 0.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 Standard.Agents.Data.Memory.Redis@0.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=Standard.Agents.Data.Memory.Redis&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Standard.Agents.Data.Memory.Redis&version=0.1.0
                    
Install as a Cake Tool

The Standard for Agents

Standard.Agents.Data.Memory.Redis

A Redis memory store for The Standard AI Agent Framework.

Nuget Nuget Core: Standard.Agents License: TSSL


Part of The Standard for Agents. In Agent = Orchestration(Data, Decision, Direction), this package extends the Data nature — it moves memory from a local file into Redis, keyed per agent, user or session. It is an optional adapter: it plugs into the core Standard.Agents package through the same IMemoryBroker seam, so nothing else about your agent changes.

The core Standard.Agents package ships file-based memory (one flat file) and is deliberately dependency-free. This package brings StackExchange.Redis so memory can live in a shared, multi-tenant store — one Redis key per scope.

Install

dotnet add package Standard.Agents                    # the core framework
dotnet add package Standard.Agents.Data.Memory.Redis  # this memory store

Use

using Standard.Agents;
using Standard.Agents.Data.Memory.Redis;

var agent = new StandardAgent(apiUrl, apiKey, "LLooMA2.0")
    .Skills("Skills")                                        // a skill that advertises {{tools}}
    .UseMemoryRedis("localhost:6379", key: "agent:hassan");  // memory in Redis

string answer = await agent.ProcessPromptAsync("Remember my name is Hassan.");

One line swaps the file for Redis — everything else (the built-in remember tool, skills, tools, guardians, knowledge, streaming) is the core, unchanged. Remembered facts are appended to the list at key (RPUSH) and recalled in order on the next turn (LRANGE).

Scope is the key

The Redis key is the memory's identity — use a distinct key per agent, user, or session, and one shared store serves them all:

.UseMemoryRedis("localhost:6379", key: $"agent:{userId}")

Already own a connection multiplexer? Pass it in (it's designed to be shared):

.UseMemoryRedis(connectionMultiplexer, key: "agent:hassan")

Or construct the broker directly and hand it to the core's .UseMemory(...):

.UseMemory(new RedisMemoryBroker("localhost:6379", "agent:hassan"))

Where this fits

Core framework Standard.Agents · repo
This package the Data nature — memory, backed by a Redis list
Getting started The core how-to — see the Memory section

License

Licensed under the The Standard Software License (TSSL) v1.1 — the same license as Standard.Agents. StackExchange.Redis is MIT-licensed and consumed as a NuGet dependency.

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 86 7/18/2026