Add simple forgetting to agent memory

A developer added a basic forgetting layer to an agent’s memory and said it worked extremely well right away.

Done with Custom agent· Intermediate· Oct 2026

What they did
Lukas put together a very simple version of Tim Kellogg’s agentic forgetting idea for an agent’s memory. They did not spell out the exact setup, how the agent chose what to forget, or where a person intervened. They said the next step is a fuller version based on personhood.removal.surgery.
How it went
They described the outcome as incredible even in that minimal form. No numbers, test results, side-by-side comparisons, or known drawbacks were included.
Tips
If you try this, start with a small, reversible memory cleanup step and review what would be removed before anything is erased. For implementation details, you would need to follow Kellogg’s original explanation.

Try it yourself with Claude Code

Review how [agent name] stores memory in [file, database, or project]. Add a simple forgetting pass that scores entries by age and recent use, then marks low-value stale items for archive or removal. Before any real deletion, pause and show me the exact entries you would remove, along with the reason for each one. Then wait for my approval before making changes. Write tests that confirm unused old memories are dropped and frequently used memories stay available.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Read the original on bsky.app ↗

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.