graymatter
GrayMatter is an open-source tool that provides persistent memory for AI agents, reducing context token consumption while maintaining answer quality through selective recall, knowledge graphs, and memory consolidation. It supports the MCP protocol and can connect to clients such as Claude Code, OpenCode, Zed, and Cline, and it offers a command-line tool, a TUI memory workbench, and an optional hook-based automatic recall feature.