Anthropic and OpenAI now call a memory step "dreaming". Does your brain run one at night?

Published · Updated · By MatrixBunny

Anthropic and OpenAI each run a background step called "dreaming" that tidies what an AI has stored. We think the comparison with sleep is half right: sleeping brains do seem to go back over the day, and an Anthropic research post on agent memory sets that science beside the step. The half that does not carry over is the dream itself, the part you sit through: whether it does any of that work is not settled, and what happens to it afterwards is where the two part company.

You wake with a whole place still in your head: a staircase, a voice at the top of it, a colour you have no name for. You pick up the phone to see the time. When you look up, the staircase is gone, and you can no longer say whose voice it was.

We made that morning up; you will have had your own. We built Dream Atlas by MatrixBunny (https://apps.apple.com/us/app/dream-atlas/id6809951490?ct=web-geo-do-ai-models-dream&mt=8), a dream journal for iPhone. If a dream turns out to be the night's sweepings, have we built an app for keeping sweepings?

Meanwhile the people who build AI have been giving their systems a step they call dreaming. We went to read what the labs borrowed, and whether your brain really does it.

What is "dreaming" in AI agents?

In May 2026 Anthropic described a feature for its Claude agents this way: "Dreaming is a scheduled process in Claude Managed Agents that reviews agent sessions and memory stores, extracts patterns, and curates memories so agents improve over time." (https://claude.com/blog/new-in-claude-managed-agents)

OpenAI uses the same word. In June 2026 OpenAI wrote that ChatGPT has had a first version of "dreaming" since April 2025, and called it "a method for ChatGPT to automatically curate memories in the background by referencing chat history" (https://openai.com/index/chatgpt-memory-dreaming).

Why would software want that? The AI researcher Andrej Karpathy said on the Dwarkesh Podcast in October 2025 that when he goes to sleep "There's some process of distillation into the weights of my brain", and then: "We don't have an equivalent of that in large language models." (https://www.dwarkesh.com/p/andrej-karpathy) Weights are the numbers inside a model that training sets: its long-term learning, as opposed to notes it can look up.

In November 2026 an Anthropic research post made the comparison itself: "As we sleep, and during quiet rest, the hippocampus replays our recent experiences." Going back over an agent's logs to fix its notes, the post says, "is often called dreaming" (https://www.anthropic.com/research/components-of-agent-memory).

The same post says agent memory "excludes other ways models can learn or manage context, such as changes to their weights". So the dreaming these posts describe is not the thing Karpathy said was missing. As described, it rewrites notes.

We doubt anything at either lab is asleep. So where did the word come from?

Does the human brain do the same thing during sleep?

Start with rats. In 1994 Wilson and McNaughton reported in Science that, in three rats, brain cells that had fired together while the animal moved through a space tended to fire together again in the sleep that followed, more than in the sleep before (https://doi.org/10.1126/science.8036517). Three rats, and nobody could ask them what they dreamed.

In people the evidence comes sideways. In 2020 Hu and colleagues pooled 91 experiments in which researchers replayed cues tied to something just learned to people as they slept, and found in Psychological Bulletin that the cueing helped memory on average, by a small-to-moderate margin, in non-REM sleep and not in REM sleep, the rapid-eye-movement stage (https://doi.org/10.1037/bul0000223).

Now the part we keep turning over. In 1995 McClelland, McNaughton and O'Reilly proposed in Psychological Review that the brain needs two learning systems: a hippocampus, a small structure deep in the brain, that takes in new memories quickly, and a neocortex, the brain's outer layer, that changes a little each time those memories are brought back up.

Part of their argument came from artificial neural networks, which lost what they already knew when made to learn new things quickly (https://doi.org/10.1037/0033-295X.102.3.419).

Thirty years on, Anthropic's post about agent memory links straight to that 1995 paper. Who is copying whom?

Does dreaming help memory, or is it a side effect?

Everything so far is about sleep. The dream, the thing you sit through, is a separate question, and here we found no settled answer.

In 2010 Wamsley and colleagues reported in Current Biology that, of 99 students trained on a virtual maze, the 4 nappers whose dream reports mentioned the maze improved tenfold more at a later retest than the 46 nappers whose reports did not. That is four people, and those four had also been among the poorest performers in training.

The authors add: "it is not our contention that dream experiences cause memory consolidation during sleep." (https://doi.org/10.1016/j.cub.2010.03.027)

Four nappers is thin. In 2023 Hudachek and Wamsley pooled sixteen studies in the journal Sleep and found that dreaming about a task learned before sleep went with better memory for it afterwards (https://doi.org/10.1093/sleep/zsad111). Went with, which is not the same as caused.

So what is a dream for? In 2014 Wamsley wrote: "It is not clear whether dreaming per se has a function at all." (https://doi.org/10.1007/s11910-013-0433-5) We see three candidates in what we read, and we cannot rule any of them out.

It may be a window, with the work going on behind it. Wamsley's own reading in that 2014 paper: "Dreaming reflects the functional brain process of memory consolidation, but this does not mean that dreams, per se, have a function."

It may be a shredder. In 1983 Crick and Mitchison proposed in Nature that REM sleep removes unwanted patterns from the brain's networks by "reverse learning", so that the trace of a dream "is weakened, rather than strengthened, by the dream" (https://doi.org/10.1038/304111a0).

Or it may be noise added on purpose. In 2021 the neuroscientist Erik Hoel argued in the journal Patterns that dreams evolved to stop the brain from overfitting to its daily experience, in the way that noisy or corrupted inputs are used to keep artificial neural networks from overfitting (https://doi.org/10.1016/j.patter.2021.100244). Overfitting is learning the examples so exactly that anything new trips you up.

Notice which way that loan runs. The labs named a filing job after dreams, and a neuroscientist explained dreams with a trick from machine learning.

Which of the three does last night's sound like to you?

Why do we forget dreams so quickly?

This is where the machine and the brain part company. Anthropic's documentation says a dream "reads an existing memory store alongside past session transcripts, then produces a new, reorganized memory store", and that "you can review the output and discard it if you don't like the result" (https://platform.claude.com/docs/en/managed-agents/dreams). The machine's dream ends as a document somebody can check.

Here is yours. In a 2010 review in Trends in Cognitive Sciences, Nir and Tononi wrote: "Unless the dreamer wakes up, most dreams are forever lost. Upon awakening, memory for the dream often vanishes rapidly unless written down or recorded". They add: "It is not clear why this is the case" (https://doi.org/10.1016/j.tics.2009.12.001).

Suppose the night's work is real, and suppose the dream is part of it. Why would a brain keep the results and drop the part you watched? Is the forgetting a flaw, or is it the design, as Crick and Mitchison proposed? We do not know.

Suppose it is the design. Then the dream you catch is one the night meant to throw away. Does that make it worth less, or does it make yours the only copy?

The lab's job leaves a record. Your night leaves none unless you make one.

Where does an app fit?

How do you make a record when you are barely awake? How does ours do it? Tap the moon. Say what you remember, half asleep, out of order. Keep the original audio and hear your own half-asleep voice again. It is free to record, type and keep as many dreams as you like, and there is no account to make.

Yes, an AI does the filing in ours too. After a page about filing jobs named after dreams, we noticed. The text of a dream — never the audio — goes to our AI provider to be written up, over an encrypted connection, and only after you've said yes; you can switch it off any time in Settings.

Dream Atlas is for reflection and self-exploration. It is not therapy, diagnosis, or medical advice.

What can you check yourself?

Two things to try. They are your own experiments, not results from anyone's study. Tomorrow, say the dream aloud before you move, and on another morning wait ten minutes first, then compare what is left. And a month from now, before you open a note you made, try to recall the dream. Then read what you wrote.

Nothing we read tests whether keeping a dream changes how well you remember anything else. What you keep is the dream. If you find you would rather not remember them, don't. It is your night.

Tomorrow there will be another staircase, for about as long as this sentence takes. A lab would schedule a job for it. You get one try, and no file. Whose voice will be at the top?

Questions people ask

Do AI models dream?

Anthropic and OpenAI each run a background step called "dreaming" that tidies what an AI has stored. We think the comparison with sleep is half right. The half that does not carry over is the dream itself, the part you sit through.

What is "dreaming" in AI agents?

In May 2026 Anthropic described a feature for its Claude agents this way: "Dreaming is a scheduled process in Claude Managed Agents that reviews agent sessions and memory stores, extracts patterns, and curates memories so agents improve over time." In June 2026 OpenAI wrote that ChatGPT has had a first version of "dreaming" since April 2025, and called it "a method for ChatGPT to automatically curate memories in the background by referencing chat history".

Does the human brain do the same thing during sleep?

In 1994 Wilson and McNaughton reported in Science that, in three rats, brain cells that had fired together while the animal moved through a space tended to fire together again in the sleep that followed, more than in the sleep before. In 2020 Hu and colleagues pooled 91 experiments in which researchers replayed cues tied to something just learned to people as they slept, and found in Psychological Bulletin that the cueing helped memory on average, by a small-to-moderate margin, in non-REM sleep and not in REM sleep, the rapid-eye-movement stage.

Does dreaming help memory, or is it a side effect?

In 2023 Hudachek and Wamsley pooled sixteen studies in the journal Sleep and found that dreaming about a task learned before sleep went with better memory for it afterwards. Went with, which is not the same as caused. In 2014 Wamsley wrote: "It is not clear whether dreaming per se has a function at all."

Why do we forget dreams so quickly?

In a 2010 review in Trends in Cognitive Sciences, Nir and Tononi wrote: "Unless the dreamer wakes up, most dreams are forever lost. Upon awakening, memory for the dream often vanishes rapidly unless written down or recorded". They add: "It is not clear why this is the case".

Sources

  1. Dream Atlas on the App Store (accessed )
  2. Anthropic blog: new in Claude Managed Agents (May 2026) (accessed )
  3. OpenAI: ChatGPT memory and dreaming (June 2026) (accessed )
  4. Andrej Karpathy on the Dwarkesh Podcast (October 2025) (accessed )
  5. Anthropic research post on the components of agent memory (November 2026) (accessed )
  6. Claude Managed Agents documentation: Dreams (accessed )
  7. Wilson & McNaughton 1994, Science: reactivation of hippocampal ensemble memories during sleep (accessed )
  8. Hu, Cheng, Chiu & Paller 2020, Psychological Bulletin: targeted memory reactivation meta-analysis (accessed )
  9. McClelland, McNaughton & O'Reilly 1995, Psychological Review: complementary learning systems (accessed )
  10. Wamsley, Tucker, Payne, Benavides & Stickgold 2010, Current Biology: dreaming of a learning task (accessed )
  11. Hudachek & Wamsley 2023, Sleep: dreaming and memory consolidation meta-analysis (accessed )
  12. Wamsley 2014, Current Neurology and Neuroscience Reports: dreaming and offline memory consolidation (accessed )
  13. Crick & Mitchison 1983, Nature: the function of dream sleep (accessed )
  14. Hoel 2021, Patterns: the overfitted brain (accessed )
  15. Nir & Tononi 2010, Trends in Cognitive Sciences: dreaming and the brain (accessed )