Self-hosted MCP server + dashboard giving Claude Code, Cursor & Hermes agents shared long-term memory over a git-backed markdown vault. Agent-native, Obsidian-compatible second brain — markdown RAG, no vector DB.
TypeScript agent-memoryai-agentsanthropicclaude-codecursorgitknowledge-baseknowledge-graphllmmarkdownmcpmcp-servermodel-context-protocolnote-takingobsidianpkmragsecond-brainself-hostedzettelkasten
docs: sharpen README framing + fix feature drift
Ronalds Palacisc674341131a2
diff --git a/README.md b/README.mdindex b20ad07..b2e8f05 100644--- a/README.md+++ b/README.md@@ -17,22 +17,26 @@---Engram is a self-hosted **MCP server + dashboard** that gives Claude Code, Cursor, Hermes, and any-[Model Context Protocol](https://modelcontextprotocol.io) agent **shared, long-term memory** — over a-plain, **git-backed folder of markdown**. No database:-your notes are the source of truth, an in-memory index powers full-text search and a wikilink-**knowledge graph**, and git is the durable store.+[Model Context Protocol](https://modelcontextprotocol.io) agent **shared, long-term memory they read+_and write_** — over a plain, **git-backed folder of markdown you own**.-Think **Obsidian, but agent-native** — or **markdown RAG without a vector database**. Point it at any-vault of `.md` files (or the bundled `sample-vault/`) and every agent on your team can search, read,-and write the same knowledge. Humans edit it in a fast dashboard; agents edit it over one MCP endpoint.+Autonomous agents forget everything between sessions. Engram is the persistent layer that remembers —+decisions, context, and everything your agents learn — in one vault they all share.++Unlike a headless memory store, **you can watch it happen.** A fast dashboard lets you **search your+brain**, see exactly what every agent and teammate changed (with per-file **diffs**), **jump back** into+recent notes, and curate it all — while agents read and write the same vault over one MCP endpoint. No+database: your `.md` files are the source of truth, git is the durable store, and an in-memory index+powers full-text search + a wikilink **knowledge graph**.[](https://railway.com/deploy/engram?referralCode=PEidIe&utm_medium=integration&utm_source=template&utm_campaign=generic)[](https://render.com/deploy?repo=https://github.com/rwnalds/engram)[](./LICENSE)-> **Why it exists:** autonomous AI agents forget everything between sessions. Engram is the-> **persistent memory layer** — one knowledge base that humans and agents share, versioned in git,-> so your Claude Code / Hermes / Cursor agents remember decisions, context, and everything they learn.+> **Opinionated about _how_ it stores memory** — git-backed markdown, no database, agents write (not+> just read), self-hosted. **Unopinionated about _what_ you keep in it** — any markdown vault, any folder+> structure, any MCP client. Point it at a fresh repo or your existing **Obsidian vault**: no import+> step, no lock-in.---@@ -42,29 +46,36 @@ and write the same knowledge. Humans edit it in a fast dashboard; agents edit it- **Shared memory for a fleet of AI agents** — one vault, many agents reading and writing concurrently.- **A team knowledge base agents can actually write to** — meeting notes, decisions, client context, SOPs.- **A self-hosted, Obsidian-compatible second brain** exposed over MCP — your notes, your server, your git repo.+- **Memory you can see, not a black box** — a dashboard to search, watch (with diffs), and curate what your agents remember.- **Markdown RAG without the vector database** — full-text search + a link graph over human-readable files.## Features- **MCP server** — 13 `brain_*` tools over one bearer-authenticated HTTP endpoint (`POST /api/mcp`,streamable HTTP JSON-RPC). Connect any MCP client to a single URL.-- **Human dashboard** — file tree, note viewer with **Obsidian callouts, wikilinks, and backlinks**,- Preview / Edit / Split editor with autosave, ⌘K command-palette search, and a **force-directed- knowledge graph**.+- **Human dashboard** — a **search-first home**, file tree, note viewer with **Obsidian callouts,+ wikilinks, and backlinks**, Preview / Edit / Split editor with autosave, ⌘K search + **in-page keyboard+ navigation**, "jump back in" recents, and a **force-directed knowledge graph**.+- **Activity feed** — see every change agents and teammates make to your brain, read straight from **git+ history**, with expandable **per-file diffs**. Your vault gets an audit trail for free.+- **The Curator** *(optional)* — a resident **chat agent grounded in your notes**: ask a question and it+ searches + reads the vault to answer, with wikilink citations (Opus / Sonnet / Haiku, your key). Plus+ one-shot auto-filing (`brain_capture`) — drop a rough note and it lands in the right folder with the+ right frontmatter.- **Markdown-native** — plain `.md` + YAML frontmatter + `[[wikilinks]]`. Drop in an existing**Obsidian vault** and it just works.- **Git-backed** — optional auto commit + push of every change. Full history, no lock-in, your datalives in **your** repo.- **No database** — files are the source of truth; an in-memory MiniSearch index + a ported wikilinkgraph power search and backlinks. Nothing to provision.-- **Multi-workspace** — connect multiple vault repos and switch the active one from the UI.+- **Multi-workspace** — connect multiple vault repos (URL + token or GitHub OAuth), rename, switch the+ active one, or remove them — all from the UI.- **Self-hosted** — one Docker container. Railway / Render / Fly / any host with a volume.**Not** serverless (it needs a persistent volume, a file watcher, and a long-running index).-- **Team auth** — Google SSO + email allowlist for the dashboard; per-agent bearer tokens for MCP- (create/revoke in the UI). Secrets encrypted at rest.-- **Optional AI auto-filing** (`brain_capture`) — dump a rough note and it gets filed into the right- place, with the right frontmatter, automatically.-- **Runtime Settings page** — flip git-sync, capture, and OAuth on/off without a redeploy.+- **Team auth** — Google SSO + email allowlist for the dashboard; per-agent bearer tokens — or **OAuth+ for Claude.ai custom connectors** — for MCP, created/revoked in the UI. Secrets encrypted at rest.+- **Runtime config** — toggle git-sync and the Curator right from the home; manage commit author, keys,+ and OAuth in **Settings** — no redeploy.## Works with@@ -134,6 +145,15 @@ and backlinks. No import step.No. Engram uses full-text search (MiniSearch) plus a wikilink graph over human-readable markdown —no embeddings service, no vector store to run.+**Can I chat with my notes?**+Yes — enable the optional **Curator**, a chat agent that searches and reads your vault to answer with+wikilink citations (Opus / Sonnet / Haiku). It's read-only in chat, so it helps you think without+changing anything, and it runs on your own Anthropic key.++**Can I see what my agents changed?**+Yes — the **Activity** view reads your vault's git history and shows every change (agents and teammates+alike), expandable to per-file diffs. Since it's just git, you get the full audit trail for free.+**Is my data locked in?**No. It's just `.md` files in a git repo you own. Turn Engram off and you still have every note and itsfull history.@@ -143,7 +163,7 @@ You host it. One Docker container on Railway / Render / Fly / any VM with a volu## Stack-Next.js 16 (App Router) · React 19 · TypeScript · Tailwind v4 · shadcn/base-ui · bun · MiniSearch ·+Next.js 16 (App Router) · React 19 · TypeScript · Tailwind v4 · shadcn/ui · bun · MiniSearch ·d3-force · MCP SDK. **MIT licensed.**---@@ -151,4 +171,5 @@ d3-force · MCP SDK. **MIT licensed.**<sub>**Keywords:** MCP server · Model Context Protocol · second brain for AI agents · agent memory ·long-term memory for Claude Code · shared memory for AI agents · self-hosted knowledge base ·Obsidian-compatible · markdown · knowledge graph · wikilinks · PKM · Zettelkasten · git-backed notes ·-Hermes agent memory · Cursor memory · RAG without a vector database.</sub>+Hermes agent memory · Cursor memory · RAG without a vector database · chat with your markdown notes ·+git-backed agent activity feed · audit trail for AI agents.</sub>