Skip to content
zensation
๐Ÿ”ฌ

Research overview

Three tracks, architecture and agenda

๐Ÿ“

Methodology

Operational standards and validation

๐Ÿ“„

Publications

Preprints, software, identifiers

โš–๏ธ

Research ethics

Fundamental-rights nexus and compliance

๐Ÿ›๏ธ

Public sector & funding

Collaborations in the public sector

๐Ÿงฐ

Resources

Code, data, citation, open science

AboutOpen SourceDevelopersBlog
Contact
zensation
๐Ÿ”ฌResearch overview๐Ÿ“Methodology๐Ÿ“„Publicationsโš–๏ธResearch ethics๐Ÿ›๏ธPublic sector & funding๐ŸงฐResources
AboutOpen SourceDevelopersBlogContact
Blogโ†’Engineering
Engineering

An Architecture for Memory: The First Sketches

Alexander Bering
Alexander Bering
July 23, 2024 ยท 3 min read

From question to sketch

For a long time the problem stayed a question: a system can retrieve, but it does not remember. In mid-2024 it became a sketch โ€” the first concrete attempt to describe, on paper, what a memory subsystem for an AI system would have to contain. We gave the sketch a working name, ZenBrain, mostly so we could argue with it.

The starting commitment was deliberate and slightly unfashionable: rather than designing from what is convenient to build, design from what is known about how memory is organised, and only then ask what is implementable. The literature here is old and unusually solid.

The findings the sketch had to honour

Four results did most of the shaping.

Tulving (1972) separates episodic memory โ€” concrete experiences tied to a time and place โ€” from semantic memory, the abstract knowledge distilled out of them. "We discussed the budget on Tuesday" is stored differently from "budgets need owners." A serious memory needs both, and a way to move from the first to the second.

Ebbinghaus (1885) described the forgetting curve: memories decay exponentially, but each well-timed review flattens the curve. Forgetting, on this view, is not a defect to be engineered away. It is the mechanism that keeps the important separable from the incidental.

Hebb (1949): repeated co-activation strengthens a connection. Association is something that accrues with use, not a static link drawn once at write time.

Sleep consolidation (in the tradition of Stickgold and Walker) suggests that some of the most important memory work happens offline โ€” replaying the day, strengthening what matters, weakening the rest. That implies a memory system needs a background process, not just a read and a write path.

What the first sketch proposed

Out of those commitments came an early shape: not one memory store but several, each with a distinct role โ€” an active working focus, a short-term session context, an episodic record of concrete events, a long-term store of distilled knowledge, a procedural memory for learned routines, and a small set of pinned, always-present facts. Consolidation would move information between them over time rather than at the moment of writing.

In mid-2024 this was a diagram and a stack of references, nothing more. There was no code, no benchmark, no claim that it would work. What it did have was a property we cared about: every part of it could be traced to a documented mechanism and, in principle, measured. Whether the pieces would cohere into something better than a vector store was exactly the open question โ€” and the reason to start building.

Enjoying this article? Get more like it.

Share on XShare on LinkedIn
Try ZenAI

AI assistant with 7-layer memory โ€” get started for free.

Get Started Free

Related Articles

Why We Wrote 11,589 Tests for a Solo Project

11,589 tests. 24 intentionally skipped. 0 failures. Here's why a solo developer wrote more tests than most funded teams โ€” and why it was the best decision of the project.

How We Built A-RAG: When Retrieval Learns to Think Before Searching

Standard RAG does one thing: embed, search, return. A-RAG plans the retrieval strategy before executing โ€” here's how we built it and why it matters.

How We Built a Memory System That Thinks Like a Brain

145 development phases, 11,589 tests, and one question: can software remember like a human? A technical journey from vector store to cognitive architecture.

Stay in the loop

Get notified about new posts on AI memory, self-hosting, and building intelligent systems.

No spam. Unsubscribe anytime. GDPR-compliant.

Newsletter

No spam. GDPR-compliant.

ยฉ 2026 Alexander Bering / ZenSation Enterprise Solutions

HomeResearchMethodologyResearch ethicsPublic sectorPublicationsResourcesZenAIOpen SourceDevelopersTechnologyAboutBlogChangelogPrivacy PolicyLegal Notice
Download on theApp Store
GitHubLinkedInarXivZenodoORCIDScholarSemantic ScholarHuggingFacenpmDiscord