Memory and dreaming for self learning agents

๐ **Source:** [Memory and dreaming for self learning agents](https://www.youtube.com/watch?v=IGo225tfF2I)
> [!note]+ Document Notes
> tags: [ai-agents, memory-systems, anthropic, self-improving-ai]
> author: Ravi
> source: YouTube
> reference: https://www.youtube.com/watch?v=IGo225tfF2I
> date created: {{date:YYYY-MM-DD}} {{time:HH:mm}}
>
> # ๐ท๏ธ Title: Memory and dreaming for self learning agents
>
<!-- deep-read:sections start -->
## ๐งญ Table of Contents
- [๐ Summary](#-summary)
- [๐ Main Content](#-main-content)
- [๐๏ธ Notes](#๏ธ-notes)
- [๐ References](#-references)
- [๐ฃ๏ธ Paraphrase](#๏ธ-paraphrase)
- [๐ฐ Newsletter](#-newsletter)
- [โ
Action Items](#-action-items)
- [๐งช Hypotheses](#-hypotheses)
- [๐ Methodology](#-methodology)
- [โ Questions](#-questions)
- [๐ฎ Future Research](#-future-research)
- [๐ก Implications](#-implications)
- [๐ง Learning Styles Assessment](#-learning-styles-assessment)
- [๐ Accessibility Assessment](#-accessibility-assessment)
- [๐ DEIB Assessment](#-deib-assessment)
- [โ
Logical Validity](#-logical-validity)
- [๐ก๏ธ DARVO Analysis](#-darvo-analysis)
- [๐ฏ Conclusion](#-conclusion)
## ๐ Summary
- Anthropic released memory and dreaming capabilities for AI agents to learn and improve over time
- Memory allows agents to carry forward learnings between tasks using a file system approach
- Dreaming is an out-of-band process that optimizes and curates memory globally across agent sessions
- Enterprise customers saw dramatic improvements: 97% decrease in errors, 6x increase in completion rates
- The system supports multi-agent environments with version control, audit trails, and enterprise controls
## ๐ Main Content
Anthropic has introduced two breakthrough features for AI agents: memory and dreaming. These capabilities address the fundamental challenge of context management in long-horizon tasks by enabling agents to learn from previous experiences and improve performance over time.
**Memory Architecture**: Instead of starting each task from scratch, agents now maintain persistent memory across sessions. The system models memory as a file system, leveraging Claude's existing strengths in navigating virtual environments and using familiar tools like bash and git. This approach follows Anthropic's principle of "getting out of Claude's way" by using capabilities the model already possesses.
**Multi-Agent Memory**: The system supports sophisticated memory hierarchies with different scopes. Agents can access organization-wide read-only memory (like company policies) while maintaining granular read-write memory stores for specific tasks. Optimistic concurrency control prevents conflicts when multiple agents access shared memory simultaneously.
**Dreaming Process**: Dreaming represents a major innovation - an out-of-band feedback loop that analyzes patterns across agent sessions and automatically curates memory. Unlike in-task memory updates that can be locally optimal but globally suboptimal, dreaming provides holistic optimization by identifying recurring mistakes, inefficiencies, and successful patterns across multiple agents and sessions.
**Enterprise Implementation**: The system includes version control, audit trails, attribution tracking, and a standalone API for memory management. This enables teams to integrate memory capabilities into existing production systems while maintaining enterprise-grade controls and observability.
### ๐๏ธ Notes
#### โฑ๏ธ [00:01:30](https://www.youtube.com/watch?v=IGo225tfF2I?t=90) Timeline of Anthropic agent milestones
- 2024: Model Context Protocol (MCP) for external tools and data access
- 2025: Cloud Code and agent SDK for lowering barriers
- Skills release providing generic capability abstractions
- Cloud managed agents platform for reliable operation
#### โฑ๏ธ [00:03:15](https://www.youtube.com/watch?v=IGo225tfF2I?t=195) The memory problem
- Agent task complexity doubling every seven months (Meter study)
- Context management over long horizons remains challenging
- Goal: Performance improvement from task to task, not starting from blank slate
#### โฑ๏ธ [00:06:30](https://www.youtube.com/watch?v=IGo225tfF2I?t=390) File system approach to memory
- Models excel at navigating virtual environments
- Claude capable with bash, git for organizing files
- Opus 4.7 state-of-the-art at file system based memory
- Principle: "Let it cook" - leverage existing model capabilities
#### โฑ๏ธ [00:08:45](https://www.youtube.com/watch?v=IGo225tfF2I?t=525) Multi-agent memory architecture
- Readonly organization-wide memory vs read-write granular stores
- Optimistic concurrency control prevents write conflicts
- Version control creates audit trails with attribution
- Standalone API enables external memory management
#### โฑ๏ธ [00:11:20](https://www.youtube.com/watch?v=IGo225tfF2I?t=680) Dreaming breakthrough
- Addresses locally optimal but globally suboptimal memory patterns
- Out-of-band feedback loop analyzing cross-session patterns
- Can be triggered ad hoc, scheduled, or event-driven
- Harvey saw 6x increase in legal benchmark completion rates
#### โฑ๏ธ [00:14:00](https://www.youtube.com/watch?v=IGo225tfF2I?t=840) Dreaming architecture benefits
- Decoupled from agent loops enables multi-agent analysis
- Clear objectives without trading off task completion
- No latency impact on agent performance
- Dedicated dreaming harness built on managed agents
#### โฑ๏ธ [00:16:30](https://www.youtube.com/watch?v=IGo225tfF2I?t=990) SRE demo walkthrough
- Agent platform for alert triage and incident response
- Organization-wide readonly memory for policies and runbooks
- Cross-session coordination through shared memory stores
- Audit logs and version history for enterprise compliance
#### โฑ๏ธ [00:20:15](https://www.youtube.com/watch?v=IGo225tfF2I?t=1215) Dreaming process demonstration
- Analyzes patterns across multiple sessions
- Identifies recurring issues like CPU spike to alert correlations
- Updates memory with holistic insights rather than rote logs
- Built using cloud managed agents analyzing themselves
## ๐ References
- [Anthropic Memory and Dreaming](https://www.youtube.com/watch?v=IGo225tfF2I)
- Model Context Protocol (MCP)
- Cloud Managed Agents platform
- Meter study on agent task complexity growth
## ๐ฃ๏ธ Paraphrase
Anthropic has developed a sophisticated memory system for AI agents that fundamentally changes how they learn and improve. Rather than treating each task as isolated, agents now maintain persistent memory using familiar file system operations they already excel at. The breakthrough "dreaming" feature acts as a global optimizer, analyzing patterns across multiple agent sessions to identify and fix recurring problems automatically. This creates a continuous improvement loop where agents get smarter over time, with enterprise customers seeing dramatic performance gains in production deployments.
## ๐ฐ Newsletter
๐ง **AI Agents Just Got Memory (And Dreams!)** - Anthropic dropped some serious agent upgrades that WordPress developers should pay attention to. Their new memory system lets AI agents actually learn from previous tasks instead of starting fresh each time - think of it like giving your debugging assistant the ability to remember that weird plugin conflict from last week. Even cooler is "dreaming" - an automated process that spots patterns across multiple agent sessions and optimizes their knowledge base. Early users saw 97% fewer errors and 6x better completion rates. While this is enterprise-focused for now, the implications for WordPress automation, support systems, and developer tooling are huge. [Check out the demo](https://www.youtube.com/watch?v=IGo225tfF2I) to see agents coordinating like a well-oiled DevOps team.
## โ
Action Items
#### DevRel
- Research integration opportunities between Anthropic's memory APIs and WordPress developer workflows
- Create educational content demonstrating memory-enabled agents for common WordPress development tasks
- Explore partnerships with Anthropic for WordPress-specific agent memory templates
#### Community
- Document memory system patterns that could benefit WordPress plugin and theme development
- Investigate community-driven memory stores for common WordPress troubleshooting scenarios
- Develop guidelines for responsible memory usage in WordPress agent implementations
#### WordPress
- **Core AI**: Evaluate memory capabilities for WordPress.org's AI initiatives and documentation systems
- **Documentation**: Assess how persistent agent memory could improve DevHub and HelpHub user experiences
- **Support**: Research memory-enabled agents for WordPress.org support forum automation and knowledge management
## ๐งช Hypotheses
- Memory-enabled agents will dramatically reduce repetitive debugging time for WordPress developers
- Cross-session memory sharing will create emergent knowledge networks within development teams
- Dreaming-style optimization will identify and resolve common WordPress configuration anti-patterns automatically
- File system based memory will integrate naturally with existing WordPress development workflows and version control
- Enterprise WordPress agencies will see significant productivity gains from persistent agent memory
- Community-driven memory stores will emerge as valuable resources for WordPress troubleshooting and best practices
### ๐ Methodology
- A/B testing with and without memory-enabled agents on WordPress development tasks
- Longitudinal analysis of agent performance improvement over multiple sessions
- Survey research on developer productivity metrics before and after memory system adoption
- Case study analysis of enterprise WordPress implementations using memory-enabled agents
- Benchmarking studies comparing memory approaches against traditional stateless agent interactions
### โ Questions
- How can WordPress-specific memory schemas be designed to maximize learning efficiency?
- What privacy and security considerations arise when agents maintain persistent memory about client projects?
- How might memory-enabled agents change the economics of WordPress maintenance and support?
- What role could the WordPress.org community play in developing shared agent memory resources?
- How do memory capabilities interact with existing WordPress caching and performance optimization strategies?
### ๐ฎ Future Research
- Investigation of memory portability between different AI agent platforms and WordPress environments
- Development of standardized memory schemas for common WordPress use cases and troubleshooting scenarios
- Research into federated learning approaches for WordPress agent memory across multiple organizations
- Exploration of memory-enabled agents for WordPress accessibility testing and WCAG compliance automation
- Study of memory system integration with WordPress REST API and GraphQL implementations
### ๐ก Implications
**WordPress Development**: Memory-enabled agents could transform debugging from repetitive manual processes to accumulated institutional knowledge, dramatically reducing time-to-resolution for common issues.
**Community Knowledge**: Shared memory stores could create unprecedented collaboration opportunities, allowing the global WordPress community to collectively improve agent capabilities through shared experiences.
**Enterprise Adoption**: Organizations managing large WordPress installations could see significant cost savings through agents that learn and improve their maintenance and support capabilities over time.
**Security Considerations**: Persistent agent memory introduces new vectors for both enhanced security monitoring and potential data exposure that the WordPress security community must address.
**Educational Impact**: Memory-enabled agents could revolutionize WordPress education by providing personalized learning experiences that adapt based on individual developer progress and common stumbling points.
### ๐ง Learning Styles Assessment
Reading level estimate: Grade 12-14 (Flesch-Kincaid) - technical content with complex concepts explained clearly
#### ๐ Visual learners
- Present: Architecture diagrams showing memory hierarchy and dreaming feedback loops
- Improve: Interactive visualizations of memory evolution over time, flowcharts of agent decision-making processes
#### ๐ Aural learners
- Present: Video presentation with clear narration and live demonstration
- Improve: Podcast-style deep dive discussions, audio summaries of key memory concepts
#### ๐ฃ๏ธ Verbal learners
- Present: Clear definitions, analogies to human memory and learning, comprehensive glossary
- Improve: Story-driven case studies, conversational explanations of technical concepts
#### ๐งฉ Kinesthetic learners
- Present: Interactive demo showing memory system in action, hands-on SRE scenario
- Improve: Sandbox environments for experimenting with memory configurations, step-by-step tutorials
#### ๐ง Logical learners
- Present: Systematic architecture breakdown, performance metrics, clear cause-and-effect relationships
- Improve: Decision trees for memory optimization, algorithmic explanations of dreaming processes
#### ๐งโ๐คโ๐ง Social learners
- Present: Multi-agent collaboration examples, cross-session memory sharing demonstrations
- Improve: Community forums for sharing memory patterns, collaborative memory store development
#### ๐งโโ๏ธ Solitary learners
- Present: Self-contained demo, individual agent performance improvement examples
- Improve: Personal reflection prompts on memory applications, self-paced learning modules
#### ๐ฟ Naturalistic learners
- Present: Analogies to biological memory and learning systems, ecosystem thinking about agent networks
- Improve: Connections to natural learning patterns, environmental impact considerations of persistent memory systems
### ๐ Accessibility Assessment
#### Screen reader semantics
- Present: Clear headings, logical document structure, descriptive video narration
- Improve: Alt text for architecture diagrams, ARIA labels for interactive demo elements
#### Keyboard navigation
- Present: Standard video controls accessible via keyboard
- Improve: Keyboard shortcuts for demo navigation, tab-accessible memory management interfaces
#### Contrast and readability
- Present: High contrast slides, clear typography in presentation
- Improve: Dark mode options for console interfaces, customizable text sizes
#### Text resizing and reflow
- Present: Responsive design considerations mentioned
- Improve: Zoom support verification for technical diagrams, scalable UI elements
#### Media and captions
- Present: Full transcript provided for video content
- Improve: Closed captions with technical term definitions, audio descriptions for visual demonstrations
#### Forms and interactions
- Present: Clear API examples and parameter descriptions
- Improve: Form validation feedback, error state explanations for memory operations
### ๐ DEIB Assessment
#### Cultural breadth
- Present: Enterprise examples from multiple domains (legal, SRE, document verification)
- Improve: Examples from diverse global WordPress communities, non-English use cases
#### Inclusive language
- Present: Clear technical explanations without unnecessary jargon
- Improve: Glossary with plain-language definitions, cultural context for "dreaming" terminology
#### Neurodiversity support
- Present: Structured presentation with clear sections and timestamps
- Improve: Multiple information processing pathways, attention-friendly content chunking
#### Representation
- Present: Focus on technical capabilities rather than specific demographic groups
- Improve: Diverse use case examples, consideration of different organizational structures
#### Psychological safety
- Present: Professional, technical presentation style
- Improve: Acknowledgment of AI limitations, clear boundaries on memory privacy and security
### โ
Logical Validity
#### Strong reasoning
- **Empirical evidence**: Customer metrics (97% error reduction, 6x completion improvement) provide concrete validation
- **Analogical reasoning**: File system approach leverages proven model capabilities rather than inventing new paradigms
- **Causal logic**: Clear progression from problem identification (context management) to solution design (persistent memory) to optimization (dreaming)
#### Fallacies
- **Appeal to novelty**: Minor tendency to emphasize "breakthrough" aspects without sufficient comparison to existing memory systems
- **Hasty generalization**: Limited customer examples may not represent broader applicability across all use cases
- **Cherry-picking**: Selective presentation of success metrics without discussion of limitations or failure modes
#### Tone of voice
- **Professional and confident**: Technical presentation style with clear expertise demonstration
- **Enthusiastic but measured**: Excitement about capabilities balanced with practical implementation details
- **Solution-oriented**: Focus on addressing real problems rather than theoretical capabilities
### ๐ก๏ธ DARVO Analysis
No DARVO tactics detected. This is a straightforward technical presentation of new capabilities with supporting evidence and demonstrations. The presenter acknowledges the evolutionary nature of memory concepts while clearly differentiating their approach.
## ๐ฏ Conclusion
Anthropic's memory and dreaming capabilities represent a significant evolution in AI agent architecture, moving from stateless task execution to persistent learning systems. The file system approach cleverly leverages existing model strengths while the dreaming feedback loop addresses the critical challenge of global optimization across agent sessions. For WordPress developers and the broader web development community, these capabilities suggest a future where AI assistants accumulate domain expertise over time, potentially transforming how we approach debugging, maintenance, and knowledge management. The enterprise-grade controls and multi-agent coordination features indicate readiness for production deployment, making this a technology worth monitoring closely as it becomes more broadly available.
## ๐ Refactor Appendix โ Memory and dreaming for self learning agents
### ๐ Literature Atoms (H3)
#### Memory enables cross-task learning through persistent file system storage
> [!quote]
> "Memory lets agents learn. It lets agents carry forward learnings from their previous tasks. In the simplest sense, imagine a set of tasks. Task one, task two, task three, and so on. The goal is for performance to improve from one task to the next."
**Context & use**:
- Core value proposition around 3:15 in presentation
- Fundamental shift from stateless to stateful agent operation
**Tags**: #ai-agents #memory-systems #performance-optimization
<!-- atomicity: 1 idea โ -->
#### Dreaming provides global memory optimization across agent sessions
> [!quote]
> "Dreaming is a process that looks for patterns and mistakes across agents and sessions, and it automatically curates their memory. It's completely decoupled. Think of it like a feedback loop. Agents write memories and dreaming refines and this process repeats."
**Context & use**:
- Introduced around 11:20 as solution to locally optimal but globally suboptimal memory patterns
- Key innovation distinguishing Anthropic's approach from simple persistence
**Tags**: #ai-agents #optimization #distributed-systems
<!-- atomicity: 1 idea โ -->
#### File system approach leverages existing model capabilities for memory management
> [!quote]
> "With memory we've leaned into that same direction with files. Models and claude are great at navigating virtual environments and a file system. And Claude is also very capable at using familiar tools like bash and GP to read, update, and organize files."
**Context & use**:
- Design philosophy explanation around 6:30
- Demonstrates principle of building on model strengths rather than forcing new paradigms
**Tags**: #ai-design #file-systems #model-capabilities
<!-- atomicity: 1 idea โ -->
### ๐ง Permanent Candidates (H4)
#### AI agents achieve continuous improvement through persistent memory and global optimization
**Claim**: Memory systems combined with out-of-band optimization processes enable AI agents to learn from experience and improve performance across task boundaries, similar to how humans build expertise over time.
**Evidence pointer**: [[#Memory enables cross-task learning through persistent file system storage]] and [[#Dreaming provides global memory optimization across agent sessions]]
**Scope & conditions**:
- Requires sufficient task volume to identify patterns worth optimizing
- Benefits increase with multi-agent environments where learning can be shared
- Most effective for domains with recurring patterns and learnable best practices
**Links**:
- [[Distributed AI systems]] โ because extends coordination capabilities beyond single sessions
- [[Enterprise AI deployment]] โ because enables production-ready agent systems with institutional memory
- [[Human-computer collaboration]] โ because applies-in scenarios where agents need to build domain expertise
<!-- atomicity: 1 idea โ -->
### โ๏ธ Fleeting Queue
- Research memory persistence patterns in WordPress development workflows #fleeting #wordpress
- Investigate privacy implications of persistent agent memory in client work #fleeting #security
- Explore community-driven memory sharing for WordPress troubleshooting #fleeting #community
### โ Things 3
- [ ] Test Anthropic's memory APIs with WordPress development scenarios โ evaluate integration potential #things
- [ ] Document memory system patterns relevant to WordPress agent implementations โ create educational resource #things
---
## Full Transcript
[00:13] Hello. Thank you for joining us today.<br>[00:15] I'm excited to kick things off on uh the<br>[00:18] breakout stage. My name is Ravi and I<br>[00:22] lead the API knowledge team within<br>[00:24] platform at Enthropic. And since joining<br>[00:27] Anthropic last year, my focus has been<br>[00:31] creating the building blocks for agents<br>[00:33] to interact with many forms of<br>[00:35] knowledge, ranging from the context<br>[00:37] window itself to skills, files, and even<br>[00:41] content on the web. And we recently<br>[00:44] released two features that I'm most<br>[00:46] excited about.<br>[00:48] Memory and dreaming. We now have the<br>[00:51] building blocks for agents to learn over<br>[00:53] time and improve from one task to the<br>[00:56] next. And I'll talk about why we think<br>[00:59] memory is important, how we designed it,<br>[01:01] and we'll close out with dreaming, our<br>[01:03] new frontier memory feature.<br>[01:09] There we go.<br>[01:11] But first, a quick timeline of<br>[01:14] milestones that got us here. And the<br>[01:17] important thing is models have been<br>[01:19] improving and agents are capable of<br>[01:23] completing tasks that take many many<br>[01:26] hours and are increasingly complex. So<br>[01:28] in 2024<br>[01:30] we released model context protocol MCP<br>[01:33] and this gave models access to external<br>[01:36] tools and data in a principled way. In<br>[01:39] 2025, we released Cloud Code and the<br>[01:43] agent SDK, which lowered the barrier to<br>[01:45] using and building agents,<br>[01:48] which as an aside, that blows my mind<br>[01:51] that that was in 2025. It honestly feels<br>[01:53] like a lifetime ago. Later that year, we<br>[01:56] launched skills, which gave model models<br>[02:00] a generic abstraction for unlocking and<br>[02:03] effectively bolting on new capabilities<br>[02:06] to complete specific tasks.<br>[02:09] Last month we released cloud managed<br>[02:11] agents a platform for reliably running<br>[02:14] agents that takes care of the hard<br>[02:16] parts.<br>[02:18] Now<br>[02:20] the important through line here is that<br>[02:22] agents can do more and they can operate<br>[02:25] over longer and longer time horizons. So<br>[02:28] in 2025, Meter released a study saying<br>[02:32] the length of tasks that agents can<br>[02:34] complete is doubling every seven months.<br>[02:38] And we're seeing this happen.<br>[02:41] But managing context over long horizon<br>[02:43] tasks is still a work in progress. And<br>[02:47] that's where memory comes in.<br>[02:52] Memory lets agents learn.<br>[02:54] It lets agents carry forward learnings<br>[02:57] from their previous tasks. And in the<br>[03:01] simplest sense, imagine a set of tasks.<br>[03:04] Task one, task two, task three, and so<br>[03:08] on. The goal is for performance to<br>[03:11] improve from one task to the next. In<br>[03:14] the base case without something like<br>[03:16] memory, performance on each task might<br>[03:18] be similar<br>[03:20] because every agent is just starting<br>[03:23] from the same slate. In the optimal<br>[03:26] case, performance improves from task one<br>[03:28] to two, task two to three, and so on.<br>[03:32] That's the goal. Learning from task to<br>[03:34] task, but also from environment to<br>[03:37] environment and agent to agent. So with<br>[03:41] memory agents can learn from common<br>[03:43] strategies and previous mistakes. They<br>[03:46] can learn from the tools they have<br>[03:47] access to or code bases and files. And<br>[03:50] finally they can transfer these<br>[03:52] learnings to and from other agents.<br>[03:56] Think swarms of agents contributing to<br>[03:59] and maintaining a shared understanding<br>[04:01] of the organization they work in.<br>[04:05] This is the dream.<br>[04:10] So we recently launched memory for cloud<br>[04:13] managed agents and this is a major step<br>[04:16] towards this vision. It gives developers<br>[04:19] a frontier memory system that is built<br>[04:22] to maximize intelligence out of the box<br>[04:25] and it supports multi- aent systems all<br>[04:28] with enterprise control and<br>[04:30] observability.<br>[04:35] And we built memory in partnerships with<br>[04:38] several teams that are using managed<br>[04:40] agents. And the results speak for<br>[04:42] themselves. Racketin saw a 97% decrease<br>[04:47] in first pass errors in agents deployed<br>[04:50] in production. Wise docs reduced common<br>[04:54] issues using cross session memory in<br>[04:56] their document document verification<br>[04:58] pipeline. And the through line here and<br>[05:01] the common feedback we get is that our<br>[05:04] memory primitive allows teams to focus<br>[05:07] on building the product not the infra<br>[05:10] and all while reaping the benefits of<br>[05:12] increased intelligence that comes along<br>[05:14] with better memory.<br>[05:20] Now<br>[05:21] you might be thinking is memory really<br>[05:24] new? Rightfully so.<br>[05:28] Memory is a concept that's not entirely<br>[05:30] new, but our approach for it with agents<br>[05:33] has greatly evolved and previously we<br>[05:37] built memory focusing on capabilities in<br>[05:40] the harness. So you might be familiar<br>[05:42] with claw.md for cloud code or dedicated<br>[05:46] memory tools in the SDKs.<br>[05:49] But one pattern we're seeing is that as<br>[05:52] models improve, we really just want to<br>[05:54] get out of Claude's way, similar to what<br>[05:57] we did with skills. And skills was a<br>[06:00] very basic format that was highly<br>[06:03] flexible. And it created endless<br>[06:05] possibilities. And the model understood<br>[06:07] how to operate with it. And so with<br>[06:09] memory, we've leaned into that same<br>[06:11] direction with files.<br>[06:17] So let's talk about some of the<br>[06:19] capabilities that we design memory<br>[06:21] around. So right now with the current<br>[06:24] set of models, we know a few things.<br>[06:27] Models and claude are great at<br>[06:29] navigating virtual environments and a<br>[06:31] file system. And Claude is also very<br>[06:35] capable at using familiar tools like<br>[06:37] bash and GP to read, update, and<br>[06:39] organize files.<br>[06:41] Opus 4.7<br>[06:43] that we launched last month is a<br>[06:46] state-of-the-art model at file system<br>[06:48] based memory and it's increasingly<br>[06:51] capable of discerning which context is<br>[06:54] most important to save for its future<br>[06:57] self and how it should be structured and<br>[06:59] how it should be represented. And so<br>[07:01] with memory we've modeled it as a file<br>[07:04] system to quad. Again, the key principle<br>[07:08] is getting out of cloud's way and<br>[07:10] letting it use the capabilities it<br>[07:12] already has that are very strong. Or as<br>[07:15] we like to say, let it cook. This is the<br>[07:18] dream.<br>[07:22] But we've talked about Claude's memory<br>[07:25] capabilities within the context of a<br>[07:27] single agent, but we want it to work<br>[07:30] across multiple agents that are<br>[07:33] operating in the same environment at the<br>[07:35] same time or maybe across environments.<br>[07:37] And this introduces new requirements<br>[07:40] like for example letting multiple<br>[07:42] sessions share the same memory store at<br>[07:44] the same time. And maybe they want<br>[07:46] different scopes. So we offer readonly<br>[07:48] scopes and read write scopes. So for<br>[07:51] example, you could have organizationwide<br>[07:55] memory that's readon and it's updated<br>[07:57] fairly infrequently and it can be<br>[07:59] accessed by all agents and the same set<br>[08:01] of agents can have access to more<br>[08:04] granular memory stores that they can<br>[08:06] read and write freely and so this<br>[08:08] creates a hierarchy and uh allows the<br>[08:11] memory system to really scale.<br>[08:14] Now, to combat right conflicts, to make<br>[08:16] sure that one agent isn't clobbering<br>[08:18] another's rights, we employed a<br>[08:20] optimistic concurrency control model to<br>[08:22] avoid agents overwriting each other's<br>[08:24] changes.<br>[08:28] And last but not least, memory needs to<br>[08:32] work for real production agents. This<br>[08:35] means enterprisegrade controls. So<br>[08:39] version control uh creates an audit<br>[08:42] trail as agents make changes and<br>[08:44] developers can see how memory evolves<br>[08:46] over times. They can even diff between<br>[08:48] versions and there's attribution to see<br>[08:51] which agent wrote which part of the<br>[08:54] memory.<br>[08:55] And I think one of the most important<br>[08:58] pieces is that memory has a standalone<br>[09:01] API. It enables developers to manage<br>[09:04] their memory from anywhere. And the<br>[09:06] reality is teams are building their<br>[09:08] systems in many different environments.<br>[09:10] So they can use memory via these APIs<br>[09:14] which provide standard credit operations<br>[09:16] but also more enterprise focused<br>[09:18] operations like exports and redactions.<br>[09:26] Okay. So we've covered three key<br>[09:29] components of a memory architecture.<br>[09:31] One, we started with the storage layer,<br>[09:34] which is how the data is managed itself<br>[09:36] and how changes are tracked. Next, the<br>[09:39] structure of memory, optimizing in a<br>[09:41] format that allows Claude to get the<br>[09:44] most out of it. And finally,<br>[09:47] cloud-driven processing for updating the<br>[09:50] memory.<br>[09:53] Now, let's stop at that processing<br>[09:54] point.<br>[09:59] agents writing memory as they work is<br>[10:02] very key to the processing layer. Think<br>[10:03] of it as taking notes while you're doing<br>[10:05] something. But as we scaled up this<br>[10:09] pattern to more complex multi- aent<br>[10:12] works like uh use cases, we started<br>[10:15] seeing some limits across different<br>[10:18] sessions and we started seeing some<br>[10:19] common patterns. For example,<br>[10:22] agents were prone to making many of the<br>[10:25] same mistakes and they learned from<br>[10:27] their mistakes independently. agents<br>[10:29] also displayed some of the same patterns<br>[10:31] of inefficiency.<br>[10:33] And the general theme was memory was<br>[10:36] being updated in a locally optimal way,<br>[10:38] but it wasn't globally optimal. In some<br>[10:41] cases, there was duplication or<br>[10:43] fragmentation.<br>[10:45] And so we started thinking really deeply<br>[10:48] about this problem and in the last<br>[10:50] couple of months we built a feedback<br>[10:51] loop in the processing layer that combed<br>[10:54] some of these problems.<br>[10:58] Now, I've said it a couple times, but<br>[10:59] this time I mean it. This really<br>[11:05] is available in research preview right<br>[11:07] now, and it can be used with managed<br>[11:08] agents.<br>[11:10] It's a process that looks for patterns<br>[11:12] and mistakes across agents and sessions,<br>[11:16] and it automatically<br>[11:18] curates their memory.<br>[11:20] Customers<br>[11:22] like Harvey saw a six times increase in<br>[11:26] completion rates for their legal<br>[11:28] benchmark with Dreaming and we're<br>[11:30] actively seeing other usage of Dreaming<br>[11:32] and we're really excited to see how<br>[11:34] people are benefiting from it.<br>[11:40] A quick overview of how<br>[11:43] it is process<br>[11:45] from sessions. It's completely<br>[11:47] decoupled. Think of it like a feedback<br>[11:50] loop. Agents write memories and dreaming<br>[11:53] refines and this process repeats. And<br>[11:56] dreaming can be kicked off ad hoc,<br>[11:58] nightly, hourly, or it can even be<br>[12:00] triggered by events like the end of a<br>[12:03] session. It's all controlled via API.<br>[12:06] So, it's very flexible.<br>[12:08] Each dreaming run analyzes session<br>[12:11] transcripts. It inspects the existing<br>[12:13] state of memory and it proposes<br>[12:16] optimizations to the memory in scenarios<br>[12:18] where sessions were inefficient, made<br>[12:21] mistakes or needed improved guidance.<br>[12:24] And the output is a verified better<br>[12:28] organized snapshot of memories that<br>[12:31] agents can choose to adopt.<br>[12:34] And dreaming truly enables continuous<br>[12:37] selfarning. It closes the loop on<br>[12:40] memory.<br>[12:44] I mentioned outofband the outofband<br>[12:47] component of dreaming is really really<br>[12:49] critical<br>[12:50] creating a process that's decoupled from<br>[12:53] the underlying agent loop has benefits<br>[12:56] for one architecture makes it useful for<br>[13:00] multi- aent systems looking at cross<br>[13:03] session cross agent transcripts discerns<br>[13:06] patterns that a single agent in<br>[13:08] isolation might struggle to identify<br>[13:12] There's also benefits to having a<br>[13:14] dedicated dreaming harness. It allows<br>[13:16] for clearer objectives. Since dreaming<br>[13:19] is an independent process, there's no<br>[13:21] risks of agents needing to trade off<br>[13:24] between<br>[13:26] improving their memory quality or<br>[13:28] actually just completing their task<br>[13:29] objective.<br>[13:31] It's clean separation. And lastly, it<br>[13:34] doesn't add any latency to the agent.<br>[13:37] It's completely removed from the hot<br>[13:39] pass.<br>[13:43] So zooming out,<br>[13:46] we now have a robust memory layer that<br>[13:48] can be shared across agents and<br>[13:50] environments instead of only within<br>[13:52] specific tasks or usage. We also have<br>[13:55] dreaming, a process that globally<br>[13:58] optimizes and reconciles memory across<br>[14:01] agents.<br>[14:02] And the result is a capable memory<br>[14:05] system for organizational memory that is<br>[14:08] capable of scaling up both the size as<br>[14:12] well as the quality of memory. And the<br>[14:17] way I think about it is sharing memory<br>[14:19] that's constantly improving across<br>[14:21] agents raises the floor for every agent<br>[14:24] and dreaming raises it even further.<br>[14:31] And if you really explode the size of<br>[14:34] this capability and you pull it all<br>[14:36] together, memory becomes a huge source<br>[14:40] of knowledge.<br>[14:50] models or test time compute where<br>[14:54] letting models spend some tokens to<br>[14:56] explore a problem on average produces<br>[14:59] better outcomes. With dreaming, agents<br>[15:02] are doing the same thing. They're<br>[15:04] spending some work up front to curate<br>[15:06] and produce higher quality memory and<br>[15:08] that pays dividends for all downstream<br>[15:10] agent performance.<br>[15:16] We believe that dreaming and memory form<br>[15:19] the basis of a frontier memory system.<br>[15:21] Memory on the left helps agents learn<br>[15:24] and remember from task to task and<br>[15:26] dreaming on the right verifies,<br>[15:28] organizes and enriches the memory.<br>[15:32] The way I think about it is dreaming is<br>[15:35] the bridge between memory as we know it<br>[15:38] today and organization scale memory and<br>[15:41] knowledge.<br>[15:44] Now I'm going to flip over to a demo.<br>[15:53] So this uses both dreaming and memory in<br>[15:56] practice. It's an agent platform for<br>[15:59] SRRES<br>[16:00] and everyone loves being on call, right?<br>[16:02] So here we have a system that looks at<br>[16:05] incoming alerts and pages and for some<br>[16:07] of them it actually uh spins up agents<br>[16:10] that decide how to triage and fix the<br>[16:12] issues as they come up<br>[16:16] and it has access to a couple of memory<br>[16:18] stores. One is a readonly orwide<br>[16:22] knowledge memory store. And so this<br>[16:24] contains things like the SLO policy or<br>[16:27] runbooks and on call mappings<br>[16:29] information that doesn't change very<br>[16:31] often but is important for every agent.<br>[16:33] And it also has access to read write<br>[16:35] memory stores that are specific to the<br>[16:38] task at hand.<br>[16:40] Now<br>[16:41] we can dig into an interesting example<br>[16:44] here where an agent investigated<br>[16:49] and found the root cause of an alert<br>[16:54] and<br>[16:56] it put up a fix and it noted in memory.<br>[16:59] You can see the writes. It noted in<br>[17:00] memory that a fix was in flight and it<br>[17:03] was incoming. And then<br>[17:06] the shared memory store can be read by<br>[17:10] uh subsequent sessions. And so here we<br>[17:13] can see that when a similar issue<br>[17:15] arises,<br>[17:17] the downstream session already knows<br>[17:20] that a fix is in flight and it's able to<br>[17:22] act based on that information.<br>[17:27] And I really think this is<br>[17:31] just such a cool pattern because you<br>[17:33] know the I I was once an SR in my career<br>[17:36] and this really uh helps coordinate<br>[17:40] across all agents<br>[17:42] and it's really cross- session memory at<br>[17:44] work.<br>[17:46] Now for running in enterprises uh an<br>[17:50] important piece here is audit logs and<br>[17:53] history. So with memory you can see the<br>[17:57] full version history. You can switch<br>[17:59] between different versions and you can<br>[18:01] also attribute the rights to specific<br>[18:03] sessions. And there's also a<br>[18:06] precondition here and that's the<br>[18:07] optimistic concurrency model to make<br>[18:09] sure that agents aren't clobbering each<br>[18:11] other's rights.<br>[18:14] Now<br>[18:16] we'll flip over to the cloud console.<br>[18:27] One moment.<br>[18:29] There we go.<br>[18:31] So, here we see the list of underlying<br>[18:34] memory stores that we were using in that<br>[18:35] application. And so, we'll go over to<br>[18:38] our team SR memory store. And you can<br>[18:40] see exactly the underlying files that<br>[18:42] were populated there.<br>[18:45] And we're going to head over to the<br>[18:46] dreams tab. And we're going to kick off<br>[18:48] a dream. And so this can also be done<br>[18:51] via the API uh but also in the UI. And<br>[18:55] we're going to select the team SR memory<br>[18:56] store and we're going to select a batch<br>[18:58] of sessions from the last seven days. So<br>[19:00] that's about five.<br>[19:02] And we're going to start dreaming.<br>[19:05] As it begins, you can see it making<br>[19:06] progress.<br>[19:09] You can look at the dream and see that<br>[19:11] there are five input sessions. And then<br>[19:14] you'll see there's actually an output<br>[19:15] memory store that's being compiled. And<br>[19:18] you can actually open the dreaming<br>[19:19] session. This is an important piece.<br>[19:21] Dreaming itself is built on cloud manage<br>[19:23] agents. So it's a feature for cloud<br>[19:25] manage agents built on cloud manage<br>[19:26] agents itself. You can see that it spins<br>[19:29] off a series of sub aents to analyze<br>[19:30] transcripts in parallel. And it has all<br>[19:33] the same UX as the rest of manage<br>[19:35] agents. And we'll fast forward to a<br>[19:38] completed dream session. And you can see<br>[19:41] the diffs on the memory store updates.<br>[19:45] And<br>[19:46] in this example here, we see that<br>[19:51] across sessions and across agents,<br>[19:54] there's a a common pattern of an alert<br>[19:57] triggering 60 seconds after a CPU spike.<br>[20:01] And this is a recurring pattern. And so<br>[20:04] it starts to discern that there might be<br>[20:06] some issue with the retry behavior.<br>[20:09] And so it makes a note. So this dreaming<br>[20:11] process makes a note and updates memory<br>[20:13] so that the next agent that sees this<br>[20:16] pattern can actually<br>[20:19] similarly updates the triage log in a<br>[20:22] more holistic way rather than just being<br>[20:24] a wrote log of all the events that<br>[20:26] happened.<br>[20:33] And that's memory and dreaming at work.<br>[20:34] So we'll flip back over to the slides<br>[20:39] and we'll close out. So with that demo,<br>[20:43] we saw how we can build a a production<br>[20:46] agent that uses memory and dreaming to<br>[20:50] self-improve the agents.<br>[20:52] And<br>[20:54] this year I think is going to be a<br>[20:55] really big one. We're going to see<br>[20:57] agents run for longer and longer time<br>[20:59] scales, days for example, and<br>[21:02] continuously building upon and improving<br>[21:05] their understanding and view of the<br>[21:07] world around them is very critical to<br>[21:09] unlocking that capability. And I think<br>[21:12] memory systems are going to be a big<br>[21:14] part of what makes this behavior<br>[21:16] possible. So give it a try. I'm excited<br>[21:20] to see what everyone builds with it. And<br>[21:23] I'll be outside if you have more<br>[21:24] questions. Thank you.
<!-- deep-read:sections end -->
## Highlights
- Memory lets agents learn. It lets agents carry forward learnings from their previous tasks. In the simplest sense, imagine a set of tasks. Task one, task two, task three, and so on. The goal is for performance to improve from one task to the next.
- Note: ๐ Memory enables cross-task learning through persistent file system storage ยท - Core value proposition around 3:15 in presentation - Fundamental shift from stateless to stateful agent operation ยท #atom/literature/h1
- Dreaming is a process that looks for patterns and mistakes across agents and sessions, and it automatically curates their memory. It's completely decoupled. Think of it like a feedback loop. Agents write memories and dreaming refines and this process repeats.
- Note: ๐ Dreaming provides global memory optimization across agent sessions ยท - Introduced around 11:20 as solution to locally optimal but globally suboptimal memory patterns - Key innovation distinguishing Anthropic's approach from simple persistence ยท #atom/literature/h2
- With memory we've leaned into that same direction with files. Models and claude are great at navigating virtual environments and a file system. And Claude is also very capable at using familiar tools like bash and GP to read, update, and organize files.
- Note: ๐ File system approach leverages existing model capabilities for memory management ยท - Design philosophy explanation around 6:30 - Demonstrates principle of building on model strengths rather than forcing new paradigms ยท #atom/literature/h3
- AI agents achieve continuous improvement through persistent memory and global optimization
- Note: Requires sufficient task volume to identify patterns worth optimizing ยท - [[Distributed AI systems]] โ because extends coordination capabilities beyond single sessions ยท #atom/zettel/z1
- Research memory persistence patterns in WordPress development workflows #fleeting #wordpress
- Note: โ๏ธ Fleeting capture #atom/fleeting/f1
- Investigate privacy implications of persistent agent memory in client work #fleeting #security
- Note: โ๏ธ Fleeting capture #atom/fleeting/f2
- Explore community-driven memory sharing for WordPress troubleshooting #fleeting #community
- Note: โ๏ธ Fleeting capture #atom/fleeting/f3
- Limited customer examples may not represent broader applicability across all use cases
- Note: ๐ Fallacy: Hasty Generalization #fallacy/hasty-generalization