Self-host graymatter
v0.20.1Persistent memory layer for AI agents with knowledge graph
- Stars
- 488
What is graymatter?
GrayMatter is a standalone binary that provides persistent memory storage for AI agents. It reduces context token usage by 90% through semantic recall of relevant facts instead of injecting full conversation history. The software builds an automatic knowledge graph from usage, supports multiple embedding providers (Ollama local models, OpenAI, Voyage AI), and degrades gracefully to keyword-only mode when no API keys are configured. Available as installable binaries via package managers or direct download, it integrates with popular AI IDEs including Claude Code, Cursor, Codex, OpenCode, Antigravity, Windsurf, VS Code Copilot Agent, Zed, and Cline through the Model Context Protocol.
Should you self-host graymatter?
graymatter scores 53/100 on selfhost.directory (how scoring works) and ranks #38 of 125 in AI. It has 488 GitHub stars.
It shipped 14 stable releases in the past year. The latest, v0.20.1, came out on 9 October 2026. New versions land roughly every 2 days.
Setup is easy: most people get it running in one sitting. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is graphiti (78/100, 32 303 stars). It scores higher overall, so compare the two before you pick. See graymatter vs graphiti side by side.
Features
- CLI Tool
- Confidence levels
- MCP Server
graymatter README
More in AI
grokbuild-proxySelf-hosted proxy translating Anthropic and OpenAI API requests to Grok Build, letting you use your personal Grok account with Claude Code and compatible clients.
hal0hal0 is a self-hosted, open-source AI inference platform turning a Linux machine into a private OpenAI-compatible appliance.
hearthSelf-hosted observability dashboard for home AI clusters monitoring vLLM, llama.cpp, SGLang, Ollama, LiteLLM with real metrics and training observability.
heliconeHelicone is a self-hosted, open-source LLM observability platform and AI gateway for 100+ models with cost tracking, agent tracing, prompt management, and a playground.
helixdbA Rust-based graph database that unifies vector similarity and keyword search on object storage for AI memory workloads.
hisabiOpen-source, self-hosted personal finance tracker that turns bank SMS alerts into transactions, with budgeting, dashboards and AI-powered spending insights.
HitKeepA single-binary, open-source analytics tool that covers traffic, conversions, search performance, and AI-driven visits without needing a separate database.
hiveboxSelf-hosted Linux sandbox isolating AI agents with kernel namespaces and cgroups, featuring a REST API, MCP bridge, and built-in web dashboard.
ht-mcpRust MCP server for headless terminal sessions. Self-hosted, open-source, single binary with no external dependencies. Integrates with Memex and Claude Code.
HunterCode Community EditionSelf-hosted AI investment research for A-shares, HK & US stocks with local data storage and BYOK LLM support.
image-prompt-librarySelf-hosted open-source app for managing a private library of AI images with prompts, tags, and collections. Runs locally with SQLite, optional ChatGPT/Grok OAuth.
inference-gatewaySelf-hosted gateway that routes requests to 16+ LLM providers through a single OpenAI-compatible endpoint with MCP tools, A2A agents, guardrails, and observability.
0 comments