A knowledge graph is a structured semantic network that represents real-world entities as nodes and their interrelationships as edges, enabling logical reasoning and contextual understanding beyond simple keyword matching. In agentic memory and context management, it serves as a persistent, long-term store of facts and rules, providing deterministic factual grounding for an autonomous agent's decisions by explicitly encoding domain ontologies and entity properties.
