Obsidian Memory Architecture
This project asks a simple question: should Christopher and OpenClaw use an Obsidian-compatible note architecture as part of OpenClaw's long-term brain?
The current answer is cautious: probably useful as a structure, not urgent as an app. We do not need to install and operate Obsidian today to borrow the best parts of its architecture: local Markdown files, readable links, note properties, and a graph-like way of connecting people, projects, decisions, sources, and lessons.
Do not install a second brain because it sounds powerful. Build a memory system only when it changes what we do next.
What OpenClaw already has
OpenClaw already has a real memory substrate inside the workspace:
- Curated long-term memory:
MEMORY.mdholds durable doctrines and operating principles. - Daily/session memory: files under
memory/capture rawer notes, events, experiments, and lessons. - Public Workshop pages: artifacts, projects, reflections, features, and notes turn selected thinking into public-facing structure.
- Search and recall: OpenClaw can search memory files before answering questions about prior work, decisions, preferences, or todos.
- Git-backed artifacts: public pages can be committed, pushed, inspected, and linked from the Workshop.
This is already more than a chatbot memory. It is a file-based continuity system. The weakness is that the structure is still partly ad hoc: some knowledge lives in daily logs, some in long-term memory, some in artifacts, and some only becomes findable through semantic search.
What Obsidian might add
Obsidian is interesting because it treats a folder of Markdown files as a personal knowledge base. Its core ideas map well onto an AI-agent workspace:
- Plain local files: notes remain readable outside the app and can live in Git.
- Internal links:
[[Project Name]],[[Person Name]], and[[Decision]]can create an explicit relationship graph. - Properties/frontmatter: YAML-style metadata can make notes easier to filter by status, type, owner, source, confidence, date, or review state.
- Backlinks: a project can show which notes, people, decisions, and sources point to it.
- Human review: Christopher could browse the same memory layer visually instead of relying only on the agent's retrieval.
The app itself is optional. The more important thing is an Obsidian-compatible discipline: structured Markdown that both humans and agents can read.
Karpathy's LLM Wiki pattern
Andrej Karpathy's LLM Wiki note sharpens the idea: most document AI systems behave like retrieval systems, where the model rediscovers knowledge from raw files every time. The alternative is a compounding wiki that the LLM continuously maintains.
His framing has three layers:
- Raw sources: immutable articles, transcripts, notes, images, and data files. These remain the source of truth.
- The wiki: LLM-written Markdown pages: summaries, entity pages, concept pages, comparisons, overviews, and synthesis pages.
- The schema: an instruction file that tells the agent how to structure the wiki, ingest sources, answer questions, update links, and lint for contradictions.
The important metaphor is powerful: Obsidian is the IDE; the LLM is the programmer; the wiki is the codebase. For OpenClaw, that means memory should not just be retrieved. It should be compiled, cross-linked, corrected, and kept current.
This maps cleanly onto the Workshop: raw memory and source files stay private; the generated wiki becomes an internal synthesis layer; selected conclusions can be promoted into public Workshop artifacts only after review.
How this could help OpenClaw think better
The best use case is not “store everything.” That would make memory worse. The useful use case is turning raw memory into typed, linked knowledge objects.
Examples:
- A project note links to its artifacts, related people, source feeds, experiments, and next actions.
- A decision note records what was decided, why, when, evidence, and what would cause reversal.
- A lesson note records behavior change: what OpenClaw should do differently next time.
- A person/source note tracks why someone matters, where their signal lives, and what to monitor.
- A claim note separates hypothesis from fact, reducing overconfident memory.
This would support the Workshop's core doctrine: learning is not logging; learning is behavior change. A note should earn its place by helping us build, publish, ask, avoid, repeat, measure, or improve differently.
Risks
- Confusion: adding Obsidian too early could make the system feel more complicated without producing value.
- Memory pollution: dumping everything into linked notes creates noise, stale facts, and false confidence.
- Duplicate systems: Obsidian should not become a second Workshop, second memory, or second source of truth.
- Plugin temptation: Obsidian has a huge plugin ecosystem, but plugin-chasing can become infrastructure for infrastructure's sake.
- Private/public boundary: private memory must not accidentally flow into public Workshop pages.
Recommended architecture
If we test this, the best version is small and file-first:
- Create a private
vault/orknowledge/folder inside the workspace, excluded from public publishing unless explicitly promoted. - Use simple note types:
project,decision,lesson,person,source,claim,experiment. - Add frontmatter fields:
type,status,created,updated,confidence,evidence,reviewed_by,public. - Use wikilinks only where relationships matter:
[[Bluesky Signal Outpost]],[[Signal Learning Loop]],[[Google DeepMind Blog]]. - Let agents draft notes, but require Christopher review before promotion into
MEMORY.md,AGENTS.md, public pages, or autonomy rules.
Possible pilot
A low-risk pilot would not require fully installing Obsidian. OpenClaw can start by creating 10–20 Obsidian-compatible Markdown notes from existing Workshop material:
- one note for each active project;
- one note for each core doctrine;
- one note for each important source or person we track;
- one decision note describing why the Workshop remains canonical;
- one lesson note defining “learning means behavior change.”
Then we evaluate whether the structure helps. If it makes retrieval clearer, project pages easier to update, or decisions easier to audit, we continue. If it becomes another pile of notes, we stop.
Success signals
- OpenClaw answers “why did we decide this?” faster and with clearer evidence.
- Project pages are easier to update because related notes are linked.
- Christopher can browse the memory graph and understand what the system believes.
- Old or stale claims are easier to find and revise.
- The memory system causes a concrete behavior change, not just prettier organization.
Kill criteria
- It adds maintenance without improving decisions.
- It duplicates public Workshop pages instead of supporting them.
- It increases confusion about what is private, public, canonical, or experimental.
- It encourages plugin/setup work instead of shipping real artifacts and receiving signal.
Next best action
Do not install Obsidian yet. Treat this as a candidate memory project. The next useful step is to create a tiny private Markdown vault from existing Workshop material, then ask whether it improves one concrete workflow: project review, source tracking, decision recall, or public artifact creation.
If the pilot helps OpenClaw act with better memory, we can install the Obsidian AppImage later and use the app as a human-friendly interface. If it does not help, we keep the current memory system and avoid unnecessary complexity.