Memory cover
Programmer.ie Book
In development

Memory

How AI systems turn past experience into better present behaviour.

Storage, retrieval, and memory are different things.

The central idea of this book is simple: memory is when past experience changes present behaviour.

Rather than beginning with a taxonomy of working, episodic, semantic, procedural, entity, and task memory, the book begins with six questions a useful project memory should be able to answer:

  1. Where did we discuss X?
  2. What did we decide about X?
  3. Why did we decide it?
  4. Is it still true?
  5. What did we leave unfinished?
  6. What should I remember right now?

Each step follows the same method: build the strongest simple mechanism first, measure it, diagnose the failure, add only the mechanism the evidence earns, and rerun the same harness.

The investigation now closes in three stages. Chapter 15 asks how a long-lived memory controls growth without destroying historical recoverability. Chapter 16 asks where remembering ends and learning from outcomes begins. Chapter 17 reconstructs the smallest architecture the experiments actually earned.

Chapter 12 is the behavioural hinge: it tests whether retained project history changes present action under matched conditions. Its result is deliberately not assumed by the final chapters until a canonical run exists.

Contents

Chapters

Pathways Through Memory

Explore how activation can propagate through a memory graph so that one remembered thing leads to another, and measure whether associative retrieval improves on static graph search and conventional RAG.

Read chapter →

The Memory Nexus

Once a system has several ways to remember, something has to choose between them. This chapter builds that control layer, measures it against simpler alternatives, and lets the evidence decide whether it earns its place.

Read chapter →

Why

Trace beliefs and generated claims through derived memory back to the evidence that actually supports them, distinguishing support from retrieval, derivation, repetition, and mere citation.

Read chapter →

Is It Still True?

Some information lives in the ordered transitions between remembered states. A ZeroMQ-distributed history, a durable event log, and a permutation experiment test exactly when order changes meaning.

Read chapter →