Memgw
Provides shared long-term memory for AI coding agents, enabling them to retain context across sessions and tools.
Memgw acts as a unified, local store for AI coding agents, allowing them to overcome the common problem of forgetting context between sessions or across different tools like Claude Code, Codex CLI, and opencode. It centralizes project context, conventions, previous attempts (especially failures), and user preferences into a persistent memory. This system is designed with a layered architecture—events, facts, and git-audited notes—to efficiently distill and retrieve information, ensuring agents learn from past interactions and stop repeating mistakes, ultimately enhancing productivity and reducing the need for constant re-explanation.