Your Agent's Second Brain
Obsidian + AI = your agent finally gets a filing cabinet with a map
You've got an agent with memory. It writes markdown files. It reads them back. It remembers things. But you can't see any of it. It's like hiring a brilliant assistant who keeps all their notes in a locked filing cabinet. That's what Obsidian fixes.
Why Obsidian Is the Perfect Match
Here's the beautiful accident: AI agents already think in markdown. OpenClaw writes .md files. Claude reads .md files. Your MEMORY.md, your daily notes, your PARA knowledge base — it's all plain text sitting in folders.
And Obsidian? It's a markdown editor that turns folders of .md files into a visual knowledge graph.
Obsidian uses plain markdown. Your agent uses plain markdown. Zero translation layer.
No cloud dependency. Your data stays on your machine. They're roommates sharing a fridge.
You edit in Obsidian, your agent sees it instantly. Your agent writes a file, it appears in Obsidian instantly. No sync delay.
The knowledge graph shows connections between notes. You can literally see when your agent's memory has gaps.
Setting Up the Shared Vault
This is almost embarrassingly simple:
~/.openclaw/workspace/)Teaching Your Agent Wiki-Links
The knowledge graph gets powerful when your agent starts using Obsidian-style wiki-links. Add this to your AGENTS.md:
## Note Linking When referencing other files in the workspace, use Obsidian-style wiki-links: - Instead of: see memory/2024-01-15.md - Use: see [[2024-01-15]] - Instead of: check knowledge/projects/agentawake.md - Use: check [[agentawake]]
The Five Essential Plugins
Embeds all your notes into vectors and lets you find semantically similar content. It's like Netflix recommendations, but for your notes.
Write queries against your notes' frontmatter and content. "Show all daily notes from the last week" or "List all active projects."
Auto-generates notes from templates. Ensures new project docs follow the same structure your agent expects.
Configure to use the same memory/ folder. Open Obsidian in the morning → see what your agent did overnight.
Infinite whiteboard for mapping agent memory architecture, planning multi-agent workflows, and creating visual decision trees.
The Bi-Directional Workflow
Agent → Human Flow
Your agent writes daily notes, project updates, and new memories. You open Obsidian and see what happened at a glance, read daily notes, spot patterns, and reorganize notes.
Human → Agent Flow
You add context to project docs, create notes with instructions, edit MEMORY.md, and add links between related notes. Your agent picks up new context automatically.
Reading the Knowledge Graph
- • Dense clusters around active projects
- • Bridges between clusters (cross-references)
- • Few orphan nodes (cleanup queue)
- • Clear PARA hierarchy visible
- • One giant cluster, everything else isolated
- • No connections between daily notes and projects
- • Tons of orphan nodes (memory bloat)
- • Stale clusters with no new connections
The Weekly Review
Spend 10 minutes once a week in the graph view:
Common Pitfalls
That's normal. Agents optimize for speed, not aesthetics. Use Obsidian to reorganize — your agent will adapt.
Define clear ownership zones: "Human Notes" section = yours. "Agent Updates" section = theirs. Document this in AGENTS.md.
Use "Excluded files" to hide the memory/ archive. You can still access it — it just won't load on startup.
Share this chapter
Chapter navigation
23 of 36