Fetching from the wire…
Public story · 2026-08-10 · high
LeanCTX is a Rust proxy, MemPalace hooks in before compaction fires, and claude-mem re-injects sessions, per their repos.
Why now: The three tools surfaced together in coverage dated August 10, 2026.
Three separate projects landed on the same fix independently, per coverage dated August 10, 2026. That matters for anyone running agents through long sessions. Memory handling stops being a prompt technique and becomes a separate process you deploy and trust.
LeanCTX is a Rust binary that proxies the wire and decides what an agent is allowed to read. MemPalace runs local-first with zero API calls and hooks in before compaction fires. claude-mem captures what a session does, compresses it, and re-injects it on the next run, per its GitHub repo.
The shared target is vendor auto-compaction. All three treat it as the lossy step, not the solution. That's a claim about where the failure lives: the vendor's own summarization, not the model's context window size.
A Rust binary proxying the wire is a process boundary. It runs outside the vendor's control, which means it can preserve what the vendor's compaction would drop. That also makes you responsible for running and trusting a separate piece of software to keep your agent's memory intact.
Watch whether one of these gets folded into a vendor's own tool instead of staying independent. That would show whether vendors see local context control as a threat worth absorbing or a feature request.
None of the three report how their latency or context retention compares to vendor compaction, per their repos. That's the gap to check before picking one for production.
Each link below shares sources, entities, or timing with this story.
mempalace benchmarked against LoCoMo / Shared entity: MemPalace / Same source domain / Earlier coverage / Tension
Linked by a graph relationship (mempalace benchmarked against LoCoMo); both cover MemPalace; reported by the same outlet (github.com).
mempalace supports Claude Code / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (mempalace supports Claude Code); both cover Context, LeanCTX, Rust; reported by the same outlet (github.com).
mempalace uses SQLite / Shared entities / Same source domain / Earlier coverage / Tension
Linked by a graph relationship (mempalace uses SQLite); both cover MemPalace, Rust; reported by the same outlet (github.com).
mempalace uses ChromaDB / Shared entity: MemPalace / Same source domain / Earlier coverage
Linked by a graph relationship (mempalace uses ChromaDB); both cover MemPalace; reported by the same outlet (github.com).
Milla Jovovich built by mempalace / Shared entity: MemPalace / Same source domain / Earlier coverage
Linked by a graph relationship (Milla Jovovich built by mempalace); both cover MemPalace; reported by the same outlet (github.com).
mempalace supports Claude Code / Same source domain / Shared topic / Tension
Linked by a graph relationship (mempalace supports Claude Code); reported by the same outlet (github.com); overlapping topics (agent, architecture).
mempalace benchmarked against LoCoMo / Shared entity: Context / Same source domain / Shared topic / Earlier coverage / Tension
Linked by a graph relationship (mempalace benchmarked against LoCoMo); both cover Context; reported by the same outlet (github.com).
mempalace supports Claude Code / Same source
Linked by a graph relationship (mempalace supports Claude Code); cite the same source (claude-mem).