MemGPT (now Letta) is a framework for building LLM agents with self-editing memory, enabling them to remember conversations, learn from interactions, and manage context windows intelligently. Uses a hierarchical memory system with archival storage for unlimited context.