{"repo":"zjunlp/MemTrace","free":true,"listed":false,"github":"https://github.com/zjunlp/MemTrace","clone":"git clone https://github.com/zjunlp/MemTrace.git","description":"MemTrace: Tracing and Attributing Errors in Large Language Model Memory Systems","language":"Python","stars":69,"topics":["agent","agent-tracing","artificial-intelligence","debugging","large-language-models","memory-system","natural-language-processing","tool","tracing","memtrace"],"license":"MIT","category":"analytics","readme_excerpt":"Tracing and Attributing Errors in Large Language Model Memory Systems Paper MemTraceBench MemBase smartcomment --- Table of Contents - News - Overview - Installation Guide - Prepare Data and Models - Quick Example - Error Attribution - Diagnostic Report for Memory Systems - Automatic Optimization of Memories - Retrieval Performance - Annotation Interface - Acknowledgement - Citation - License News - [2026-07-17] : 🚀 We update the paper with a long-context baseline for error attribution and a no-attribution baseline for prompt optimization. We also release the code for studying query construction during starting-point initialization. - [2026-06-09] : 🚀 We open-source MemTrace , including the experiment code and the source code of the annotation interface. - [2026-06-07] : 🚀 We release the MemTraceBench dataset, a benchmark for tracing and attributing failures in LLM memory systems, built from execution graphs and curated failure annotations. - [2026-06-03] : 🚀 MemBase now integrates smartcomment to trace memory construction, retrieval, and usage. We also provide the reproduction scripts and configs for generating the execution-graph data used by MemTraceBench . - [2026-06-01] : 🚀 We release the smartcomment toolkit, a lightweight Python toolkit for recording execution graphs from existing systems. Overview MemTrace helps developers understand why an LLM memory system gives a wrong answer. A memory system may read many user messages, extract facts, update stored memories, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/zjunlp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zjunlp/MemTrace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}