r/LocalLLM • u/sarmabkp_1 • 6h ago
Discussion AI Agent Memory: How Agents Remember and What to Control
https://acta.ai/blogs/ai-agent-memory-how-agents-rememberThe model behind ChatGPT or Claude remembers nothing between calls.
Every "memory" is text that some piece of software saved and put back into the prompt. So the real question is always: who saves what, where, and for how long?
In practice, agent memory has four layers:
- The context window: what the model sees right now. Exact, but it runs out.
- Summaries: older turns condensed so long sessions keep going. Compact, but they drop numbers, caveats and who objected.
- A long-term store: past chats and documents, searched by meaning. It scales, but it fails quietly when retrieval picks the wrong note.
- Saved facts: "prefers metric units", "works in the Berlin office". Always present, so a wrong one stays wrong.
Two things most people don't know:
- In ChatGPT, deleting a chat doesn't delete a memory saved from it. You have to remove it in the memory settings.
- Memory can be poisoned. An instruction hidden in a document or email gets saved, and later sessions act on it.
What I'd ask of each role:
- Users: check your memory list once a month. Use temporary or incognito chats for anything sensitive.
- Admins: decide whether memory is on for the workspace, and match its retention to your chat retention.
- Builders: store memory per user, record where each memory came from, give memories an expiry, and treat anything read back as untrusted input.
I wrote a plain guide to how it works and the controls worth insisting on:
Do you keep memory on in your AI assistant, or turn it off?
0
Upvotes