Platform
Memory
Privacy
Memory in AI Agents: What Gets Remembered, What Shouldn't, and Why It Matters
AI agents can remember preferences, context, and past interactions to improve over time. But memory also carries risk. This guide explains the types of agent memory, what to store, what to avoid, and how users should control what their agents remember.
Key Takeaways
- →Agent memory types: short-term conversation context, saved preferences, and knowledge-base retrieval.
- →Store stable preferences and workflow rules; avoid passwords, sensitive IDs, and unnecessary personal data.
- →Users should be able to view, edit, and delete agent memory at any time.
- →For high-sensitivity contexts, prefer session-only context over persistent memory.
Types of Memory
AI agents use different types of memory:
- Short-term (conversation context): What was discussed in the current session. Lost when the session ends.
- Long-term (saved preferences): Stable facts about you, such as tone preferences, recurring templates, workflow rules.
- Knowledge base (retrieval): Reference documents the agent can search and cite, such as FAQs, policies, guidelines.
Each type serves a different purpose and carries different risks.
What to Store
Good candidates for agent memory:
- Preferences: Communication tone, formatting preferences, working hours.
- Templates: Recurring output formats, email structures, report layouts.
- Workflow rules: Escalation triggers, approval requirements, routing logic.
- Non-sensitive context: Project names, team structure, priorities.
The test: would storing this make the agent more helpful without creating risk?
What Not to Store
Never store by default:
- Passwords, OTPs, or authentication tokens.
- Sensitive IDs (SSN, passport numbers, financial account numbers).
- Private medical, legal, or financial details unless explicitly required.
- Confidential business information beyond what the task needs.
Principle: store the minimum necessary for the agent to be helpful.
User Controls
A safe memory system gives users:
- View: See everything the agent has stored about you.
- Edit: Correct outdated or inaccurate information.
- Delete: Remove any stored memory, immediately and completely.
- Scope: Choose what types of information the agent can remember.
If users can't control memory, the system isn't safe enough for personal use.
Frequently Asked Questions
Not necessarily. Good systems store only what improves outcomes and allow user control over what is saved or forgotten.
Common types are short-term conversation context, saved preferences, and knowledge-base retrieval from approved documents.
Stable preferences, recurring templates, and non-sensitive context that improves results, like tone, priorities, and workflow rules.
Passwords, OTPs, sensitive IDs, and unnecessary personal or confidential data. Store the minimum necessary.
Memory is user-specific preferences or facts. A knowledge base is reference content the agent retrieves from approved documents.
A safe system should let users view, correct, and delete stored memory to prevent outdated or harmful assumptions.
It can. Risk is reduced by limiting what's stored, separating public/private, and using permissions and audit logs.
For high-sensitivity contexts or shared devices, prefer session-only context and avoid persistent memory.
How will AI affect your work?
Get your brief from 7 December
