Learn
How memory for AI agents actually works — nine pages in order, from why the problem exists to the write policy that decides whether your deployment succeeds.
You don't need an account, an API key, or an install to follow any of this. The playground opens an anonymous space and runs the real engine — every pipeline stage you see there is the production one.
Why this is a problem at all
Why agents forget
Inference is stateless, and the stack teams assemble instead costs six specific bills.
Why a bigger window doesn't fix it
Four limits that don't go away with capacity, and one no window size can touch.
Why RAG isn't memory
Documents have no subject and no time, so they can never disagree.
The path
Why memory exists
Why agents forget · Why a bigger window doesn't fix it · Why RAG isn't memory
The problem, why the two obvious fixes aren't fixes, and where a vector database's model is the wrong shape for this job.
What a memory is
What a memory is · The statement kinds · When facts collide
The four record types field by field, the three statement kinds and the mutation contract each one carries, and what actually happens when two claims disagree — which is a different answer for each kind.
How it answers
How recall decides · Decay and retention
Every stage of the read pipeline in order, the relevance band that decides the answer's shape, and the four separate mechanisms by which things fade, close, consolidate or are destroyed.
Using it well
What to write, and what not to
The judgement call that decides whether your deployment works — and which duplicates the database collapses for you, which it doesn't.
The three things worth leaving with
If you read nothing else, these are the ideas the rest of the documentation assumes you have:
The kind is a contract
Fact, Preference and Event are not labels. They decide what a later,
conflicting claim is allowed to do — supersede, contradict, or nothing at
all. Choosing the wrong one is how a memory layer starts erasing history.
An answer has a shape
recall returns Single, Many or an explicit None, decided by a
relevance band over the whole candidate pool — never a top-K cut. None
is a real answer your code can branch on, not an empty result set.
The write gate is the hard part
Retrieval quality has a ceiling set by what you admitted. The ranking is the easy half; deciding what deserves to be a memory is the half that decides outcomes.
Was this page helpful?