> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Memory

> Examples of persisting user memories in a database and sharing them across runs, sessions, and multiple agents.

| Example | Description |
| - | - |
| [Agent With Persistent Memory](https://agno-v2.mintlify.site/examples/memory/agent-with-memory.md) | Use persistent memory with an Agent. |
| [Memory Tools With Web Search](https://agno-v2.mintlify.site/examples/memory/memory-tools.md) | Use MemoryTools alongside WebSearchTools so an agent can store and use user memory while planning a trip. |
| [Agentic Memory Management](https://agno-v2.mintlify.site/examples/memory/agentic-memory.md) | Use agentic memory with an Agent. |
| [Agents Sharing Memory](https://agno-v2.mintlify.site/examples/memory/agents-share-memory.md) | Two agents sharing the same user memory. |
| [Custom Memory Manager Configuration](https://agno-v2.mintlify.site/examples/memory/custom-memory-manager.md) | Configure a MemoryManager separately from the Agent and apply custom memory capture instructions. |
| [Multi-User Multi-Session Chat](https://agno-v2.mintlify.site/examples/memory/multi-user-multi-session-chat.md) | A multi-user, multi-session chat flow where user memory is shared across sessions for the same user. |
| [Concurrent Multi-User Multi-Session Chat](https://agno-v2.mintlify.site/examples/memory/multi-user-multi-session-chat-concurrent.md) | Run three user conversations concurrently with asyncio.gather while a shared agent persists user memories across sessions. |
| [Share Memory and History Between Agents](https://agno-v2.mintlify.site/examples/memory/share-memory-and-history-between-agents.md) | Two agents sharing both conversation history and user memory through a common database, user ID, and session ID. |
| [Memory Manager](https://agno-v2.mintlify.site/examples/memory/memory-manager/overview.md) | The Memory Manager handles user memory CRUD and retrieval operations. |
| [Optimize Memories](https://agno-v2.mintlify.site/examples/memory/optimize-memories/overview.md) | This directory demonstrates memory optimization strategies. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.