In August 1939, a geologist named Otto Völzing was digging in the Hohlenstein-Stadel cave in the Lone Valley, in the Swabian Jura. He pulled several hundred fragments of mammoth ivory out of the ground. Days later Germany invaded Poland, the excavation was abandoned, and the fragments went into a box in a museum, where they waited three decades for someone to notice that they fit together.

When they were finally reassembled, they made a figure about thirty centimetres tall: a standing human body with the head of a cave lion. It is roughly forty thousand years old. Experimental archaeologists have carved replicas with flint tools and estimate the work took several hundred hours — weeks of a short life, in an economy where weeks were expensive, spent on an object that feeds no one.

I keep coming back to the detail that Judea Pearl fixes on in The Book of Why, and it is the only detail that really matters for anyone building memory systems: nobody had ever seen this animal.

Everything else in the Aurignacian toolkit is a record of the world. A scraper is a record of hides. A hearth is a record of cold. Even the painted horses at Chauvet are, at bottom, transcriptions of things that walked past. The Lion Man is not a transcription. There was no observation to compress, no distribution to fit, no data. Somebody held a working model of a lion, a working model of a person, cut each one loose from the world that produced it, and welded them into a creature that the world had never issued.

That is not perception. That is surgery on a model of how things work.


Three rungs, and where our machines are standing

Pearl’s framing is a ladder with three rungs, and I have never found a better diagnostic instrument for a memory architecture.

The first rung is association. What goes with what. If I see smoke, what should I expect about fire? This is the rung of correlation, of conditional probability, of “customers who bought this also bought.” It requires only data, and it is the rung on which essentially all of machine learning lives and thrives. It is not a stupid rung — owls and octopuses do extraordinary things there, and so do our models.

The second rung is intervention. What happens if I do this? Not “what does the world look like when the barometer is low” but “what happens if I turn the barometer dial with my hand.” No amount of watching answers that question, because watching only ever shows you the world as it arranges itself, never the world as you would rearrange it. Rung two requires a model of mechanism.

The third rung is counterfactual. What would have happened if I had done otherwise? This one is stranger than it looks: it asks about a world that is not only unobserved but definitionally unobservable, because it contradicts the record. It requires a model detailed enough that you can hold most of it fixed, break one part on purpose, and read out the consequences.

The Lion Man sits on the third rung. It is a counterfactual carved in ivory. And Pearl’s argument — which I think is right and which I want to extend into territory he wasn’t writing about — is that our species did not become dangerous when we got better at rung one. Wolves are excellent at rung one. We became dangerous when we started living on rung three, in a space of things that had not happened, could not happen, or had not happened yet.

Everything we call planning, engineering, law, fiction, blame, and regret is rung-three behaviour. So is science. So is grief.


The uncomfortable audit of our own memory systems

Now hold your agent’s memory up against that ladder.

Most agentic memory in production today is a rung-one artifact and nothing more. We embed episodes, we index them, we retrieve by cosine similarity, and we call the result “memory.” What we have actually built is a machine for answering the question what in my past resembles my present? It is a co-occurrence engine. It is very good, it is genuinely useful, and it is standing on the same rung as the wolf.

Adding a temporal dimension does not promote it. This is the mistake I see most often in event-sourced memory designs, including in some of my own earlier work: we log events in order, we store the timestamps, we retrieve the sequence, and we feel we have captured process. We have not. A timeline is not a causal structure. An ordered log is an invitation to the oldest fallacy there is — post hoc ergo propter hoc — and a retrieval system that hands an LLM a chronologically adjacent slice of history is quietly asking the model to commit that fallacy on every call. The deploy happened, then the latency spiked, therefore. The user was shown the offer, then the user churned, therefore.

An agent whose memory contains only before and after cannot distinguish the thing it did from the thing that merely happened around the thing it did. That distinction is the entire content of rung two.


What causal memory would actually mean

So what changes if we take this seriously? A few things, and none of them are cosmetic.

Causal edges become first-class and typed. Not one undifferentiated related_to, and not a bare temporal successor. The taxonomy has to carry real semantics that a planner can use: caused, enabled (made possible without forcing), prevented, blocked, triggered, intended-but-failed, sufficient-for, necessary-for. These are not decorations on the graph. They are the difference between a memory you can query and a memory you can only search. “What enabled this outcome?” and “what preceded this outcome?” are different questions with different answers, and only the first one is worth asking.

Provenance must separate seeing from doing. Here is a privilege that agents have and passive observers do not: an agent generates its own interventional data. Every action it takes is a do operation performed on the world, executed under conditions it knows, with a result it can observe. This is the most epistemically valuable material an agent will ever produce — it is the rung-two data that no amount of scraped text contains — and we routinely throw it away by writing actions into the same undifferentiated log as observations. If the memory cannot answer “did I do this, or did I watch this happen?”, the agent cannot learn mechanism from its own life.

