GraphMemory is a graph-based external memory for LLM agents. It accumulates reusable strategies as nodes with weighted edges, and at query time retrieves only a small subgraph around relevant entry nodes rather than exposing the whole memory. This keeps the retrieved context bounded as experience grows, unlike append-only memory where the context grows linearly.
Across two financial reasoning tasks and two LLM backbones, GraphMemory used 81-85% fewer memory-construction tokens and 79-92% fewer test tokens than baselines. It stayed within 4.0 percentage points of ACE on one setting and outperformed ACE by 1.5 points on another. This matters because context windows are a practical bottleneck for online adaptation, and graph-structured memory offers a lower-cost, interpretable alternative.