Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Agent with Memory Using Mem0Sharp

Mem0Sharp is an independent long-term memory library for .NET applications and agents. Its repository contains a Microsoft Agent Framework sample that demonstrates cross-session memory with an in-memory store.

In addition to in-memory storage, Mem0Sharp supports PostgreSQL with pgvector, SQLite, Qdrant, and custom storage providers.

See the [Microsoft Agent Framework memory sample in the Mem0Sharp repository](https://github.com/jihadkhawaja/mem0sharp/blob/main/samples/AgentFrameworkMemory/README.md) for prerequisites, configuration, and run instructions.
1 change: 1 addition & 0 deletions dotnet/samples/02-agents/AgentWithMemory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ These samples show how to create an agent with the Agent Framework that uses Mem
|[Memory Using AgentMemory](./AgentWithMemory_Step06_MemoryUsingAgentMemory/)|This sample demonstrates a retail shopping assistant built with [`AgentMemory`](https://www.nuget.org/packages/AgentMemory), an unofficial .NET port of the Neo4j Labs graph-memory provider, to learn customer preferences and recommend products via graph traversal.|
|[File Based Memory](./AgentWithMemory_Step07_FileMemoryProvider/)|This sample demonstrates how to use the `FileMemoryProvider` to give an agent tools for storing and recalling memories as files, and how to configure the folder that those memory files are written to.|
|[Memory with Azure Cosmos DB for NoSQL](./AgentWithMemory_Step08_MemoryUsingCosmosNoSql/)|This sample demonstrates how to persist and retrieve chat history across sessions with Azure Cosmos DB for NoSQL.|
|[Memory with Mem0Sharp](./AgentWithMemory_Step09_MemoryUsingMem0Sharp/)|This sample links to the Mem0Sharp repository's Microsoft Agent Framework memory integration example.|

> **See also**: [Memory Search with Foundry Agents](../AgentProviders/foundry/Agent_Step22_MemorySearch/) - demonstrates using the built-in Memory Search tool with Microsoft Foundry agents.

Loading