Sitemap
Nick Hagar

Nick Hagar

Assistant professor at the University of Minnesota, researching digital media + AI

Member-only story

Structuring memory

6 min readFeb 22, 2026
Press enter or click to view image in full size

Read this post for free on my Substack.

I’ve written before about the importance of LLM memory as a mechanism for preserving state over time. The core idea is simple: loading a model’s context with relevant details avoids repetition and improves performance. But what’s the best way to actually structure those details?

What does “memory” even mean in this context? The word implies something the model has internalized, but that’s not quite right. What we’re really talking about is a set of durable artifacts that can selectively be brought into the model’s context window when they’re relevant to the task at hand. Sometimes that looks like a personal detail the model “remembers” about you (e.g., your preferred programming language, your dietary restrictions). But it can also be institutional knowledge, instructions for a workflow, orientation for a codebase, or any other useful reference that helps the model do its job.

So we know broadly that relevant context improves performance. What people are actively exploring is how to structure that context. There are many approaches in the wild right now: Agent skills rely on collections of markdown files. Mem0 uses a structured store with a graph-based variant for relational reasoning. And then there’s Beads, the project that motivated this post — a persistent issue tracker that lives within git and is designed for…

--

--

Nick Hagar
Nick Hagar

Written by Nick Hagar

Assistant professor at the University of Minnesota, researching digital media + AI