The extra-context layer for AI agents — L1 eviction, sticky L2/L3 context pools, context paging, cold-tier compression.
Most “memory” products are note stores or RAG indexes: you curate facts, embed them, and hope retrieval surfaces something useful. Memex starts from a different object — the model’s context window itself.
An agent’s context is scarce, volatile and ordered: tokens compete for attention, old turns get compacted or dropped, and the model can only reason over what is currently paged in. Memex treats conversation and tool history as a context hierarchy, and puts a high-performance layer between raw history and the model window.
raw session / tool history
│
├─ L1 native context window (the model's working set)
├─ L2 session context pool (10M) private to this conversation
├─ L3 workspace context pool (100M) shared across sessions in a cwd
└─ cold context tier verbatim, zero-LLM spillover
memory_search / memory_open to retrieve selected evidence instead of re-reading all history; finding and selecting the right evidence is not guaranteed.| What people call it | What it actually is here |
|---|---|
| memory record | a context page (verbatim, addressable, with a “when to read” hint) |
| memory search | context lookup / candidate pages for paging-in |
| memory_open | page-in one page to the model window |
| catalog injection | context index for the current window |
| L1 eviction | context spill from the working set |
| cold tier | context swap area (lossless) |
| capacity compression | context compaction (cold spill, optional digests) |
| memory panel / context ring | context budget UI (what is hot/cold, what is shared) |