
Zero-Mem for Pi Review: Zero-Token Memory for a Coding Agent (2026)
Zero-Mem for Pi is a community extension that gives the Pi coding agent long-term memory without spending a single LLM token on memory operations. It keeps every finished session as a raw trace, indexes those traces with local NER and embedding models, and injects a small number of retrieved snippets into later prompts — so the model is called once, for the answer. That is the whole idea, and it is narrower than the marketing line suggests. The architecture comes from the paper Zero-Mem: Zero-Token Memory Operations for LLM Agents (arXiv:2607.29377v1, 31 July 2026, CC BY-NC-SA 4.0), which reports a 57.6% reduction in memory-operation time cost versus the fastest baseline at matched final-answer quality. Two independent Pi ports exist as of this writing: skorotkiewicz/zero-mem (the early adaptation, roughly two stars, README package name pi-zero-mem) and woolcoxm/zero-mem-pi (a self-described “faithful reimplementation”, 38 stars). Both are architectural adaptations of a paper whose reference implementation is still pending peer review, and both say so. ...