LLMs as Operating Systems: Agent Memory

External: Coursera Courses ↗ · Coursera

Open Course on External: Coursera

Free to audit · Opens on External: Coursera

LLMs as Operating Systems: Agent Memory

Coursera · Advanced ·🤖 AI Agents & Automation ·3mo ago

Key Takeaways

Builds agentic memory into LLM applications

Original Description

Learn how to build agentic memory into your applications in this short course, LLMs as Operating Systems: Agent Memory, created in partnership with Letta, and taught by its founders Charles Packer and Sarah Wooders. An LLM can use any information stored in its input context window but has limited space. Using a longer input context also costs more and causes slower processing. Managing this context window and what to input becomes very important. Based on the innovative approach in the MemGPT research paper “Towards LLMs as Operating Systems,” its authors, two of whom are Charles and Sarah, proposed using an LLM agent to manage this context window, building a management system that provides applications with managed, persistent memory. Examples of Managing Agent Memory are: 1. Control Conversation Memory. As conversations grow beyond defined limits, move information from context to a persistent searchable database. Summarize information to keep relevant facts in context memory. Restore relevant conversation elements as needed by conversation flow. 2. Persist and edit facts such as names, dates, and preferences, and make them available in context. 3. Persist and track ‘task’ specific information. For example, a research agent needs to keep research information in context memory, swapping the most relevant information from a searchable database with previous information. In this course, you’ll learn: 1. How to build an agent with self-editing memory, using tool-calling and multi-step reasoning, from scratch. 2. Letta, an open-source framework that adds memory to your LLM agents, giving them advanced reasoning capabilities and transparent long-term memory. 3. The key ideas behind the MemGPT paper, the two tiers of memory in and outside the context window, and how agent states comprised of memory, tools, and messages are turned into prompts. 4. How to create and interact with a MemGPT agent using the Letta framework, and how to build and edit its core and archiv
Watch on External: Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Building an Autonomous Marketing OS: A Provider-Agnostic, Human-Gated Agent Pipeline for Production
Learn to build an autonomous marketing OS using a provider-agnostic, human-gated agent pipeline for production, enabling continuous marketing operations without vendor lock-in
Medium · RAG
📰
The date format that broke my production AI agent (and the boring fix)
Learn how a date format issue broke a production AI agent and how to fix it with a simple standardization approach
Dev.to · Kim-Like
📰
Grok Voice Agent Builder Guide: How to Use It, Best Prompts & Use Cases (2026)
Build a no-code AI phone agent in 2 minutes with Grok Voice Agent Builder
Dev.to AI
📰
Stop Letting Your AI Agent Remember Every Mistake
Learn to prevent AI agents from remembering past mistakes to improve performance and efficiency
Medium · AI
Up next
How to Automate Content with AI Agents
AI Agents Podcast
Watch →