Graph Hacks — WeMakeDevs × FalkorDB

One memory, read by every AI tool on your machine.

Decide something in Claude Code and Cursor still thinks it's outdated. Engram is a local-first memory layer backed by a graph in FalkorDB — every tool reads and writes the same memory, and because it's a graph, it always knows which decision is current.

Get started →View on GitHub
docker compose up -d && npm install && npm run build && node dist/cli.js up
Engram's web UI: a memory graph showing Relayer uses Hono superseding Relayer uses Express, with the full provenance chain in the detail panel

Real output from a running daemon — not a mockup. "Relayer uses Express" was superseded automatically when a later Claude Code session decided to switch to Hono; Cursor and Gemini CLI read the same graph over MCP.

01

Supersession, not similarity

A vector store can't tell old from current — both score well on "what framework do we use." Engram models replacement as a real edge: (:Memory)-[:SUPERSEDES]->(:Memory).

02

Provenance as a traversal

Which tool, which session, when, and what it replaced is a path you can walk — Tool→Session→Memory — not a field that can drift out of sync.

03

Zero effort capture

A Claude Code session hook extracts memories automatically when a session ends. You never say "remember this" — it's already there next time.

Installation

Six steps, five minutes

FalkorDB runs locally in Docker with no auth. The only thing that leaves your machine is the extraction call to Groq (bring your own key, free tier works) — and secrets are redacted before that call happens.

1

Start FalkorDB

Local Docker container, no auth. Browser UI on :3000 if you want to poke at the raw graph.

terminal
docker compose up -d
2

Install and build

terminal
npm install
npm run build
3

Add your Groq key

Free tier works. console.groq.com — used only for turning a conversation into structured memories.

terminal
cp .env.example .env
# edit .env: GROQ_API_KEY=gsk_...
4

Start the daemon

Binds to 127.0.0.1 only — nothing is exposed beyond your machine.

terminal
node dist/cli.js up
# → engram daemon listening on http://127.0.0.1:7777
5

Open the web UI

terminal
open http://127.0.0.1:7777
6

Wire it into your tools

Registers the MCP server (and, for Claude Code, the session hooks that make capture automatic).

terminal
node dist/cli.js install claude-code
node dist/cli.js install cursor
node dist/cli.js install gemini-cli
No live session handy?

Reproduce the demo without any LLM calls

A deterministic seed script rebuilds the exact Express→Hono supersession shown above, directly against the graph layer.

terminal
npm run seed-demo