Agent memory design question: what deserves a place in permanent memory?

Miserable-Shock3552 · reddit · 2026-09-22

A developer building a kids' bedtime app with continuing stories — same world and characters, ten episodes per season — asks how to keep episode 8 consistent with episode 1.

His current setup uses two memory layers: a small set of fixed world facts (names, traits, relationships, places) and short per-episode summaries; each new episode receives the facts plus recent summaries, not full history.

The recurring failure: a minor detail from episode one sits in the facts layer and resurfaces in every later episode, since the model treats everything in that layer as important. He's weighing weighting, decay, or a separate "minor details" tier, and asks how others decide what earns permanent memory versus what should fade.

Original post →

More from coding & agent

coding & agent channel →