Split Agent Memory into Working vs Long-Term Stores, or Pollute Every Run

blaizedsouza · x · 2026-08-20

A developer shares a memory architecture principle for agents: temporary scratch notes and durable facts must live in separate stores, or every future run gets polluted. Practices: scope working memory to one task; promote only proven facts to long-term memory; never let raw tool dumps persist; retrieve long-term facts via relevance scores; clear working memory at task end; review promotions on a schedule. Make promotion an explicit write, not an accident.

Original post →

More from coding & agent

coding & agent channel →