The bitter lesson for agent memory

Hacker News by 20 min read 16x views
The bitter lesson for agent memory

Share Post

Time is a stream which sweeps me along, but I am the river.
Jorge Luis Borges, A New Refutation of Time

In Christopher Nolan's Memento, Leonard Shelby is set upon a apparently unattainable task. To discover the man who killed his wife, notwithstanding the anterograde amnesia caused by a attack to his head. To keep environment alongside a recollection that resets all so often, he uses polaroids, notes and tattoos.

This reminds me of how we do delegate memory. Models have anterograde amnesia. They can't form lengthy term memories, and their province of the earth is icy to a training cutoff. To keep environment throughout sessions, we engineer recollection systems that encode and recover data from the past.

But how much engineering does a recollection scheme need? Richard Sutton famously stated in The Bitter Lesson that broad methods specified as hunt and learning outperform systems built alongside individual domain knowledge.

We established this to be the case alongside delegate memory.

Allowing an delegate to run SQL queries and hunt complete its own event log strikes or matches specialised recollection systems in all important recollection benchmarks and scales alongside example intelligence.

We contend that recollection systems endure precious task-relevant data during compression. In contrast, agentic hunt complete an event log defers compression until query time. We propose a scheme for recollection systems that aims to maximise the epistemic value of searching former events, using a ranking of derived views complete an immutable event log.

A study of recollection systems

Anthropic lately described memory as cognition an delegate gains from cognition and retains between sessions. Information theory offers us a sharper lens: recollection is data from the former that reduces doubt in the future. A memory system is what encodes, consolidates, and retrieves that information.

pastnowfutureground truthwithout memoryhigh uncertaintywith memorylow uncertainty
With memory, plausible futures narrow about dirt truth; without it, they dispersed into a broad cone.

Decades of investigation from cognitive neuroscience provision us a systematic framework to comprehend recollection systems: encoding, consolidating, and retrieving experience.

agent actsEncodingexperience → storeConsolidationstore → improved storeRetrievalstore → context
Memory systems encode, consolidate, and recover cognition in a uninterrupted cycle.

Within all process, we can additional categorize systems in conditions of whether it's done in an open-loop or closed-loop. In control theory, closed-loop systems act, measure their outputs and modify their inputs to decrease errors. Open-loop systems are additional rigid: they act on commands and models without adjusting to feedback.

open-loopgoalresultactionControllerharness · agentProcessmemory systemclosed-loopgoalresulterroractionmeasurefeedbackΣ+−Controllerharness · agentProcessmemory system
Open-loop systems act without observing outputs; closed-loop systems nourish error rear to adjust.

Encoding experience

The goal of encoding is to extract data from cognition into a depiction that reduces doubt during an unknown forthcoming task. The following diagram shows this in the environment of a representative delegate loop.

recent turnsappends turnextractwrite toolHistorysql · jsonContextmodel windowAgentanswers turnUser messageturn inputMemoryfacts · chart · notes
Encoding writes cognition to recollection via backdrop extraction or an in-loop compose tool.

The important forms of recollection stores are vector embeddings, graphs and ontologies, or summaries and notes. Open-loop systems use conditions and handcrafted domain models to decide whenever to compose to the recollection store. Mem0, Supermemory, and Mastra are examples.

Supermemory batches multiple turns asynchronously by default, allowing for an optional per rotate extraction. Extracted facts are encoded into temporal graphs. In Mem0, the harness sends all new rotate to an extraction example that distills them into nuclear facts, which are embedded into a vector store.

embed querytop-k lookupmemory.add()extractwrite factsINGEST-TIME (LOSSY EXTRACTION)User messageturn inputContexttop-k facts injectedAgentanswers from contextVector storeextracted facts onlyTurn historyraw wording droppedLLM fact extractorsingle-call additive extract
Mem0 extracts standalone facts at ingest period and injects top-k vector matches at query time.

Compaction could be viewed as a form of recollection encoding too. It triggers at environment opening boundaries and extracts goal-relevant data from one environment opening into the next.

older turnsrecent tailcompactsummaryrecent tail
Compaction summarises older turns, keeps the latest tail, and frees opening space.

In contrast, closed-loop systems use the delegate to update data in the recollection shop through tool calls. It comes alongside changeable expenses and latency since it adds conclusion compute inside a turn.

In practice, systems akin Claude, Codex and Letta use a hybrid approach. During latency-sensitive tasks, agents use broad casing and document tools to create small closed-loop updates to their recollection stores. In idle period between interactions, deeper consolidation and cleanup cycles run as open-loop backdrop processes.

