Synaptic Memory: Brain-Inspired Knowledge Graphs for LLM Agents