< CollectionsPaper
MemGPT.
MemGPT: Towards LLMs as Operating Systems
Packer et al. · 2023 · arXiv 2310.08560
Read the paper (opens in a new tab)Treat the context window like main memory, and page what does not fit out to storage the agent manages itself.
4 sections · 7 problems
0 of 7 done
Start Next: 01 Stay Under the Token Budget
Section 01
A window that fills
0 of 2
The paper: The context window is fixed, so a long conversation has to be managed or it overflows.
Section 02
Summarise on eviction
0 of 1
The paper: When the window is nearly full, the oldest messages are evicted and folded into a running summary.
Section 03
Memory the agent edits
0 of 2
The paper: The agent writes facts to its own memory with function calls, and searches them back when it needs them.
Section 04
Larger than the window
0 of 2
The paper: A document bigger than the context is read by paging through it.