Consolidating experience

The goal of consolidation is to enhance an existing encoded recollection depiction to optimise retrieval during an unknown forthcoming task. Notice the difference alongside encoding which was focused on extracting information.

between sessions · idlesession boundaryreads logsreads existing storemerges & refinesMemoryfacts · chart · notesConsolidatorsleep-time · idleHistorypast sessions
Idle-time consolidation says existing recollection and former logs to compose rear a refined store.

As a nod to its parallels in the brain, researchers from Letta introduced the term sleep period compute to depict this process.

Claude, Codex, and Letta use distinct variations of recollection consolidation. For example, Claude managed agents use idle periods between interactions to indicate on the former and update their recollection store, a procedure they described as dreaming. Their blog gives a awesome write-up concerning their method and findings.

Codex asynchronously summarises idle former sessions into markdown records in a /memories directory, connected to their raw transcripts. The directory additionally contains a summary markdown document alongside data concerning the person and a classified indicator to the meeting summaries.

static injectgrep / peruse · citesonly if a summary misses detailappendsextractspoints topoints toSLEEP-TIME (ASYNC ON STARTUP)User messageturn inputContextmodel windowSessions DBstate sqliteAgentanswers & citesmemory_summary.mdalways loadedrollout_summaries/skills/Raw transcriptssessions/*.jsonlPhase 1: Extractuser-first · no-op gatePhase 2: Consolidateusage_count · git diff
Codex injects memory_summary.md and links to rollout summaries and raw transcripts, rebuilt on startup.

In the environment of consolidation, a closed-loop scheme would actively use feedback from historic events to enhance the recollection store. For example, one method is to create variations of a recollection shop and iteratively test them on distinct checkpoints to mark outcomes. The assortment that produces the smallest error is afterward promoted.

forkreplay former checkpointserrort1t2t3t1t2t3t1t2t3lowest errorpromoteMemory storecurrentVariant Amerged duplicatesVariant Brewrote summariesVariant Cdropped old facts
Closed-loop consolidation forks the store, replays former checkpoints, and promotes the lowest-error variant.

Retrieving experience

The goal of retrieval is to discover task-relevant data from the former to decrease doubt for a known query.

recent turnsappends turnlookupinjectquery toolquery toolHistorysql · jsonContextmodel windowAgentanswers turnUser messageturn inputMemoryfacts · chart · notes
Retrieval either injects recollection via the harness or queries recollection and raw former through tools.

Open-loop systems recover data without responding to feedback. For example, Mem0 searches the shop using the current query and injects top_k matches into context. Mastra's observational recollection and compaction are another examples anywhere the harness summarises former and pushes it into environment without feedback.

In contrast, Tardigrade's log library uses a closed-loop retrieval approach. It lets an delegate query its own event log and run FTS5 hunt on events until adequate task-relevant data is gained. This scheme volition be discussed in greater item in the setup section.

Letta is another awesome example of a closed-loop system. In supplement to getting environment from a git backed recollection shop using casing tools, Letta agents can immediately modify their scheme immediate by editing markdown records inside the designated /system directory.

/system/notescontextevery turngrep · readpinsystem promptturns
Letta pins /system records into the immediate all rotate and says /notes from disk on demand.

Summary

SystemStoreEncodingConsolidationRetrieval
CompactionSummary checkpointOpen-loop (context-limit summary)NoneOpen-loop (prepended summary)
MastraDated summaryOpen-loop (observer)Open-loop (reflector)Open-loop (prepended summary)
Mem0Atomic fact vectorsOpen-loop (per-turn extraction)NoneOpen-loop (top_k search)
SupermemoryFacts + temporal graphOpen-loop (batched extraction)Open-loop (background dreaming)Open-loop (profile + hybrid search)
CodexSummaries + raw transcriptsOpen-loop (idle rollout summaries)Open-loop (root-session index)Hybrid (open-loop summary + closed-loop reads)
Letta / ClaudeGit records or connected wikiClosed-loop (shell / document tools)Open-loop (sleep / dreaming)Closed-loop (pinned records + agentic search)
Raw logsImmutable event logNone (append-only)NoneClosed-loop (agentic FTS5 + SQL)

Experimental setup

Memory system

For our research, we were curious in finding how much engineering a recollection scheme needs. If the bitter instruction were to clasp true, simpler systems that use additional of example capabilities should outperform hand-crafted ones.

In this direction, we tested a recollection scheme without any encoding or consolidation step. For retrieval, we let the delegate run SQL queries and FTS5 hunt on its own event logs. The complete code for our setup can be established here.

appends turnEvent logevery turn, verbatimRetrievalsql · fts5Agentacts on context
Raw-log setup: no encoding or consolidation, lone closed-loop SQL and FTS5 retrieval complete the log.

We used two chief variations of the system, depending on the benchmark we tested against. Some of the benches used environment throughout sessions, during others were inside a sole session.

For benchmarks that used environment from throughout sessions, the delegate had a Tardigrade library that gave it admission to all former sessions. It exposed four tools:

ToolDescription
sessions_listList former sessions alongside IDs, dates, and rotate counts, alongside optional date filtering.
sessions_searchRun SQLite FTS5 full-text hunt throughout all former sessions, returning classified snippets alongside meeting IDs and rotate indices.
sessions_readRead a verbatim opening of turns (fromSeq to toSeq) immediately from a sole session's SQLite database.
sessions_queryRun read-only SQL queries against the earth sessions indicator (sessions and turns tables).
on endread-onlyUser messageturn inputContextcurrent sessionTardigrade Agentanswers & searchesPast sessionsone sqlite + FTS5 log eachsessions librarylist · hunt · peruse · query
Multi-session setup: all meeting is an immutable log queried alongside four meeting tools.

For benchmarks that used environment from inside a sole session, the delegate used the log library, which exposes three tools. In the two variations, the hunt tool lets the delegate run FTS5 hunt on the event log and the query tool lets the delegate run SQL queries.

ToolDescription
describeInspect event types, site schemas, and example records in the event log.
searchRun SQLite FTS5 full-text hunt throughout events in the log, returning classified snippets.
queryRun read-only SQL queries immediately against the event log.
recent turnsappends turnread-onlyUser messageturn inputContextcompacted windowTardigrade Agentanswers & queriesEvent logdurable sqlite · FTS5log librarydescribe · hunt · query
Single-session setup: one durable event log queried alongside describe, search, and SQL.

We modelled our dreaming setup following Anthropic's approach: following all task, and before the next task, we ran a consideration iteration to let a dreaming delegate create notes and wiki using the event log and project feedback.

ToolRoleDescription
wiki_listBothList wiki leaf titles and summaries.
wiki_readBothRead a markdown wiki leaf alongside alongside its links and diary origin citations.
wiki_searchBothSearch wiki pages using SQLite FTS5 full-text search.
wiki_linksBothBrowse outgoing links and backlinks for a wiki page.
wiki_noteTask agentAttach a abbreviated note to a diary event for the dreaming delegate to revisit.
wiki_notesDreamerRead notes attached to diary events throughout a sequence range.
wiki_writeDreamerCreate or substitute a wiki leaf alongside links and diary origin citations.
wiki_set_indexDreamerPublish the ordered catalog of top-level topic pages injected into context.
append · searchfeedbackreads lognext taskTaskdatabase questionAgentsolves taskFeedbacktask gradeEvent logdurable sqlite · FTS5Wikinotes and pagesReflectionafter all task
Log + wiki adds an after-task consideration continue that updates a wiki for the next task.

Benchmarks

Drawing from cognitive science, we categorize recollection tests into recall and transfer. Recall tests whether an delegate can recover data from former events verbatim, during transfer tests whether it can use broad rules or concepts learned from those events to a new situation.

Memory benchmarks typically provision former from user-assistant conversations or delegate project trajectories and measure recall or transfer complete that past. For this research, we chose five benchmarks spanning distinct former types, sizes, and tests:

BenchmarkHistorySize / ScopeTestsSetup
DolphinBenchConversations600 tasks (~500K tokens)Recall & penchant transferlog
LongMemEval V1Multi-session conversationsS (~115K) & M (~1.5M), 500 Qs eachEpisodic recallsessions
LongMemEval V2Web & endeavor trajectoriesSmall (451 Qs, alongside screenshots)Semantic & procedural recallsessions
BEAMLong conversation threads100K, 500K, 1M, 10M tokensLong-horizon recalllog
Continual Learning BenchStateful SQL trajectories40 episodes (database_exploration)Cross-session transfersessions (+ wiki arm)

We tuned our prompts for BEAM-100K, 500K, 1M using 20 questions from the BEAM-100K dataset since the grading rubrics are non-obvious from the questions. We established this to be accordant alongside how another systems run their benchmarks.

To difference how scores change alongside example intelligence, we ran this throughout three models inside OpenAI's frontier example family: GPT-6.1 Sol, GPT-6.1 Terra, and GPT-6 Luna. For Continual Learning Bench, we additionally included Anthropic's frontier example family: Opus 5.5, Sonnet 5.5, and Haiku 5.5 to difference our results against Anthropic's.

An example of a project from DolphinBench, which tests recall and transfer of preference, looks akin this:

history · 3,400 sessions · ~500K tokenstest · caller conversationrecall⋮ 3,397 additional sessionsgraded: eatery is Blue BottleJan 9, 2023“…still doing blue flask if i'm out first enough”Jan 10, 2023“Q1 all-hands archetypal thing…”Sep 11, 2026“…update the Northstar Ventures CRM row…”Sep 14, 2026“I'm out early. Please orderone small latte for pickup.”Agentmemory + app toolsplace_orderrestaurant: "Blue Bottle"
DolphinBench test 001: a passing comment from 2023 determines the place_order eatery in 2026.

An example of a project from Continual Learning Bench, which tests transfer of cognition throughout sessions, looks akin this:

question 2 of 40 · unidentified schemaquestion 18 of 40 · afterward sessionrecallQuestion 2“Median cost of electronics, in dollars?”4 exploratory queriesmedian(prc_usd)Incorrect: 20.92correct answer: 21.99Question 18“Average listed cost of electronics, in dollars?”1 queryAVG(prc)/100.0 FROM items_g2Correct: 96.23no schema exploration
CL-Bench (GPT-6.1 Terra): schema exploration in Q2 transfers to a one-shot answer in Q18.

Results

Agentic hunt strikes specialised systems

Letting an delegate run SQL queries and FTS5 hunt complete raw event logs sets the Pareto frontier on disbursal and accuracy, beating or matching the two naked in-context learning (ICL) and specialised recollection systems.

On DolphinBench, using the leaderboard's GPT-5.6 Luna model, the raw-log method scores 85.7% at $4.73, beating Graphon (84.0% at $11.84) at small than fractional the disbursal and outperforming recollection stores akin Mem0 (70.7% at $96.21) at a twentieth of the cost. It additionally leads LongMemEval V1 (94.6% on S, 92.2% on M) and all four BEAM environment sizes up to 10M tokens.

On LongMemEval V2, our scheme scores 79.8%, near rearward AgentRunbook-C at 81.2%, which additionally uses agentic hunt complete raw transcripts (grep complete records fairly than SQL complete events).

60%70%80%90%$5$10$30$100$300Tasks passed (of 600)BetterTotal run cost, log scaleRaw logs (Tardigrade)85.7% · $4.73Graphon V184.0% · $11.84Built-in65.7% · $61.48Hindsight69.5% · $84.65Mem070.7% · $96.21Honcho68.5% · $142.85Supermemory83.0% · $71.18
DolphinBench (600 tasks, GPT-5.6 Luna elevated effort, GPT-5.6 Sol judge, $0 ingest). Graphon V1 and Supermemory are self-reported.

Agentic hunt scales alongside intelligence

Holding all alternatively constant, scores enhance alongside example capability throughout all benchmark. On DolphinBench, moving from GPT-6 Luna to GPT-6.1 Terra and GPT-6.1 Sol lifts accuracy from 87.2% ($2.47) to 90.5% ($20.32) and 93.8% ($36.38), beating naked 500K in-context learning at all example tier for approximately a tenth of the cost.

Raw logs (Tardigrade)Bare ICL (500K in-context)

70%80%90%$2$5$10$30$100$300Tasks passed (of 600)BetterTotal run cost, log scaleGPT-6 Luna87.2% · $2.47GPT-6.1 Terra90.5% · $20.32GPT-6.1 Sol93.8% · $36.38GPT-6 Luna74.0% · $23.66GPT-6.1 Terra82.8% · $152.22GPT-6.1 Sol91.7% · $309.15
DolphinBench scaling (600 tasks, elevated effort, GPT-5.6 Sol judge). Raw logs attack naked ICL at ~8-10x lesser cost.

The advantage of stronger models increases as environment size grows. Moving from GPT-6 Luna to GPT-6.1 Sol adds +6.4 points on BEAM-100K, +9.9 points on BEAM-1M, and +13.8 points on BEAM-10M (53.2% to 67.0%), and grows from +8.8 points on LongMemEval V1-S to +10.8 points on V1-M. Stronger models are improved at penning SQL queries and this translates immediately into recall scores.

BEAM (100K to 10M)LongMemEval V1 (S to M)DolphinBench (500K)

+0+4+8+12+16100K500K1M5M10MGPT-6.1 Sol − GPT-6 Luna (pts)BetterHistory size in tokens, log scaleBEAM-100K: +6.4 pts (67.8 → 74.2)BEAM-100K+6.4 ptsBEAM-500K: +4.9 pts (70.2 → 75.1)BEAM-500K+4.9 ptsBEAM-1M: +9.9 pts (65.4 → 75.3)BEAM-1M+9.9 ptsBEAM-10M: +13.8 pts (53.2 → 67.0)BEAM-10M+13.8 ptsLME V1-S: +8.8 pts (85.8 → 94.6)LME V1-S+8.8 ptsLME V1-M: +10.8 pts (81.4 → 92.2)LME V1-M+10.8 ptsDolphinBench: +6.6 pts (87.2 → 93.8)DolphinBench+6.6 pts
Raw-log accuracy acquire from GPT-6 Luna to GPT-6.1 Sol by former size (+6.4 to +13.8 on BEAM, +8.8 to +10.8 on LongMemEval V1).

Dreaming adds no acquire complete logs on powerful models

On Continual Learning Bench's database_exploration suite (40 stateful SQL episodes alongside a mid-run schema migration), raw logs solitary approximately twice the homeless baseline on frontier models, lifting average reward from 0.422 to 0.768 on Opus 5.5 and from 0.282 to 0.727 on GPT-6.1 Terra.

Adding sleep-time wiki consolidation helps smaller and mid-tier models (+0.227 on Sonnet 5.5, +0.134 on Haiku 5.5, and +0.118 on GPT-6 Luna), reduces to +0.039 inside run-to-run dispersed on GPT-6.1 Sol, and disappears on the strongest models (-0.004 on GPT-6.1 Terra and -0.011 on Opus 5.5). Wikis act as a scaffold for weaker models, during stronger models rebuild what they need improved from the raw event log.

StatelessRaw logsRaw logs + wiki0.00.20.40.60.81.0Mean reward.422.768.757Opus 5.5wiki −0.011.282.727.723GPT-6.1 Terrawiki −0.004.368.676.715GPT-6.1 Solwiki +0.039.197.442.560GPT-6 Lunawiki +0.118.350.407.634Sonnet 5.5wiki +0.227.216.293.427Haiku 5.5wiki +0.134
CL-Bench database_exploration (40 SQL episodes, mid-run schema migration, average effort). Means complete 5 runs (3 for Sonnet 5.5 raw logs); whiskers display min-max.

Discussion

Deferring compression until query time

Encoding and consolidation in recollection systems compress raw events into a store, aiming to decrease doubt in forthcoming queries during retrieval. However, this method loses precious data by trying to conjecture forthcoming queries.

In contrast, agentic hunt complete an event log defers compression of data until query time. As example capabilities increase, they get improved at finding task-relevant data immediately from the raw logs.

For example, among the tasks in Continual Learning Bench involves searching a repository of a shop inventory to discover the average deviation of electronics price. The trap is that the applicable array has three cost columns following migration: prc, prc_usd, and prc_v2.

Sonnet 5.5, equal alongside logs and dreaming wiki, uses four DB queries and gets the incorrect answer. Its notes hadn't saved the accurate pillar to appearance at post-migration for this particular query and it resorts to guessing a incorrect answer.

Meanwhile Opus 5.5 alongside raw logs gets the answer in a sole query. It searches for "electronics price" in the event log, spots items_g2 and prc_v2 about event positions 67-68. Then it runs a query ("SELECT ... FROM events WHERE stance >= 76 OR document LIKE '%prc_v2%'") to peruse the exact post-migration tail. After that it gets the correct answer in a sole DB query:

SELECT  COUNT(*),  AVG(prc_v2) / 100.0 AS avg_d,  AVG(ABS(prc_v2 - (SELECT AVG(prc_v2) FROM items_g2 WHERE prc_v2 > 0))) / 100.0 AS mad  FROM items_g2  WHERE prc_v2 > 0;

Letta's sleep period compute paper noticed akin results. They established that offline pre-computation of a recollection shop helped most whenever queries were predictable from context. When queries are difficult to predict, they decide that test-time compute is preferable. They additionally established that on Stateful GSM-Symbolic and on their agentic SWE-Features benchmark, norm test-time compute complete raw environment outperformed pre-computed stores whenever stated higher test-time budgets.

Does this average we do not need recollection systems at all? While letting a example hunt the event log for all query power in regulation guide to improved performance, it power not be applicable for all tasks. For user-facing applications anywhere latency matters, we frequently desire small conclusion compute inside turns.

Active inference gives us a helpful example for thinking concerning recollection systems and optimising them. Epistemic foraging refers to the energetic hunt for data in closed-loop systems (like agentic search) to decrease doubt concerning the world. Epistemic value is the expected decrease in task-related doubt afforded by a stated action.

The goal of a recollection shop is to maximise the epistemic value of hunt complete an event log. There are two ways to do this: eliminate hunt hops for frequently accessed data by caching it, and decrease the hops needed for everything alternatively by expanding data scent.

Memory as a cache complete former events

One way to decrease the disbursal of searching events is by caching frequently accessed information. This could be viewed as a materialised perspective of a common hunt that affords zero hops to discover applicable information.

For example, obtain the case of a individual aide that handles a user's day to day tasks. Knowing anywhere the person stays power be helpful data perchance revealed through conversation events.

It is costly to continually hunt the event log for any forthcoming project that requires the user's location (e.g., environment the timezone whenever booking a meeting). In this case, the user's location could be cached alongside citation to the events anywhere this data was derived from and stored inside the environment window.

event loglater taskcache⋮ thousands additional eventsseq 1042 · Mar 3“finally moved into the Lisbon flat”seq 1043 · Mar 3“reorder the Szechuan sauce”seq 1187 · Mar 9“the tram up to Alfama is packed”Contextlocation: Lisbon (Europe/Lisbon)refs seq 1042, 1187Agent“book 30 min alongside Morty at 10am”book_meetingtz: "Europe/Lisbon"
Cached location alongside log references avoids re-searching the event log on afterward bookings.

When a new event contradicts item stored in cache (e.g., person moves to new location), it could be invalidated and connected to the new event. This scheme additionally allows for additional advanced patterns akin invalidating certain data whenever an event happens (e.g., invalidate following a certain period period).

A akin tie is observed in the transformer architecture. Linear notice layers compress former tokens into a fixed-size province matrix before forthcoming queries are known. Full self-attention keeps the complete KV former and waits until a query arrives to act complete it. Hybrid models akin Kimi K3 use linear notice for speed, backed by complete notice layers for exact recall.

Memory as an indicator complete former events

Information scent refers to proximal cues that a searcher can use to discover data they want. High data scent reduces the disbursal of data by reducing the figure of hops it takes to attain it. Information scent additionally prevents the category of issue anywhere an delegate gives up hunt too early.

gives uppatchforager
Without scent, the forager wanders eight hops and gives up (grey); alongside scent, it arrives in three (blue).

FTS5 hunt snippets, query results, and array names are examples of data scents. In supplement to these, summaries of logical episodes in the event logs could additionally act as an index. Codex's hierarchical institution of a recollection summary and meeting summaries connected to raw sessions is an example of this approach.

A bitter-lesson affable recollection system

We propose a scheme for a recollection scheme that's built as a ranking of derived views complete an immutable event log. Notice how it mirrors a computer's recollection ranking from fast, small CPU caches downward to RAM and disk.

L0 (Hot Cache): Materialised views, zero hop. Sized by admission frequency.

L1 (Index): High scent pointers into the event log, one hop.

L2 (Event Log): Lossless origin of truth, unlimited capacity.

points intosized by admission frequencyAgentreads downL0 · Hot cachematerialized values · zero hopsL1 · Indexhigh-scent pointers into the log · one hopL2 · Event loglossless origin of fact · unlimited capacity
Three-tier ranking complete an immutable event log: all tier downward holds additional and expenses one additional hop.

This composition doesn't go deeper into an implementation of this method and how it performs. That volition be for a forthcoming one.

Conclusion

If Nolan's Shelby had admission to all sole example of his existence recorded and stored as a video, he power have been improved off searching the recordings to accomplish his goals.

In designing recollection systems for agents, we've carried complete several of the implied constraints of biologic systems, which are asset constrained and organised to create the most of accessible space. Raw sensory events are ephemeral and can't be accessed again. Hence, all event have to be encoded in a compressed form, decoded and consolidated later.

The identical constraints don't use to computers, anywhere we have practically unlimited retention area for events inside an agent's lifetime. Memory systems should concentration on reducing the disbursal of hunt complete an immutable event log.

ps: If you're construction or evaluating delegate recollection systems and desire to run tradition benchmarks complete your own tasks and traces, try Hatchery.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads