The agent memory problem I get pulled into on the storage side is an old summary and the decision that replaced it, both in the database. If the summary wins retrieval, the agent can pick up the older plan. Bigger context windows give the model more room, but they don’t decide what belongs in the turn. Memory for LLM agents stays useful when the right record comes back across sessions and hasn’t been superseded.
Full conversation history stays as the raw record in the memory stores I work with. Durable facts and decisions are stored apart from episodes of what was tried and how it turned out, including attempts that failed. Each record carries a timestamp and a source, and when entries disagree, that timestamp shows which is newer.
Semantic search picks up a user circling back to earlier context in their own words, and keyword search can catch what’s easier to find by the exact term. The memory manager’s ranking sets what gets passed into the turn. A chunk can match the question and still be out of date. One example policy puts an active decision above an older summary, though the order varies by application.
Summaries save the model from rereading long transcripts, but can drop details or drift over time. Superseded decisions and outdated facts can get flagged and demoted, or archived once they stop applying. If the retrieval query checks the flag, demoted entries leave day-to-day results but stay on hand to explain why a path was ruled out. Oracle AI Database can hold the flag and the memory’s vector in one table, where a vector-distance query can filter on it.
Oracle’s developers blog has a longer walkthrough of these memory layers:
How do you decide what your agents should remember and retrieve, and what they should forget?