AgencyDotNet.Memory.Common
0.1.196-g29f327a13f
dotnet add package AgencyDotNet.Memory.Common --version 0.1.196-g29f327a13f
NuGet\Install-Package AgencyDotNet.Memory.Common -Version 0.1.196-g29f327a13f
<PackageReference Include="AgencyDotNet.Memory.Common" Version="0.1.196-g29f327a13f" />
<PackageVersion Include="AgencyDotNet.Memory.Common" Version="0.1.196-g29f327a13f" />
<PackageReference Include="AgencyDotNet.Memory.Common" />
paket add AgencyDotNet.Memory.Common --version 0.1.196-g29f327a13f
#r "nuget: AgencyDotNet.Memory.Common, 0.1.196-g29f327a13f"
#:package AgencyDotNet.Memory.Common@0.1.196-g29f327a13f
#addin nuget:?package=AgencyDotNet.Memory.Common&version=0.1.196-g29f327a13f&prerelease
#tool nuget:?package=AgencyDotNet.Memory.Common&version=0.1.196-g29f327a13f&prerelease
Agency.Memory.Common
Common types, interfaces, and options for the Agency long-term memory system.
Install
dotnet add package AgencyDotNet.Memory.Common
Types
IMemoryStore— core interface for storing and retrieving memory records.MemoryRecord— a single stored memory item with content, importance, and metadata.MemoryOptions— configuration for retention, importance thresholds, and ranking weights.RankingFormula— composite scoring of recency, importance, and session-match signals.
Usage
services.AddOptions<MemoryOptions>()
.BindConfiguration("Memory");
// Implement IMemoryStore or use a provider package such as Agency.Memory.Sql.Postgres.
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. |
-
net10.0
- AgencyDotNet.Embeddings.Common (>= 0.1.196-g29f327a13f)
- AgencyDotNet.Harness (>= 0.1.196-g29f327a13f)
- 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)
- Newtonsoft.Json (>= 13.0.4)
- Npgsql (>= 10.0.3)
- OpenAI (>= 2.11.0)
- pgvector (>= 0.3.2)
- System.Security.Cryptography.Xml (>= 10.0.10)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on AgencyDotNet.Memory.Common:
| Package | Downloads |
|---|---|
|
AgencyDotNet.Memory.Sql.Sqlite
SQLite implementation of IMemoryStore for the Agency long-term memory system. Embedded, zero-server, with an in-process cosine UDF. |
|
|
AgencyDotNet.Memory.Retrieval
Retrieval engine for the Agency long-term memory system. Implements the gated vector search, composite ranking, and context injection for the agent hot path. |
|
|
AgencyDotNet.Memory.Distiller
Distiller background service for the Agency long-term memory system: episode extraction, inactivity timer, and agent tools. |
|
|
AgencyDotNet.Memory.Hygiene
Hygiene sweeper background service for the Agency long-term memory system: TTL pruning and importance-based pruning. |
|
|
AgencyDotNet.Memory.Sql.Postgres
PostgreSQL + pgvector implementation of IMemoryStore for the Agency long-term memory system. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.196-g29f327a13f | 40 | 9/17/2026 |
| 0.1.194-g9adaaec0b7 | 86 | 9/1/2026 |
| 0.1.192-gd2744cd928 | 89 | 9/1/2026 |