Phase 14: Agent Engineering
AI From Scratch/Lesson 07/~75 minutes

Memory: Virtual Context and MemGPT

Context windows are finite. Conversations, documents, and tool traces are not. MemGPT (Packer et al., 2023) frames this as OS virtual memory — main context is RAM, external store is disk, the agent pages between them. This is the pattern e...

BuildPython (stdlib)
Loading lesson page...