AgencyDotNet.Memory.Retrieval
0.1.194-g9adaaec0b7
This is a prerelease version of AgencyDotNet.Memory.Retrieval.
dotnet add package AgencyDotNet.Memory.Retrieval --version 0.1.194-g9adaaec0b7
NuGet\Install-Package AgencyDotNet.Memory.Retrieval -Version 0.1.194-g9adaaec0b7
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="AgencyDotNet.Memory.Retrieval" Version="0.1.194-g9adaaec0b7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AgencyDotNet.Memory.Retrieval" Version="0.1.194-g9adaaec0b7" />
<PackageReference Include="AgencyDotNet.Memory.Retrieval" />
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 AgencyDotNet.Memory.Retrieval --version 0.1.194-g9adaaec0b7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AgencyDotNet.Memory.Retrieval, 0.1.194-g9adaaec0b7"
#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 AgencyDotNet.Memory.Retrieval@0.1.194-g9adaaec0b7
#: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=AgencyDotNet.Memory.Retrieval&version=0.1.194-g9adaaec0b7&prerelease
#tool nuget:?package=AgencyDotNet.Memory.Retrieval&version=0.1.194-g9adaaec0b7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Agency.Memory.Retrieval
Retrieval engine for the Agency long-term memory system. Implements gated vector search, composite ranking, and context injection for the agent hot path.
Install
dotnet add package AgencyDotNet.Memory.Retrieval
Types
MemoryRetriever— runs a semantic similarity query againstIMemoryStore, applies the composite ranking formula (recency × importance × session-match), and injects the top-K records into the agent's system prompt.
Usage
services.AddMemoryRetrieval(); // registers MemoryRetriever for use by MemoryHookFactory
Part of the Agency AI Toolkit — an open-source .NET agentic AI toolkit.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AgencyDotNet.Embeddings.Common (>= 0.1.194-g9adaaec0b7)
- AgencyDotNet.Harness (>= 0.1.194-g9adaaec0b7)
- AgencyDotNet.Memory.Common (>= 0.1.194-g9adaaec0b7)
- Anthropic (>= 12.31.0)
- Microsoft.Extensions.AI (>= 10.7.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.7.0)
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.9)
- Microsoft.Extensions.Configuration.Json (>= 10.0.9)
- Microsoft.Extensions.Configuration.UserSecrets (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Hosting (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
- Microsoft.PowerShell.SDK (>= 7.6.3)
- ModelContextProtocol (>= 1.4.0)
- Npgsql (>= 10.0.3)
- OpenAI (>= 2.11.0)
- pgvector (>= 0.3.2)
- System.Security.Cryptography.Xml (>= 10.0.10)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AgencyDotNet.Memory.Retrieval:
| Package | Downloads |
|---|---|
|
AgencyDotNet.Memory.Distiller
Distiller background service for the Agency long-term memory system: episode extraction, inactivity timer, and agent tools. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.194-g9adaaec0b7 | 66 | 9/1/2026 |
| 0.1.192-gd2744cd928 | 65 | 9/1/2026 |