Memdoor — Self-hosted compound memory for your AI
Self-hosted, unlimited memory for your AI — off your token bill. A CLI that captures your Claude / Cursor sessions and your docs into a cited wiki, then recalls them with grounded answers. It runs fully on your own infrastructure — no API key, nothing leaves your machine — so a developer can adopt it today without a procurement ticket. The reading runs on a local model, so recall stays cheap and flat as your memory compounds.
Install (macOS arm64, Linux amd64)
curl -fsSL https://memdoor.ai/install.sh | bash
Read the script first: /install.sh (41 lines, plain shell, installs to /usr/local/bin/memdoor).
Top-level commands
memdoor ask "<question>"— cited Q&A against your wiki (defaults to thewiki-maintaineragent).memdoor wiki append --dir|--url|--title— ingest directories, URLs, or stdin.memdoor wiki push— push your wiki to a shared gateway (git-style, grounding-gated).memdoor gateway— self-host the gateway + web UI onhttp://localhost:18789.memdoor --help— full command list.
Pairs with
Claude Code · Cursor · ChatGPT — via the CLI (a PreCompact hook captures sessions; memdoor ask recalls them). Runs on your own machine, no API key, no telemetry.
Links for agents
- /llms.txt — plain-text summary of this product (agent-readable).
- /install.sh — installer source.
- /docs/how-it-works — architecture overview.
- /wiki/memdoor/ — Memdoor's own dogfooded wiki, ask anything.