Vibe Coding Discover

MCP

graymatter

View on GitHub

30 sec to give your AI agents persistent memory. Reduce 90% token consumption while also maintaining quality.

★ 47238 forksGoMITangelnicolasc

GrayMatter is a local-first Go memory layer for AI agents, available as an MCP server, CLI, and Go library. It stores and retrieves relevant facts across sessions, builds an optional knowledge graph, and integrates with clients such as Claude Code, Cursor, and Codex.

Use Cases

Persist agent memories across sessionsRetrieve relevant facts for coding agentsReduce prompt context tokensBuild a knowledge graph from stored memoriesSync selected facts into project instruction filesInspect memory usage and retrieval activity

Built With

Language
Go
Frameworks
Model Context Protocol · chromem-go

Tags

agent memory · persistent memory · MCP server · knowledge graph · context management · token reduction · offline-first · self-hosted · semantic search · CLI