TRACE: Open-Source Hierarchical Memory for LLM Agents

PsychologicalDot7749 · reddit · 2026-07-06

The author open-sourced TRACE, an agent memory system that organizes conversation history into a topic tree (branches + summaries) rather than flat RAG slices. On the MemoryAgentBench(ICLR 2026) EventQA accurate retrieval task, it achieved an 82.5% F1 score using the locally run gpt-oss-20B, and 83.8% with gpt-oss-120B, significantly outperforming the official paper numbers for Mem0 (37.5%) and MemGPT/Letta (26.2%).

The author clarified this isn't a fair backbone comparison (as the latter used GPT-4o-mini) and noted that an attempt to run Mem0 on gpt-oss failed because its fact-extraction step requires strict JSON output, which failed to parse. It can be installed via pip install trace-memory.

Related event: TRACE Open-Sources Hierarchical Memory for Agents(3 posts)→

Original post →

More from coding & agent

coding & agent channel →