dsh-memory-forget — A Forgetting Engine for AI Agents
dsh-memory-forget is a forgetting engine plugin for AI agents, designed to transform “forgetting” from a failure into a design. It manages the memory lifecycle through TTL, decay, eviction, and auditing mechanisms to solve the context pollution problem. Core features include a pluggable memory bus, Ebbinghaus-curve-based decay, importance management (sliding update mechanism), hard injection budget limits, privacy-first physical deletion policies, and multi-agent scope support. The plugin is maintained by XIAOke8698, released under the MIT License, and has zero dependencies. It supports restoring forgotten memories and provides token accounting. Installation requires Node.js >= 20, and a StoreAdapter must be implemented to ensure data persistence.
Read More