Cover image for Crafting AI Agents with Persistent Memory - The Ultimate Guide

Crafting AI Agents with Persistent Memory - The Ultimate Guide

Build Smart Agents with Lasting Memory Using LangChain, LangMem, Mem0 & Supabase

Paulo Dichone

Created by Paulo Dichone

Explore how to create AI agents that remember and learn over time. You'll move from understanding the basics of memory in AI to building advanced, context-aware agents using popular frameworks. By the end, you'll know how to make agents that feel smarter and more helpful in real-world situations.

Packt | May 2025 | 238 min

Start Trial
LevelIntermediate
CategoriesLLM Engineering, Generative AI Tools and AI-Assisted Productivity, ChatGPT, Python

What You Will Learn

You'll start by exploring the core ideas behind memory in AI and why it matters. Through hands-on coding and visual explanations, you'll build agents from scratch and then enhance them using modern frameworks. Each step is designed to help you connect theory with practical skills, leading up to a complete, production-ready project.

Key Features

  • Develop agents with persistent memory using both custom and framework-based methods
  • Integrate LangMem, Mem0, and Supabase for scalable, real-world memory solutions
  • Understand and apply memory architectures to make agents more context-aware

Target Audience

Perfect for intermediate developers, AI engineers, and software professionals who already know Python and basic AI concepts. If you want to build agents that can remember, adapt, and scale in real-world applications, this is for you. Some experience with APIs and JSON will help, but isn't required.

Related courses