Any long conversation with an AI eventually runs into the same problem: the history either stops fitting into the context window, or turns into a "wall of text" that the model has to reprocess from scratch with every message. Branching Memory solves this not by truncating or compressing history, but by changing the underlying data structure — history is stored as a branching graph, not a list of messages.
Models change every few months — GPT, Claude, Gemini, and their future versions. We deliberately avoid binding to any specific model: a minimal interface (text in, text out) means the memory graph works the same way with today's model and with the model that will appear five years from now.
The system is built as six coordinated layers — from the storage structure to an independent check of the graph's integrity. Each layer describes a contract between components, not a single correct implementation.
The server-side store is a privileged access point to a user's aggregate history and its vector representations, and therefore requires protection at the transport and storage level. Vector embeddings are not an anonymous representation of data: existing research shows original text can be partially reconstructed from an embedding without access to the text itself.
The most substantive and least disclosed part of the architecture is the precise algorithm for deciding where to branch rather than continue the current thread. We deliberately don't disclose it in this publication: the question is already formulated, and work on the answer is ongoing.
FairDecision is an open research line on memory architectures for AI conversations.
Get in touch →