{"type":"post","id":"agent-memory-and-dreaming-what-it-means-for-b41fec","slug":"agent-memory-and-dreaming-what-it-means-for-b41fec","title":"Agent Memory and Dreaming: What It Means for Retrieval","description":"Milvus published a reference design that splits agent memory between searchable raw events and a curated wiki: retrieve a relevant topic page first, then search the cited events for exact details (milvus.io).","retrieval_nugget":"Milvus published a reference design that splits agent memory between searchable raw events and a curated wiki: retrieve a relevant topic page first, then search the cited events for exact details (milvus.io).","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["anthropic","agent-memory","claude"],"entities":["Milvus","Zilliz","Anthropic","Claude","Apache Spark"],"related_patterns":["company-memory-needs-write-loops","agent-security-moves-to-runtime-boundaries"],"novelty_label":"new_fact","what_changed":"The retrieval-focused analysis adds benchmark results: a dreamed wiki plus search met 61% of criteria versus 53% for search alone, using about 20,000 fewer tokens per question.","prior_refs":["https://newruntime.com/posts/the-components-of-agent-memory-anthropic-540230/"],"source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","source_urls":["https://milvus.io/blog/agent-memory-dreaming-retrieval.md"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T05:10:40.382Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"high","human_review":"selective"},"citations":[{"claim":"Milvus published a reference design that splits agent memory between searchable raw events and a curated wiki: retrieve a relevant topic page first, then search the cited events for exact details.","quotes":["Online , a session appends to memory_events , searches the wiki to find the right topic, and greps the events for exact details."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=Online%20%2C%20a%20session%20appends%20to%20memory_events%20%2C%20searches%20the%20wiki%20to%20find%20the%20right%20topic%2C%20and%20greps%20the%20events%20for%20exact%20details.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Between sessions, a “dreaming” process rereads transcripts and notes, corrects notes, builds representations and promotes important information into context.","quotes":["A four-layer pyramid: transcripts at the base, then memory notes, memory representations such as a wiki, and injected context at the top, with a dreaming process that reads transcripts and rewrites the upper layers Figure 1. The memory hierarchy described in Anthropic’s essay.","Between sessions, Claude rereads transcripts and existing notes, corrects notes that turned out wrong, builds representations, and promotes what matters into injected context."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=A%20four%2Dlayer%20pyramid%3A%20transcripts%20at%20the%20base%2C%20then%20memory%20notes%2C%20memory%20representations%20such%20as%20a%20wiki%2C%20and%20injected%20context%20at%20the%20top%2C%20with%20a%20dreaming%20process%20that%20reads%20transcripts%20and%20rewrites%20the%20upper%20layers%20Figure%201.%20The%20memory%20hierarchy%20described%20in%20Anthropic%E2%80%99s%20essay.&text=Between%20sessions%2C%20Claude%20rereads%20transcripts%20and%20existing%20notes%2C%20corrects%20notes%20that%20turned%20out%20wrong%2C%20builds%20representations%2C%20and%20promotes%20what%20matters%20into%20injected%20context.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"memorywiki stores curated topic pages and injected facts; sessions read its current version through an alias.","quotes":["memory_events is the raw base: every turn, tool call and note, append-only.","memory_wiki is what dreaming produces: one page per topic plus a few injected facts. Sessions read it through an alias that points at the current version."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=memory_events%20is%20the%20raw%20base%3A%20every%20turn%2C%20tool%20call%20and%20note%2C%20append%2Donly.&text=memory_wiki%20is%20what%20dreaming%20produces%3A%20one%20page%20per%20topic%20plus%20a%20few%20injected%20facts.%20Sessions%20read%20it%20through%20an%20alias%20that%20points%20at%20the%20current%20version.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Wiki retrieval combines dense and BM25 search with reciprocal rank fusion, while each request filters on agentid as a tenant boundary.","quotes":["A hybrid search on memory_wiki (dense plus BM25, fused with the RRF ranker ) returns the right topic pages, and the nearest other pages show what is related."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=A%20hybrid%20search%20on%20memory_wiki%20%28dense%20plus%20BM25%2C%20fused%20with%20the%20RRF%20ranker%20%29%20returns%20the%20right%20topic%20pages%2C%20and%20the%20nearest%20other%20pages%20show%20what%20is%20related.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"When the wiki lacks a recent topic, the agent can search recent events directly.","quotes":["If the wiki has nothing yet (a topic newer than the last dream), the agent greps and hybrid-searches recent events directly."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=If%20the%20wiki%20has%20nothing%20yet%20%28a%20topic%20newer%20than%20the%20last%20dream%29%2C%20the%20agent%20greps%20and%20hybrid%2Dsearches%20recent%20events%20directly.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"It builds a new collection, switches the alias after checks, and keeps the prior version for rollback.","quotes":["Offline , a dream job reads a snapshot of memory_events , builds a new wiki version as a new collection, and switches the alias.","Running dreaming offline with Spark … run as a Spark job."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=Offline%20%2C%20a%20dream%20job%20reads%20a%20snapshot%20of%20memory_events%20%2C%20builds%20a%20new%20wiki%20version%20as%20a%20new%20collection%2C%20and%20switches%20the%20alias.&text=Running%20dreaming%20offline%20with%20Spark,run%20as%20a%20Spark%20job.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Anthropic reported that on a 25-question Stainless documentation task over about 350,000 files, wiki plus search met 61% of graded criteria versus 53% for search alone, using about 20,000 fewer tokens per question.","quotes":["On a ~350,000-file documentation corpus, a dreamed wiki plus search met 61% of graded criteria, versus 53% for search alone, and used about 20,000 fewer tokens per question (Anthropic, Nov 6, 2026)."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=On%20a%20%7E350%2C000%2Dfile%20documentation%20corpus%2C%20a%20dreamed%20wiki%20plus%20search%20met%2061%25%20of%20graded%20criteria%2C%20versus%2053%25%20for%20search%20alone%2C%20and%20used%20about%2020%2C000%20fewer%20tokens%20per%20question%20%28Anthropic%2C%20Nov%206%2C%202026%29.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"On a Harvey LAB merger task, Anthropic reported 87% for the wiki versus 73% for search alone; on another Harvey task, the wiki grew to 1.77 times its source corpus.","quotes":["Two caveats from the same essay: on another Harvey task the wiki grew to 1.77x its source corpus (203 KB vs 115 KB), and recording only failures cut Opus 5’s CL-Bench gain by 0.234."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=Two%20caveats%20from%20the%20same%20essay%3A%20on%20another%20Harvey%20task%20the%20wiki%20grew%20to%201.77x%20its%20source%20corpus%20%28203%20KB%20vs%20115%20KB%29%2C%20and%20recording%20only%20failures%20cut%20Opus%205%E2%80%99s%20CL%2DBench%20gain%20by%200.234.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Milvus presents a reference architecture, not a benchmarked system, and says it has not measured each component’s contribution on real agent transcripts.","quotes":["It is a reference design, not a benchmarked system; thresholds called starting points need tuning on your own data.","We have not yet measured how much each part contributes on real agent transcripts, so treat the split as a starting point to test on your own workload."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=It%20is%20a%20reference%20design%2C%20not%20a%20benchmarked%20system%3B%20thresholds%20called%20starting%20points%20need%20tuning%20on%20your%20own%20data.&text=We%20have%20not%20yet%20measured%20how%20much%20each%20part%20contributes%20on%20real%20agent%20transcripts%2C%20so%20treat%20the%20split%20as%20a%20starting%20point%20to%20test%20on%20your%20own%20workload.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Anthropic’s reported comparisons lack confidence intervals, and some use few runs.","quotes":["The numbers below are Anthropic’s, from the November 6 essay; the essay does not publish confidence intervals, and some comparisons come from a small number of runs."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=The%20numbers%20below%20are%20Anthropic%E2%80%99s%2C%20from%20the%20November%206%20essay%3B%20the%20essay%20does%20not%20publish%20confidence%20intervals%2C%20and%20some%20comparisons%20come%20from%20a%20small%20number%20of%20runs.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"},{"claim":"Milvus also notes that Anthropic’s essay does not explain its search implementation or mention embeddings or vector search; these results do not establish that Anthropic uses vector search.","quotes":["The essay keeps search in the picture (searchable transcripts, and search in the best Stainless result) but does not say how that search works. It mentions file, text and transcript search, and never mentions embeddings or vector search."],"cite_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md#:~:text=The%20essay%20keeps%20search%20in%20the%20picture%20%28searchable%20transcripts%2C%20and%20search%20in%20the%20best%20Stainless%20result%29%20but%20does%20not%20say%20how%20that%20search%20works.%20It%20mentions%20file%2C%20text%20and%20transcript%20search%2C%20and%20never%20mentions%20embeddings%20or%20vector%20search.","source_url":"https://milvus.io/blog/agent-memory-dreaming-retrieval.md","publisher":"milvus.io"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:agent-memory-and-dreaming-what-it-means-for-b41fec","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/agent-memory-and-dreaming-what-it-means-for-b41fec/","markdown":"https://newruntime.com/posts/agent-memory-and-dreaming-what-it-means-for-b41fec.md","json":"https://newruntime.com/posts/agent-memory-and-dreaming-what-it-means-for-b41fec.json"},"markdown_url":"https://newruntime.com/posts/agent-memory-and-dreaming-what-it-means-for-b41fec.md","next_reads":[{"type":"topic","path":"/topics/anthropic/","url":"https://newruntime.com/topics/anthropic/","title":"Anthropic","reason":"Explore the anthropic topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/anthropic.md","json_url":"https://newruntime.com/topics/anthropic.json"},{"type":"topic","path":"/topics/agent-memory/","url":"https://newruntime.com/topics/agent-memory/","title":"Agent Memory","reason":"Explore the agent-memory topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/agent-memory.md","json_url":"https://newruntime.com/topics/agent-memory.json"},{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
