
obsidian-agent-backend
A starter Obsidian vault that lets all your AI agents share one memory you own. Hand SETUP.md to your agent.
Obsidian as an agent backend
This is a starter vault that lets several AI agents (Claude Code, Codex, ChatGPT, Grok, Cursor, and others) share one folder of Markdown notes as their common memory. Each agent reads the same rules and writes to the same notes, so what one agent learns today, the next one knows tomorrow.

The idea
- Files over databases. Your notes are plain Markdown files you own. Any agent that can read a folder can use them.
- Live systems stay in charge. Your calendar, email, and task app remain the source of truth for what they hold. The vault keeps durable context: projects, people, decisions, open threads.
- One rulebook, thin adapters.
AGENTS.mdholds the rules. Each agent's own instruction file is a few lines pointing at it. - Agents append, humans own their prose. Agents add dated, sourced entries to logs. They never rewrite what you wrote. See
_system/write-contract.md. - A Context Map for orientation.
Notes/Context Map.mdis one short page every new chat reads first. - A daily context update. Once a day, any agent can scan your sources and route new facts to the right pages. See
_system/context-update.md. - Git is the undo button. Every agent edit is a change you can read and reverse.
Fastest setup: hand it to your agent
Paste this into an agent that can work with files on your computer, such as Claude Code or Codex:
Set up an Obsidian vault for me as shared memory for my AI agents. Use the template at https://github.com/timkosters/obsidian-agent-backend. Read SETUP.md in that repository and follow it step by step. Ask me before you publish, send, delete, or overwrite anything.
The agent copies the template into a new or existing vault, interviews you for a few minutes, and writes your first project and person pages. SETUP.md is the script it follows, so you can read exactly what it will do. A chat-only agent can use the same prompt; it will walk you through the steps instead.
Or set it up by hand in about 10 minutes
- Click the green "Code" button, then "Download ZIP". Unzip it and open the folder as a vault in Obsidian. Obsidian is free at obsidian.md. If you click "Use this template" instead, set the new repository to Private, because your notes will live in it.
- Give your agent access to the vault. Either point a local agent such as Claude Code or Codex at the vault folder, or install the official Obsidian connector from your agent's plugin directory. The instructions live at obsidian.md/help/connectors.
- Open
AGENTS.mdand fill in the short "About me" section. - Ask your agent: "Read AGENTS.md, then interview me for five minutes and create my first project page and person page."
- Make the vault a private git repo so every agent edit can be undone. GitHub Desktop makes this a few clicks, or you can ask your agent to set it up.
- Tomorrow morning, ask any agent to "run the context update in _system/context-update.md".
Adding a second agent
Add one small instruction file for the new agent that says "follow AGENTS.md". CLAUDE.md in this repo is an example. Nothing else changes; the new agent reads the same rules and the same notes.
What stays out of the vault
- Secrets, passwords, API keys, and recovery codes.
- Anything a live system already owns, such as your full inbox, calendar, or task list. Link to it or summarize the durable part instead.
A note on privacy
When an agent reads a note, that note becomes part of the conversation and is processed by the model provider. Check your agent's privacy and data settings before you point it at sensitive notes. You can also keep private folders outside the vault.
Credits
Built on Obsidian. The official Obsidian skills for agents live at github.com/obsidianmd/obsidian-skills.
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
0
Forks
0
License
MIT
Last updated 4d ago
Categories
Tags