AI / Agentic AI Interview Questions
What is long-term memory in an AI agent?
Long-term memory lets an agent retain knowledge across sessions rather than starting fresh every time, typically implemented through an external vector database or knowledge store.
- Stores information as embeddings that can be searched for semantic similarity to a new query
- Lets an agent recall relevant facts or past interactions from weeks or months earlier
- Requires deliberate write and retrieval logic, deciding what's worth saving and when to pull it back in
This is what separates an agent that remembers a user's preferences over time from one that treats every conversation as a completely blank slate.
More Related questions...