It combines Karpathy's LLM Wiki pattern (structured markdown wiki maintained by an LLM) with MemPalace (an MCP server that adds semantic search and a temporal knowledge graph).
Three layers: - Wiki pages with [[wiki-links]] and YAML frontmatter - the LLM creates and maintains these - Semantic search via embeddings (ChromaDB) - find things by meaning, not keywords - Knowledge graph with typed relationships and date validity - "what changed since last month?"
It's not RAG. RAG re-derives answers from raw chunks every time. Here the LLM compiles knowledge into wiki pages once, keeps them current as new sources arrive, and the graph tracks how everything connects.
Works with any MCP-compatible agent (Claude Code, OpenAI Codex, Cursor, Gemini CLI).