RESEARCH — DEC 4, 2026

Is search all you need for agent memory?

Last year, we wrote about how simply placing past trajectories into files achieved stronger results on memory benchmarks than specialized memory systems. Although agentic search has largely solved recall, learning and improving with experience is still an open challenge.

We recently introduced FrontierMemory to evaluate how agents learn from past experience to improve on end tasks, enabling comparison of agent learning across models and techniques.

We use FrontierMemory to compare how using only trajectory search (which was enough to saturate recall-based benchmarks) compares to dreaming:

  1. Trajectory search: Agents have access to past trajectories and are instructed to search them for relevant experience.
  2. Dreaming: Agents are given memory formed by dreaming across past trajectories (with direct trajectory search removed for a clean comparison).

Dreaming improves task performance while also reducing per-task cost

Agents with search alone cost more per task and achieve lower pass rates than agents with memory created through dreaming.

Task agent with max reasoning (Opus 5.5): pass rate vs. average task cost for dreaming with Gemini 4 Neon, Fable 5.2, and Opus 5.5 versus search with Opus 5.5
Dreaming with frontier models is up to 1.4x more performant and up to 1.5x cheaper per task than trajectory search alone.

Without memory, the agent must perform additional searches at test-time, rather than learning offline (at sleep-time), prior to test-time.

Trajectory search requires more test-time compute to be an effective form of memory

At lower reasoning levels (less effort at test time), search achieves minimal improvement over having no memory or search at all, largely because the agent does not know when to search under minimal reasoning.

Task agent with minimal reasoning (Opus 5.5): pass rate vs. average task cost for dreaming with Fable 5.2, Gemini 4 Neon, and Opus 5.5 versus search with Opus 5.5

By contrast, agents with dreamed memory achieve much higher performance even with minimal test-time reasoning. Always-in-context memory (such as skill descriptions and a top-level MEMORY.md) steers the agent’s behavior without retrieval, and also cues the agent on when to retrieve what.

Bad dreams are worse than no dreams

Dreaming is an unsolved research problem and most models today perform poorly at it. Compared to models that are weak at dreaming, pure trajectory search can be a strong baseline.

Frontier models like Gemini 4 Neon, Fable 5.2, and Opus 5.5, however, generate learned context that substantially improves both cost and performance for the task agent, even with no access to past trajectories.

Task agent performance by memory model (Opus 5.5 and GPT-6 Sol): pass rate vs. average task cost on a log scale for each memory model, compared against a search-only baseline

Because effective dreaming currently relies on frontier models during learning, search can be more practical today when dream-time compute is constrained. As smaller and cheaper models get better at forming memory, we expect dreaming to become a dominant inference workload which allows organizations to reduce test-time compute by increasing sleep-time compute.

Conclusion

We compare dreaming and search in isolation, showing that dreaming is more effective when the right harness and model are used.

In practice, today’s most advanced stateful agents combine both dreams and search — allowing them to reprogram their behavior and search past experience more effectively.