Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Build Your Own Long-Term Agentic Memory System for LLMs - Mem0 from Scratch with DSPy

Neural Breakdown with AVB via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a comprehensive long-term agentic memory system for Large Language Models from scratch using DSPy and QDrant Vector Database in this 52-minute tutorial. Discover how to recreate the core components of Mem0 by starting with a basic chatbot and progressively adding memory capabilities. Master the fundamentals of DSPy signatures and modules while implementing memory extraction from conversations, generating embeddings, and performing vector database operations with QDrant. Explore advanced concepts including tool calling with dspy.React, creating evaluation datasets, and building a memory upkeep CRUD agent for maintaining and updating stored memories. Follow along as the instructor demonstrates each component step-by-step, from initial setup through final testing, providing practical insights into building production-ready memory systems that can enhance LLM performance through persistent context retention.

Syllabus

0:00 - Intro
2:56 - The Basic Chatbot
6:16 - What the original Mem0 API looks like
10:04 - The Roadmap
12:11 - Extracting Memories from Conversations
21:17 - Embeddings & Vector DBs
27:03 - Evaluation Dataset
34:39 - Tool Calling
39:13 - Memory Upkeep CRUD Agent
45:46 - Testing

Taught by

Neural Breakdown with AVB

Reviews

Start your review of How to Build Your Own Long-Term Agentic Memory System for LLMs - Mem0 from Scratch with DSPy

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.