myc: open-source local memory tool stops AI coding agents from forgetting context
A free, MIT-licensed tool called myc (short for mycelium) has been released on GitHub to address a common frustration with AI coding agents like Claude Code and Codex, which lose agreed-upon decisions when their context window is compacted. The tool stores tasks and decision logs locally in a single SQLite file alongside the project, requiring no cloud API or API key. A PreCompact hook writes the session to disk just before compaction and reinjects a recovery packet into the surviving context, preserving earlier decisions. Memory entries are anchored to specific code segments and automatically downweighted if that code is deleted, while decisions extracted from transcripts remain unconfirmed candidates until a human approves them. Currently, myc supports only Bun runtime on macOS and Linux in single-user mode, with no team or server functionality planned yet.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in