memtrace-b837310b·2 events·first seen Aliases: MemTrace
memtrace-public is an open-source Python library providing structural memory for AI coding agents via a bi-temporal graph architecture. It is MCP-native and operates without LLM calls, targeting integrations with Cursor, Claude Code, Codex, and VS Code. The project is early-stage with 407 stars and modest daily traction.
MemTrace introduces a framework that converts LLM memory pipelines into executable memory evolution graphs to enable fine-grained error tracing and root-cause attribution. The authors construct MemTraceBench, a benchmark covering Long-Context, RAG, Mem0, and EverMemOS memory systems, to systematically characterize memory failure modes such as information loss and retrieval misalignment. An automatic attribution method iteratively traces operation subgraphs to pinpoint failures, and the resulting signals are used to guide prompt optimization in a closed-loop system that improves end-task performance by up to 7.62%.