These samples show how to create an agent with the Agent Framework that uses Memory to remember previous conversations or facts from previous conversations.
| Sample | Description |
|---|---|
| Chat History memory | This sample demonstrates how to enable an agent to remember messages from previous conversations. |
| Memory with MemoryStore | This sample demonstrates how to create and run an agent that uses the Mem0 service to extract and retrieve individual memories. |
| Custom Memory Implementation | This sample demonstrates how to create a custom memory component and attach it to an agent. |
| Memory with Microsoft Foundry | This sample demonstrates how to create and run an agent that uses Microsoft Foundry's managed memory service to extract and retrieve individual memories. |
| Bounded Chat History with Overflow | This sample demonstrates how to create a bounded chat history provider that overflows older messages to a vector store and recalls them as memories. |
See also: Memory Search with Foundry Agents - demonstrates using the built-in Memory Search tool with Microsoft Foundry agents.