Does Your Agent's Memory Survive a Model Upgrade? A Controlled Study of Memory Portability
Agent memory can break across model upgrades even when the store is unchanged. Test migrations by direction, rebuild embeddings completely, and retain raw histories for repair.
Across **48 synthetic histories**, fixed-schema knowledge graphs barely changed after a writer-model swap, while compressed notes moved by **+9.91 or −13.28 percentage points** depending on migration direction. A half-migrated RAG index gained 4.96 points versus **11.90 points with full re-embedding**.
Treat model upgrades as memory migrations: test each model direction separately, keep embedding spaces isolated, and re-embed the full index. Prefer normalized schemas where practical, and retain source histories instead of relying only on model-written notes.
Across **48 synthetic histories**, fixed-schema knowledge graphs barely changed after a writer-model swap, while compressed notes moved by **+9.91 or −13.28 percentage points** depending on migration direction. A half-migrated RAG index gained 4.96 points versus **11.90 points with full re-embedding**. Treat model upgrades as memory migrations: test each model direction separately, keep embedding spaces isolated, and re-embed the full index. Prefer normalized schemas where practical, and retain source histories instead of relying only on model-written notes. The evidence covers two open-weight models below 10B parameters and synthetic histories with exact answers. Store-only note repair missed the 90% recovery target in every case; raw history enabled recovery in **34 of 48 cases** for one tested direction, not universally.
This makes model portability a missing reliability constraint across the prior memory designs. It favors fixed, normalized, inspectable representations over model-authored compression when upgrades are expected, and shows that retrieval continuity requires full embedding migration rather than a mixed index. The limited models and synthetic histories narrow this to a concrete migration warning, not a universal ranking of memory architectures.