A graph-based knowledge system that gives Claude Code persistent, structured memory. People, places, projects, preferences — all connected, all private, all yours.
curl -fsSL https://raw.githubusercontent.com/laicalasse/remembrain/main/install.sh | bash
CLAUDE.md is a sticky note. You need a brain.
Every algorithm has a citation. Every model has a proof.
Property graph in SQLite with typed entities, weighted edges, temporal validity, and JSON properties. Not a vector store. Not a text file.
Collins & Loftus (1975). Queries ripple through the graph like human associative memory. Find connections you didn't know existed.
Ebbinghaus forgetting curve with access-modulated retention. Memories you use stay strong. Memories you don't gracefully fade.
Personalized PageRank via power iteration (HippoRAG, NeurIPS 2024). The most connected knowledge surfaces first.
Jaro-Winkler similarity for entity resolution. "Jon", "John", and "Jonathan" resolve to the same person automatically.
Everything in ~/.memory/graph.db. No cloud. No API keys. No telemetry. Your knowledge graph never leaves your machine.
curl -fsSL https://raw.githubusercontent.com/laicalasse/remembrain/main/install.sh | bashBuilds a single binary from source. Symlinks the Claude Code skill. Done in 30 seconds.
/remembrain add person "Alice" --importance 0.8/remembrain relate "Alice" works_at "Acme Corp"Claude calls it automatically when you mention people, places, or preferences. Or invoke it yourself with /remembrain.
remembrain serve --port 3333Interactive D3 force-directed graph in your browser. Click nodes, add connections, search with fuzzy matching.
Inspired by Tulving's memory taxonomy (1972).
Raw conversation turns stored verbatim. Non-lossy ground truth with full provenance chain. You always know where a fact came from.
Entities extracted from episodes: people, companies, places, concepts. Connected by typed, weighted, temporal relationships.
Preferences, habits, and patterns. "Prefers TypeScript." "Uses dark mode." "Drinks Nescafe." Weighted associations that influence recall.
| CLAUDE.md | claude-mem | Supermemory | Remembrain | |
|---|---|---|---|---|
| Storage | Flat file | Flat file | Cloud DB | SQLite graph |
| Privacy | Local | Local | Cloud | 100% local |
| Search | None | Basic | Semantic | FTS5 + graph traversal |
| Relationships | None | None | Tags | Typed weighted edges |
| Entity types | None | None | Generic | 8 types |
| Memory decay | None | None | None | Ebbinghaus curve |
| Visualization | None | None | Dashboard | D3 force graph |
| Cost | Free | Free | Paid | Free & open source |
8 entity types. Unlimited relationship types. One unified graph.
Alice works_at Acme Corp
Acme Corp located_in Istanbul
Alice knows Bob
Alice likes TypeScript
Meeting attended Alice
Bob uses Vim
One script. One binary. Infinite memory.
curl -fsSL https://raw.githubusercontent.com/laicalasse/remembrain/main/install.sh | bash