Obsidian-based LLM Wiki keeps AI agent context across Claude Code sessions
A DEV Community post explains how to store the working context of AI agents such as Claude Code in a single Obsidian wiki so it can be reloaded in later sessions. The approach adapts a pattern Andrej Karpathy published, and the author's wiki grew to 166 pages and 140 log entries between August and November 2026. Unlike retrieval-based RAG, the agent itself organizes and updates the markdown pages, flagging conflicts when new material arrives. The folder has raw/ for sources the user adds, wiki/ for distilled decisions and project context the agent maintains, and conversations/ for unsettled session handoffs. Users trigger actions such as checking, saving, or linting the wiki with plain-language phrases, and the agent writes only when asked.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in