OpenClaw's Dreaming Feature Helps Your AI Remember Better
One of the easiest ways to notice an AI assistant's limits is this: it feels sharp today, then oddly forgetful tomorrow.
You explain a workflow, mention a preference, or spend half an hour giving useful context. The chat goes well. Then the next session starts and you are back to repeating yourself.

That is the problem OpenClaw's Dreaming feature is trying to solve. It is still marked as experimental at the time of writing, but the idea is already useful.
Instead of treating memory like a junk drawer, Dreaming periodically reviews what happened, keeps what matters, and leaves the rest behind. The goal is simple: help your AI remember the right things.
Why "Dreaming"?
Because sleep is when the brain sorts things out.
We do not remember every tiny detail from the day. We keep the useful parts, drop the noise, and sometimes connect ideas in a way that only makes sense later.
OpenClaw is borrowing that idea.
When Dreaming runs, it reviews recent conversations, looks for what keeps coming up, and promotes only the stronger signals into longer-term memory. It also writes a plain-English summary of what it noticed.
That part matters.
A lot of AI memory features feel like black boxes. Dreaming is easier to trust because you can actually inspect what it decided was worth keeping.
How Dreaming Works
At a high level, Dreaming runs on a schedule. The default is nightly at 3 AM, though that can be customized.
The process is split into three phases.
1. Light Phase
This is the cleanup pass.
Dreaming goes through recent conversations, removes duplicates, and organizes the noise before anything gets promoted.
2. REM Phase
This is the reflection pass.
The system looks for patterns, recurring topics, and things that keep coming up. If you keep talking about the same project or problem, that starts to matter.
3. Deep Phase
This is where promotion decisions happen.
The system scores what it found and only promotes the strongest memories into long-term storage, such as MEMORY.md.
That part matters because Dreaming is disposable by default. It is not trying to save everything forever. It is trying to keep what will still be useful later.
The Dream Diary Is the Best Part
After each cycle, OpenClaw writes a summary to DREAMS.md.
It is basically a short diary entry in plain English showing what the system noticed. Something like:
"You've been talking a lot about network routing configurations lately. This looks like an ongoing project."
That transparency makes the feature easier to trust.
Instead of asking you to believe a black box, OpenClaw shows its work. You can read the diary, inspect what it thinks is important, and decide whether the memory behavior feels sensible.
There is also a Dreams UI you can open with Ctrl + I, which gives you a nicer way to browse that information.
How to Turn Dreaming On
Dreaming is disabled by default, so you need to enable it explicitly.
You can do that in your OpenClaw config like this:
{
"plugins": {
"entries": {
"memory-core": {
"config": {
"dreaming": {
"enabled": true
}
}
}
}
}
}
You can also customize the schedule if you do not want it running only once a night. For example, you might prefer a shorter interval like every six hours, depending on how heavily you use your agent.
If you would rather manage it from chat, OpenClaw also supports slash commands:
/dreaming on/dreaming off/dreaming status/dreaming help
And if you want more control, there are CLI tools for previewing what would be promoted and understanding why something made the cut.
That is useful if you are the kind of person who likes seeing the scoring logic before trusting automation.
Why This Matters
Without some kind of memory consolidation, AI assistants tend to become either forgetful or cluttered.
Forgetful is obvious: the assistant loses important context and becomes less useful over time.
Cluttered is the quieter problem. If a system saves too much, long-term memory fills up with noise. Old one-off details start sitting beside real preferences and active projects. The result is not intelligence. It is hoarding.
Dreaming aims for the middle ground: keep less, but keep the right things. If it works well, your AI becomes more useful over time because it retains context more cleanly.
Why This Lands at the Right Time
This feature also lands at a good time.
A lot of developers have been complaining lately that AI coding tools feel less dependable than they used to. When that happens, memory matters more. If an assistant already makes mistakes, it feels even worse when it also forgets your setup, preferences, and ongoing work – especially in more hands-on setups like local AI assistance in VS Code.
Dreaming does not fix weak reasoning. But it can reduce one layer of friction by helping the agent stay grounded in the context that actually matters.