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

📰
SREs to AI agents: Prove yourself before you touch production
Experts weigh in on the role of AI agents in production environments, emphasizing the need for rigorous testing before deployment
The Register
📰
Do You Actually Need an AI Audit? 7 Warning Signs Your Chatbot Is Failing
Learn to identify 7 warning signs that your chatbot is failing and understand the importance of an AI audit to prevent costly errors
Medium · AI
📰
Do You Actually Need an AI Audit? 7 Warning Signs Your Chatbot Is Failing
Learn to identify 7 warning signs that your chatbot needs an AI audit and take corrective actions to improve its performance
Medium · Machine Learning
📰
AI Agents 101: How They Work, Their Types and Business Use Cases
Learn the basics of AI agents, their types, and business use cases to understand how they can automate tasks and improve decision-making
Medium · Machine Learning
Up next
Report Generation Agent | Explained in Tamil | Deep Research Agent | AI Agents | GenAI | Agentic AI
AI with Akash
Watch →