Giving AI Agents Memory That Learns — Jake Broekhuizen, LangChain
Most teams are great at watching what their agents did. Far fewer turn that into lessons for the next run. Jake Broekhuizen from LangChain's Labs team explains how to give agents memory that actually changes their behavior. Using a real financial services agent whose tone kept slipping from advisory to pushy, he shows why traces and logs are only evidence: they become memory only when a lesson turns into durable context the agent reads next time. He breaks memory into semantic, episodic and procedural types, separates working memory from long-term memory, and walks through the read-write cycle: read context, run, filter the evidence for signal, and write it back. He shows how LangSmith and Context Hub capture, analyze and update that context, and shares three hard-won lessons about what to keep, caching, and when a human should review changes. In this talk: • Why observability alone doesn't make an agent improve • Semantic, episodic and procedural memory, and which one moves behavior most • The read-write cycle: run, filter evidence for signal, update context • Lessons: most traces stay history, watch caching, review procedural changes SPEAKER Jake Broekhuizen, LangChain Labs LinkedIn: https://www.linkedin.com/in/jake-broekhuizen/ LINKS LangChain Labs: https://www.langchain.com/blog/introducing-langchain-labs LangChain on X: https://x.com/LangChain CHAPTERS 0:00 Intro 0:37 Agents that improve every run 1:02 Example: a finance agent's tone slips 2:42 Observing isn't learning 3:07 Traces are everywhere 4:02 From logs to signal 4:22 What memory really is 4:47 Semantic, episodic and procedural memory 5:42 Procedural memory drives behavior 6:22 Working vs long-term memory 8:12 The read-write cycle 9:27 Deciding what's worth keeping 10:22 Capture, analyze, update 10:52 LangSmith and Context Hub 12:02 The finance agent, fixed 13:17 Lesson 1: most traces stay history 13:42 Lesson 2: caching and the hot path 14:47 Lesson 3: human review for key rules 15:27 Wrap-up Recorded at the AI Engineer World's Fair 2026 in San Francisco. Subscribe for more talks from the engineers building with AI. AI Engineer: https://ai.engineer YouTube: https://www.youtube.com/@aiDotEngineer X: https://x.com/aiDotEngineer LinkedIn: https://www.linkedin.com/company/aidotengineer/ #AgentMemory #LangChain #AIEngineer




Join the discussion
Sign in to join the discussion
Sign in