8news

Tech • AI • Robotics

VIDEO
ENFR
TodayShortsTop StoriesYour topicFor youTopicsAll videosYT channelsArchivesSearchFavorites

Memory and dreaming for self-learning agents

8/10
AnthropicClaudeMay 8, 2026 at 06:49 PM23:41
Audio player
0:00 / 0:00

TL;DR

Anthropic has introduced a new memory system and a complementary process called Dreaming to enable AI agents to continuously learn, share knowledge, and improve performance over time.

KEY POINTS

Memory as a Core AI Primitive

Anthropic is positioning memory as the next foundational building block for advanced AI agents, alongside tools and skills. The goal is to enable continuous self-learning, allowing agents to retain knowledge about tasks, environments, and past mistakes. This shift addresses limitations in long-running tasks where context and learning have historically been fragmented or lost.

From Static Context to Self-Learning Agents

The new system allows agents to store insights such as success criteria, failed strategies, and operational patterns. Over time, agents can refine their behavior by referencing accumulated experience. This enables systems that improve autonomously rather than relying solely on retraining or human intervention.

File-System-Based Memory Design

Memory is structured as a hierarchical file system that agents can directly manage. Using familiar tools, agents can create, update, and organize files dynamically. This approach leverages advances in models like Claude Opus 4.7, which demonstrate strong performance in deciding what information to retain and how to structure it efficiently.

Built for Multi-Agent Environments

The system is designed for scenarios where hundreds or thousands of agents operate simultaneously. Features such as permission scopes allow agents to have read-only or read-write access to different memory stores, while optimistic concurrency controls prevent conflicts when multiple agents update shared memory.

Enterprise Controls and Transparency

To support production use, the platform includes version history, audit logs, and attribution metadata. Developers can track who made changes, when they occurred, and what was modified. A standalone API also enables integration with external systems for tasks like PII filtering, memory cleanup, and replication.

Performance Gains in Early Adoption

Early users report significant improvements. Rakuten reduced first-pass errors in internal knowledge agents by 90%, while also achieving better token efficiency, lower costs, and reduced latency. These gains stem from agents learning from prior mistakes and sharing that knowledge.

Introduction of Dreaming

Anthropic unveiled Dreaming, a new asynchronous process that analyzes past agent activity to improve memory quality. It scans transcripts across sessions, identifies patterns, and updates memory stores with consolidated insights. This process runs independently, avoiding added latency during active tasks.

Cross-Agent Learning at Scale

Dreaming enables system-wide learning by identifying trends that individual agents might miss. For example, it can detect recurring failures or inefficiencies across multiple agents and encode those insights into shared memory, improving future performance collectively.

Significant Benchmark Improvements

In early testing, Harvey reported a sixfold increase in task completion rates on a legal benchmark after deploying Dreaming. The improvement highlights the impact of aggregating and applying insights across multiple agent runs.

Memory as a Scalable Knowledge Base

The combination of memory and Dreaming transforms simple context storage into a large-scale, continuously updated knowledge base. This system can grow with enterprise deployments, maintaining relevance while avoiding excessive computational overhead through structured updates and indexing.

Real-World Operational Example

In a demonstration, site reliability agents responding to alerts shared findings through memory. Subsequent agents avoided redundant investigations, improving efficiency. Dreaming later consolidated these insights, removed duplicates, and identified systemic issues such as recurring delays tied to retry logic.

CONCLUSION

Anthropic’s memory and Dreaming systems mark a shift toward AI agents that learn cumulatively and collaboratively, enabling more efficient, scalable, and autonomous operation in complex environments.

Explain this
Full transcript

More from Anthropic