Loading video player...
Earn your AI Agents skill badge here → https://mdb.link/k9h3CcbDjp8-ai-agent-check Memory is a critical feature for AI agents, transforming them from simple request-response bots into contextually aware collaborators. This video explores the differences between short-term and long-term memory for AI agents and provides a step-by-step guide on implementing memory persistence using LangGraph and MongoDB. Learn how to use LangGraph's checkpointer API to capture agent state and store it within a MongoDB cluster. By the end of this lesson, you will understand how to utilize thread IDs to maintain conversation continuity, allowing your agent to answer follow-up questions and recall previous user interactions seamlessly. See what Atlas is capable of for free: https://mdb.link/YT-Atlas-Register 00:00:00 Introduction to AI Agent Memory 00:01:01 Short-Term vs. Long-Term Memory Explained 00:02:42 Setting up the MongoDB Checkpointer 00:03:30 Managing Thread IDs for Persistent Context 00:04:17 Integrating Memory into the Agent Workflow 00:04:58 Testing Recall and Conversational State 00:07:12 Summary and Final Recap Resources: MongoDB main YouTube channel: https://www.youtube.com/@MongoDB Website: https://mdb.link/MongoDBYT LinkedIn: https://www.linkedin.com/company/mongodbinc MongoDB Developer Blog: https://mdb.link/developerblogYT