TL;DR
MemTrace is a novel memory system designed for coding agents tackling long-horizon software tasks, significantly improving task state consistency and evidence validity. It enhances performance metrics across multiple benchmarks, including a 21.2-point increase in DeepSWE pass@1.
✦ Why It Matters
Implement MemTrace to improve the reliability of your coding agents in long-horizon tasks today.
Key Takeaways
How It Works
MemTrace operates by storing execution history as immutable Memory Traces, which are linked to essential information such as files and tests. These traces are organized in a Memory Trace Graph that captures their execution order and dependencies.
When memory is limited, the system retains only compact Memory Anchors, allowing the agent to reconstruct the latest execution state efficiently. Before using historical evidence, MemTrace verifies its validity against the current repository state, ensuring that only relevant information is retrieved for the next action.
Related