Retrieval and memory aren't the same thing
RAG pulls relevant documents into context. Memory is knowing what this user asked last time and what the agent already did. Teams mix them up, ship a RAG pipeline, and wonder why the agent feels forgetful.
Three kinds of memory
Working memory holds the current task's state so the agent doesn't lose its place. Episodic memory is what happened before, so it doesn't repeat itself. Semantic memory is durable facts about the user or domain.
RAG really only serves that last one. The other two need real design: persisted state, session history, and a way to decide what's worth keeping. That's where a shallow prototype and a system built to run in production split apart.
Forget on purpose
Memory that only grows turns into noise. The best agents prune hard. Getting that balance right is subtle, and it's a big part of what separates a demo from dependable automation. Remember the right things. Forget the rest.
Top comments (0)