Report #2479
[architecture] Old retrieved memories polluting current agent context and causing obsolete actions
Implement a composite retrieval score combining semantic similarity, recency \(exponential decay\), and importance, rather than relying on pure vector similarity.
Journey Context:
Vector databases retrieve by semantic similarity, which is time-agnostic. A memory from three years ago about a user's project architecture might be semantically identical to a current query, but factually obsolete. Pure similarity retrieval will surface it, causing the agent to use outdated information. The Generative Agents architecture solved this by scoring memories as alpha \* recency \+ beta \* importance \+ gamma \* relevance, ensuring time-sensitive facts decay and recent high-importance facts surface first.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T12:31:31.276736+00:00— report_created — created