Episodic vs Semantic Memory
recommended
Episodic memory stores specific past experiences tied to a time and context (what happened during a particular debugging session, how the agent resolved a specific error), while semantic memory stores general, abstracted knowledge (project conventions, API patterns, architectural decisions) that the agent applies across many future tasks. Episodic memories are most useful for avoiding repeated mistakes: an agent that recalls "last time I tried this approach it failed and required a full rollback" can make better decisions than one that starts fresh every session.