Rendered Source Note

MemGPT: Towards LLMs as Operating Systems

Generated HTML view. Markdown remains canonical.

MemGPT: Towards LLMs as Operating Systems

Type: paper Tier: 2 (Foundational Paper) Author(s): Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, Joseph E. Gonzalez Date: 2023 (submitted 2023-10-12) URL: https://arxiv.org/abs/2310.08560 Accessed: 2026-06-01

Why This Source Matters

Generative Agents tells you how to score memories for retrieval; MemGPT tells you where memories live and how data moves between tiers. The key insight for Project 05: the LLM's context window is small and fixed, so a real memory system is a hierarchy — a little memory in the prompt, a lot of memory outside it — and the system must page the right information in and out, just like an operating system manages physical RAM versus disk. This grounds the project's distinction between what's in the prompt right now and the full memory store, and the idea that retrieval is a paging decision under a budget.

Key Claims

The problem: bounded context windows

The OS analogy: virtual context management

Self-editing memory via function calls

Result

Relevant To

Notes