Stanford CS329Z Lecture 7: How AI Agent Memory Works — MemGPT & Memory Types

zainhas · x · 2026-11-16

Stanford's CS329Z "Engineering AI Agents" course released Lecture 7 by Michael Ryan on how AI agent memory works, covering MemGPT and memory types. The recap table distills four patterns: learning procedures from experience (reusable code/workflows; reuse saves effort but goes stale), tiered memory hierarchy (compact active memory + external detail; requires reliable management), reflective memory consolidation (lessons and higher-level inferences; abstraction aids reuse but risks unsupported conclusions), and memory maintenance (revised facts, indexes, representations; better organization costs compute and can lose info). Video is on Stanford Online.

Original post →

More from coding & agent

coding & agent channel →