Approaches for Managing Agent Memory
Humans refine their skills and learn preferences through experience. But many AI agents lack this capacity for continual learning. Here, we give an overview of memory in the DeepAgents CLI. Here, we talk about two methods for updating memory: "explicit" updating from user-provided instructions and "implicit" updating from reflection over past DeepAgent sessions.
LangSmith fetch:
https://github.com/langchain-ai/langsmith-fetch
Claude Diary, an example reflection pattern:
https://rlancemartin.github.io/2025/12/01/claude_diary/
Deepagents-CLI:
https://github.com/langchain-ai/deepagents/tree/ma…
Watch on YouTube ↗
(saves to browser)
Chapters (16)
Introduction: Explicit vs. implicit memory updating
0:24
Claude Code memory: The pound shortcut removal and natural language editing
0:54
Deep Agents memory structure: Global and project-specific Agent.md files
1:31
Demo: Explicit memory updating with Deep Agents CLI
2:24
Introduction to implicit memory updating
2:50
Claude Diary: A session-based memory system for Claude Code
3:18
Research foundations: Generative Agents and Context Evolution papers
4:04
How Claude Diary works: Diary and reflect commands
5:05
Key insight: Memory refinement vs. append-only approaches
5:30
Deep Agents session logging with LangSmith
6:24
Understanding threads vs. traces in LangSmith
7:24
Identifying implicit preferences in session history
7:54
Demo: Using LangSmith Fetch to pull recent threads
9:06
Demo: Reflecting on threads to extract and save preferences
10:44
Results: Automatic memory update from implicit preferences
11:00
Recap: Explicit and implicit memory patterns for agents
Playlist
Uploads from LangChain · LangChain · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Chat With Your Documents Using LangChain + JavaScript
LangChain
LangChain SQL Webinar
LangChain
LangChain Document Question-Answering Webinar
LangChain
LangChain Output Parsing and Extraction Webinar
LangChain
LangChain Agents Webinar
LangChain
LangChain Prompt Injection Webinar
LangChain
LangChain Low-Code/No-Code Webinar
LangChain
LangChain "Agents in Production" Webinar
LangChain
LangChain "Hallucinations in Document Question-Answering" Webinar
LangChain
LangChain Retrieval Webinar
LangChain
LangChain "in Education" Webinar
LangChain
LangChain "Quivr Deepdive" Webinar
LangChain
LangChain "OpenSource LLMs" Webinar
LangChain
LangChain "OpenAI functions" Webinar
LangChain
LangChain "Chains vs Agents" Webinar
LangChain
LangChain "Characters" Webinar
LangChain
LangSmith Launch
LangChain
LangChain x Pinecone: Supercharging Llama-2 with RAG
LangChain
LangChain Expression Language
LangChain
LangChain "Advanced Retrieval" Webinar
LangChain
Building LLM applications with LangChain with Lance
LangChain
Benchmarking Question/Answering Over CSV Data
LangChain
LangChain "Production Ingestion" Webinar
LangChain
LangChain "RAG Evaluation" Webinar
LangChain
Fine-tuning in Your Voice Webinar
LangChain
Tabular Data Retrieval
LangChain
Building an LLM Application with Audio by AssemblyAI
LangChain
Superagent Deepdive Webinar
LangChain
Lessons from Deploying LLMs with LangSmith
LangChain
Shortwave Assistant Deepdive Webinar
LangChain
Cognitive Architectures for Language Agents
LangChain
Effectively Building with LLMs in the Browser with Jacob
LangChain
Data Privacy for LLMs
LangChain
"Theory of Mind" Webinar with Plastic Labs
LangChain
LangChain Templates
LangChain
Using Natural Language to Query Postgres with Jacob
LangChain
LangServe and LangChain Templates Webinar
LangChain
Building a Research Assistant from Scratch
LangChain
Benchmarking RAG over LangChain Docs
LangChain
Skeleton-of-Thought: Building a New Template from Scratch
LangChain
Benchmarking Methods for Semi-Structured RAG
LangChain
LangSmith Highlights: Getting Started
LangChain
LangSmith Highlights: Debugging
LangChain
LangSmith Highlights: Datasets
LangChain
LangSmith Highlights: Evaluation
LangChain
LangSmith Highlights: Human Annotation
LangChain
LangSmith Highlights: Monitoring
LangChain
LangSmith Highlights: Hub
LangChain
SQL Research Assistant
LangChain
Getting Started with Multi-Modal LLMs
LangChain
Build a Full Stack RAG App With TypeScript
LangChain
Auto-Prompt Builder (with Hosted LangServe)
LangChain
LangChain v0.1.0 Launch: Introduction
LangChain
LangChain v0.1.0 Launch: Observability
LangChain
LangChain v0.1.0 Launch: Integrations
LangChain
LangChain v0.1.0 Launch: Composability
LangChain
LangChain v0.1.0 Launch: Streaming
LangChain
LangChain v0.1.0 Launch: Output Parsing
LangChain
LangChain v0.1.0 Launch: Retrieval
LangChain
LangChain v0.1.0 Launch: Agents
LangChain
DeepCamp AI