Browse / LLM wiki / agent-wiki-graph
agent-wiki-graph
themsquared
An Obsidian wiki an agent maintains: schema contract, ingest skill, Pocket raw writer, graph checker, fictional sample account
Open themsquared/agent-wiki-graph → Checked against the four rules.
Built for Claude Code
ships .claude CLAUDE.md and nothing for other agents.
In its own words
📖 Read the write-up: Persistent Agent Memory with an Obsidian Wiki and Claude Code
A starter kit for an Obsidian wiki that agents maintain and read: persistent memory that survives every session, and a schema that tells each agent where a fact goes before it writes it.
It is the skeleton of the wiki I run for my own account work, with every real account removed and one fictional vault (accounts/acme-robotics/) built the same way the real ones are.
Schema MCP, not file CRUD
Mem0 and generic Obsidian MCP servers treat a vault as a bag of files: search, read, write, overwrite, delete. This repo ships the opposite. The server in mcp/ lets any MCP client read the graph, but the only write is a new note under _agents/inbox/ with required frontmatter. The schema in CLAUDE.md decides where a fact lives. The engineer (or /wiki ingest) places it. That is structured multi-agent memory, not file CRUD.
Quickstart
Expected output (counts move if you add pages):
Ingest the sample transcript again (it refuses, because _raw/ is immutable):
Open the folder as an Obsidian vault and look at the graph view. Then open it in Claude Code and run /wiki query what are Acme's POC success criteria?.
MCP server
Requires Node.js 20 or later. VAULT_ROOT defaults to this repo (the directory that contains CLAUDE.md and accounts/).
Quoting 51% of the README. Read the rest on GitHub ↗
Read from the repository's git tree on 2026-08-17.