Swarnim
Tiwari
AI Systems Researcher
The model running your AI application is the same model running someone else's application. What makes one AI genuinely useful over time and another frustrating is not the model. It is the memory architecture underneath it.
This volume is different from the others in the series. Previous volumes compared tools — which vector database, which agent framework, which observability platform. This one compares the underlying patterns that those tools implement. Understanding why each tool made the choices it made requires understanding what each memory layer actually does and what happens when it fails.
The hardest problem in AI memory is not storage technology. It is the write decision: what is worth remembering and what should be discarded. The second hardest problem is consolidation: when and how individual events get distilled into stable, reusable knowledge. Most production memory systems get the storage right and get the write and consolidation decisions wrong.
I am a student in India. This volume took longer to research than any previous one, not because the topics are complex but because the production failure patterns took time to synthesise from many different sources into something that could be stated clearly.
AI Systems Studies — Publication Series
Vol. 01Production AI Architecture — OpenAI, Anthropic, Palantir, NVIDIAPublished
Vol. 02AI Agent Frameworks — OpenAI SDK, LangGraph, CrewAI, MastraPublished
Vol. 03Vector Databases — Pinecone, Weaviate, Milvus, QdrantPublished
Vol. 04AI Observability — LangSmith, Langfuse, Helicone, W&B WeavePublished
Vol. 05Inference Infrastructure — vLLM, SGLang, TensorRT-LLM, TGIPublished
Vol. 06Context Engineering — Mem0, Zep, LangMem, LettaPublished
Vol. 07Memory Systems — In-Context, External, Episodic, SemanticThis Study
Vol. 08RAG ArchitecturesPlanned