← Memory, Context & State
Semantic Memory
Semantic memory holds general facts, concepts, and domain knowledge that are not tied to any single event. In an AI agent, semantic memory can be encoded in model weights through pre-training or stored externally in a vector database and retrieved on demand. Unlike episodic memory, semantic memory is about what is known, not when it was learned, making it useful for answering factual or procedural questions.