Imagination has to be tagged as imagination. Which brings us back to the ivory. The Lion Man must be stored as a carving, not as a sighting. A memory system that can represent counterfactual and hypothetical states — and it must, or it can’t plan — needs a hard modality distinction between observed, acted, inferred, simulated, and imagined. An agent that loses that distinction doesn’t become creative. It becomes psychotic. It confabulates its own past. Every plan it ever entertained becomes something it believes it did. I would argue that a great deal of what we currently file under “hallucination” is, structurally, exactly this: a modality collapse in memory, where a plausible generated continuation was never marked as a generation.

Consolidation becomes causal pruning, not compression. The forgetting question stops being “what is old or unused?” and becomes “which edges carry explanatory load?” You keep the structure that lets you regenerate the episode, and you drop the episode. That is closer to what human semantic memory appears to do to its episodic feedstock, and it gives you a principled answer to a question that similarity-based memory answers only by decay heuristics.

Credit assignment requires counterfactual replay. This is the one I care about most for agents that are supposed to improve. To learn from a failure you have to be able to re-run your own history with a single edge flipped and see what survives. Without that operation, an agent confronted with a bad outcome can only correlate the outcome with everything it did — and so it learns superstitions. It develops rituals. It carries forward the irrelevant step that happened to be present during success, because on rung one there is no way to tell a cause from a companion.


The objection, stated fairly

The strongest counterargument goes like this: large language models already do all of this. They plan, they explain, they answer counterfactual questions fluently, they invent chimeras on request. Causal structure, on this view, is latent in text, because text is produced by causal reasoners; a model that predicts text well enough must have internalised the structure that generated it. Under that reading, explicit causal machinery in memory is redundant scaffolding — the bitter lesson coming for another hand-built abstraction, as it always does.

I don’t think this is silly, and I hold it more loosely than my own thesis. But there are two things about it that I keep snagging on.

The first is that text is a record of humans having done rung-three reasoning. Learning to continue that record is learning to imitate the output of the operation, which is not the same as possessing the operation — and the tell is locality. A system that holds a causal model can update one mechanism and have the consequences propagate correctly through everything downstream. A system that has absorbed the statistics of causal talk cannot, because there is no “one mechanism” to reach in and change. Whether current models are on one side of that line or the other is genuinely an open empirical question, and people I respect disagree about it.

The second is that even granting the model has some internal causal competence, the memory doesn’t. The vector store certainly doesn’t. And an agent is not a model; it is a model plus a persistent substrate that outlives any context window. If the substrate can only return neighbours in embedding space, then whatever causal capability lives in the weights is being fed rung-one material forever, about the specific world this specific agent inhabits. You cannot reason about mechanisms you cannot retrieve.


Why this is a wall and not a hill

Let me state the claim plainly, because I want to be arguable rather than agreeable.

Planning is counterfactual reasoning run forward. Learning from experience is counterfactual reasoning run backward. Explanation is a causal path read aloud. Responsibility — the thing we will need before we hand agents anything that matters — is the claim that an outcome would have been different had the actor chosen otherwise, which is a query no correlational memory can even parse. And robustness under distribution shift, the failure mode that eats deployed systems alive, is precisely the case where surface statistics stop transferring and only mechanism does.

Those are not five nice-to-haves. They are five faces of one capability, and it is the capability that separates a very good pattern matcher from a mind. We are not going to reach human-level intelligence by getting better at rung one, because rung one has a ceiling and the ceiling is not high. It is the ceiling that wolves live under.


The chimera as a signature

In Slavic myth the figure that keeps this same shape is Veles — serpent and bear and man by turns, the shapeshifter who owns the boundary between the world above and the world below, and who cannot be pinned to one body because his function is to be the one who crosses. Every culture that has left us anything has left us a chimera. I don’t think that is decoration. I think it is a signature — the fingerprint of a cognitive architecture that had learned to take the world apart at its joints and put it back together wrong on purpose, and that could not stop doing it even when there was no practical reason to.

The Lion Man’s maker died about forty thousand years ago. Every inference that person ever drew is gone. What survived is one piece of ivory that constitutes proof that a mind capable of breaking a world model and re-gluing it was operating at that hour, in that valley.

We are currently building memory systems for agents. If in forty thousand years someone excavates one of them, I would like the artifact to show more than that the thing was very good at noticing what usually comes next.

Build the causal edges. Tag the interventions. Keep imagination labelled as imagination. Otherwise we are carving very fine scrapers, and calling it a mind.


If you’re working on causal structure in agent memory — edge taxonomies, counterfactual replay, intervention provenance — I’d like to hear how you’re modelling it. I’m deep in this problem for the book and I do not think the taxonomy is settled.

Originally published on Sovereign Agentic AI on Substack.