AI Terminology
/Intermediate
Agent Memory
Definition
The systems used by an AI Agent to store, retrieve, and reflect upon past interactions, allowing it to maintain context over long periods of time. Broken into Short-Term Memory (Context Window) and Long-Term Memory (Vector Databases).
Explain Like I'm New
Short-Term memory is the current chat conversation. Long-Term memory is the Agent writing down important facts in a digital notebook (Vector Database) so it can remember you 3 months from now even after the chat is cleared.
Real World Example
You tell an AI companion 'I am allergic to peanuts'. The AI uses Tool Calling to save this to a Vector Database. Six months later, you ask 'Give me a recipe for Pad Thai'. The AI queries its Long-Term memory, remembers the allergy, and substitutes peanuts with cashews.
Common Use Cases
- •Personalized AI
- •Continuous learning agents
Interview Questions
basic
- Which type of memory is erased when you close the chat window or exceed the token limit?
intermediate
- How do Agents utilize 'Working Memory' (Scratchpads)?