paper-with-me

홈 › Papers

MemGPT: Towards LLMs as Operating Systems

2023-10-12 · Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, Joseph E. Gonzalez

Large language models (LLMs) have revolutionized AI, but are constrained by limited context windows, hindering their utility in tasks like extended conversations and document analysis. To enable using context beyond limited context windows, we propose virtual context management, a technique drawing inspiration from hierarchical memory systems in traditional operating systems that provide the appearance of large memory resources through data movement between fast and slow memory. Using this technique, we introduce MemGPT (Memory-GPT), a system that intelligently manages different memory tiers in order to effectively provide extended context within the LLM's limited context window, and utilizes interrupts to manage control flow between itself and the user. We evaluate our OS-inspired design in two domains where the limited context windows of modern LLMs severely handicaps their performance: document analysis, where MemGPT is able to analyze large documents that far exceed the underlying LLM's context window, and multi-session chat, where MemGPT can create conversational agents that remember, reflect, and evolve dynamically through long-term interactions with their users. We release MemGPT code and data for our experiments at https://memgpt.ai.

📄 PDF Abstract BibTeX arXiv:2310.08560

Code (2)

cpacker/memgpt
letta-ai/letta

Tasks

Management

Similar Papers 제목 키워드 기반

AUGUSTUS: An LLM-Driven Multimodal Agent System with Contextualized User Memory

2025-10-17 · Jitesh Jain, Shubham Maheshwari, Ning Yu, Wen-mei Hwu 외 arxiv

Riding on the success of LLMs with retrieval-augmented generation (RAG), there has been a growing interest in augmenting agent systems with external memory databases. However, the existing systems focus on storing text i…

Wormhole Memory: A Rubik's Cube for Cross-Dialogue Retrieval

2025-01-24 · Libo Wang

In view of the gap in the current large language model in sharing memory across dialogues, this research proposes a wormhole memory module (WMM) to realize memory as a Rubik's cube that can be arbitrarily retrieved betwe…

Language ModelingLanguage ModellingLarge Language ModelManagement+2

eMEM: A Hybrid Spatio-Temporal Memory System For Embodied Agents

2026-06-02 · A. Haroon Rasheed, Maria Kabtoul arxiv

We present eMEM (Embodied Memory), a hybrid graph-based memory system for embodied agents operating in physical environments. Current agent memory architectures, such as Generative Agents, MemGPT, and A-MEM, treat memory…

Knowledge Graphs

Zep: A Temporal Knowledge Graph Architecture for Agent Memory

2025-01-20 · Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan 외

We introduce Zep, a novel memory layer service for AI agents that outperforms the current state-of-the-art system, MemGPT, in the Deep Memory Retrieval (DMR) benchmark. Additionally, Zep excels in more comprehensive and …

Large Language ModelRAGRetrievalRetrieval-augmented Generation

Memory as Metabolism: A Design for Companion Knowledge Systems

2026-04-13 · Stefan Miteski arxiv

Retrieval-Augmented Generation remains the dominant pattern for giving LLMs persistent memory, but a visible cluster of personal wiki-style memory architectures emerged in April 2026 -- design proposals from Karpathy, Me…