How to design an effective Agent memory system? #204
Replies: 1 comment
|
I have had better results treating “memory” as several stores with different ownership and forgetting rules rather than choosing one universal representation. A practical split:
For consolidation, I would promote a candidate fact only when it is repeated, user-confirmed, or supported by a durable artifact. Store provenance and a supersedes relationship instead of overwriting the old fact. For forgetting, delete or age out working context and retrieval projections aggressively. Expire durable facts by scope or validity, but retain the underlying event record when audit/recovery matters. Otherwise “forgetting” can silently rewrite why an agent made an earlier decision. For evolving memory, version the extraction, ranking, and consolidation policy. Rebuild projections under the new policy and compare outcomes. Mutating the historical record itself makes evaluation nearly impossible. Maintainer disclosure: this separation comes from building Better Agent, a local web workspace for supervising Claude, Codex, Gemini, and other coding agents with persistent, inspectable sessions: https://github.com/ofekron/better-agent It is source-available and free for non-commercial use; commercial use requires separate permission. |
Uh oh!
There was an error while loading. Please reload this page.
Memory is one of the most critical components for agents that need to evolve over time. There are many approaches:
evolver uses the Genome Evolution Protocol (GEP) which treats agent behavior as an evolving genome -- memory is encoded in gene expressions that can mutate and be selected over time.
Questions for the community:
Share your experiences, designs, or questions below.
All reactions