Skip to main content
Glama

Notion MCP Server V2

by ankitmalik84
6-other_frameworks.mdโ€ข2.52 kB
# ๐Ÿงฉ Frameworks for Building Agentic Memory: Theory Before Code Now that we've explored how memory systems work conceptually and seen how to design our own chatbot agents, it's time to talk about **frameworks**. Frameworks allow an easier development, especially when it comes to handling: - Memory storage - Retrieval logic - Agent loops - Prompt construction As this space matures, choosing the right foundation becomes critical for long-term stability and scalability. --- ## ๐Ÿฅ‡ LeTTA: Ideal for Custom-Built Long-Term Memory Solutions LeTTA introduced many of the ideas that pushed the field of long-term agentic memory forward. They've published a framework that embodies their research and philosophy. However, I personally do not recommend using Leda as an out-of-the-box solution in production environments, and here's why: - โš ๏ธ It's relatively **new** and **immature** in terms of ecosystem and tooling - ๐Ÿงฉ Larger, well-supported platforms like LangChain already offer **equivalent capabilities** - ๐Ÿงช The **sample code** they provided in their public course **is already outdated and non-functional** - ๐Ÿ”ง Debugging and extending the framework may require significant manual effort GitHub repository: [Link](https://github.com/letta-ai/letta) --- ## ๐Ÿ”„ LangChain: Reliable Long-Term Memory Out-of-the-Box While developing this project, I noticed that **LangChain introduced built-in support for long-term memory** in its agent framework โ€” and it's both robust and well-documented. LangChain currently supports **two distinct memory strategies**, and we'll explore both in this session. --- ## ๐Ÿง  Strategy 1: Hybrid Memory with Vector ![LangChain Memory Architecture](../images/langgraph_1_schema.png) This architecture uses a **hybrid memory system**: - ๐ŸŸฃ **VectorDB**: Stores embeddings of past messages for semantic recall - ๐ŸŸ  **GraphDB**: Stores structured information about the user โ€” like their interests, behavior, and network This approach gives agents the ability to: - Remember facts over time - Understand the user's profile - Adapt responses dynamically to context and history LangChain handles: - โœ… Retrieval - โœ… Prompt construction - โœ… Context formatting ...all under the hood. --- ## ๐Ÿ’ป Let's See It in Action Now let's walk through the code together. We'll cover: - How to initialize memory stores - How to wire them into an agent - And how the agent uses them to build intelligent, context-aware prompts in real time Let's dive in!

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ankitmalik84/Agentic_Longterm_Memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server