
For a year I treated my AI’s memory as a search problem. Store more, index better, and the right fact would surface when I asked. It didn’t. The day it finally clicked was when I read about someone who spent a year building agent memory on knowledge graphs and boiled it down to one brutal sentence: treat memory not as a retrieval problem, but as a data-modeling problem. That reframed everything I’d been doing wrong.
Think about what actually goes wrong. Your agent holds a fact about a person, a project, a preference — but the fact lives in five different places with five different levels of freshness. When the same keywords match all five, the stale one keeps winning. You fix the retrieval and the wrong answer still surfaces, because the data underneath was never modeled: no relation between the person and the project, no notion of which fact supersedes which, no category telling you what kind of thing you’re even looking at.
Memory fails at scale, not at the start
In the beginning a flat pile of notes works fine. Then the pile grows, and file search starts blowing up your context. Semantic search helps a little, but it still can’t walk the relations between people, topics, projects, and preferences. That’s the wall I kept hitting. The fix wasn’t a better search tool — it was deciding up front what categories of things I actually remember, and how they connect.
The neatest starting point I found is the POLE+O ontology: Person, Object, Location, Event, Organization. Start with those five, and only add a category when you genuinely collide against a gap. Don’t over-design the ontology on day one — that freezes projects for months. Treat the ontology as an exploration loop: define a minimum, run it, extend only when reality forces it.
Persistent state and recovery beat model power
The same week I read about the knowledge-graph builder’s mistakes, I saw NVIDIA’s AVO agent-harness lift Claude Opus 5 from 30% to 100% on the public ARC-AGI-3 set — with the same model. The lesson everyone quoted was the score. The useful one was why: persistent state, tool feedback, and recovery decide whether an agent actually finishes its work. Not the model. The harness.
That’s exactly what I’ve found running my own agents. The wins come from the layers around the model — a memory that keeps state across sessions, a way to keep working after a tool errors instead of giving up, a graph that tells me which fact is current. When I treat memory as a data-modeling problem with those properties built in, my agents finish more work with less intervention. The model was never the bottleneck.
The question I keep coming back to
If you had to model your agent’s memory as five entity types and a handful of relations tomorrow, where would you even start? Which facts in your setup are currently just searched when they should be related — and is the stale-fact problem a retrieval one, or a data-modeling one in disguise?
Comments are open — I’d like to hear how you structure your agent’s memory, or whether you’ve hit the same wall I did.
Wat vond je van dit bericht?