主要面向 Claude Code,其他终端 AI 可用但有粗糙边缘;CLAUDE.md 需放在工作目录而非 vault 内,MEMORY.md 需放在 ~/.claude/projects/ 下以免出现两层记忆;模板中 [FILL IN: ...] 需让 AI 或手动填写后才能用。
ai-memory-vault
jaredrhodCC-BY-SA-4.0活跃维护把 Obsidian 笔记库改造成 AI 的持久工作记忆,用纯 Markdown 文件代替向量数据库,让智能体跨会话记住上下文。
Give your AI a real, persistent memory. The open-source system plus templates that turn an Obsidian vault into your AI's working memory. No vector database, just markdown.
在 Claude Code 会话中粘贴:I'd like to set this up, please: https://github.com/jaredrhod/ai-memory-vault.gitREADME 未说明硬件要求;在 Claude Code 上构建和测试,任何能读写文件的终端 AI 均可运行,$20 Pro 套餐足够。
把 Obsidian 笔记库变成 AI 的持久记忆,不用向量数据库,纯 markdown 实现
把 Obsidian 笔记库改造成 AI 的持久工作记忆,用纯 Markdown 文件代替向量数据库,让智能体跨会话记住上下文。
核心能力
- 用 Obsidian vault 作为 AI 跨会话的持久记忆
- 通过 AI Priming 在任务前定向读取相关笔记
- 提供 CLAUDE.md、VAULT-INDEX 等可填空模板
- 构建脚本自动检查并安装 Obsidian 再访谈建库
- 内置作者本人的 agent 人格配置可直接替换
容易踩的坑
- v3.2v3.2: Your agent gets an identity最新正式版2026-07-14 · 2026-07-14 21:55 UTC
The theme of this release: your agent stops being a nameless setup and becomes somebody. Identity, personality, and a friendlier front door, plus a set of durability rules learned from running this system every day.
New
- Your agent gets a name. The boot template (
templates/CLAUDE.md) now opens with an Identity section: the agent's name, its role, its personality, and a welcome line for the start of every session. Identity lives in CLAUDE.md on purpose: it's the only file loaded automatically every session and the only one that survives context compaction, so your agent boots as the same colleague every time instead of discovering who it is from a note. - Setup now starts with the naming. The build interview's new first question names your agent and sets its personality before anything else gets built, and writes it straight into the boot file. The templates carry matching [FILL IN] slots if you set up by hand.
- The Daily Note Template ships in the box (
templates/DAILY-NOTE.md). It lives in your vault at01 - Daily Notes/Daily Note Template.md, right next to the notes it shapes, and every daily note gets created from it: an Index block up top, timestamped session sections, and the five standard sections (What Got Done, What's Still In Progress, Decisions Made, Notes Touched, Profile Updates). Both the boot config and the vault index point at it, in both places on purpose, so the habit survives long conversations. - A new rule joins the can't-lapse set: never suggest stopping. The agent doesn't nudge you to wrap up, take a break, or call anything "a natural stopping point," and the disguised forms count too. You decide when you're done.
- Two new optional profile sections: Background and What I Want. Your story and what you're building toward, so the agent understands WHY you decide things the way you do and can weigh tradeoffs the way you would.
- New working defaults in the preferences and habits: guidelines vs laws (rules of thumb are reference points, not legislation), you drive the trust-and-access ramp (the agent never proposes expanding its own access), bank the working method (a lesson learned once never gets re-learned), deliverables go in your folders (never in session temp directories), and a note format standard (real Markdown checkboxes, append before you create).
Improved
- A friendlier setup interview, based on your feedback. Several of you said some onboarding questions felt too personal. Fixed at the source: every personal question is clearly optional, the AI explains why it asks before it asks, and it never presses. Skip anything and it moves on without a fuss.
- Each file's purpose is now stated plainly for the agent. CLAUDE.md does three jobs: who the agent is, where its memory lives, and the rules that can't lapse. VAULT-INDEX.md does two: your profile, and the map of the vault. Every AI touching the system now knows exactly which file is for what.
- Keep the map true. The index rules now cover folders, not just notes: when a new folder is created, its index gets created and the Vault Structure map in VAULT-INDEX.md gets updated in the same pass. A folder the map doesn't show is a folder no future session will look in.
- The memory migration flow is hardened and spelled out step by step: copy into the vault, organize, keep a frozen archive copy and verify it, then the redirect and the final cleanup happen with you in control at every step.
For contributors
- The build script's embedded templates now carry explicit sync contracts with
templates/: the duplication is deliberate (it keeps the single-file upload path self-contained), and an edit to one is an edit to both, in the same commit.
Upgrading from an earlier version
Nothing updates automatically; your copies are yours. The easiest path: paste the new
ai-memory-vault.mdinto your AI and say "compare this to my existing setup and apply what's new." Or g - Your agent gets a name. The boot template (
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
AI Memory Vault
Never used Claude Code? Start at jaredrhod.com: pick your situation and it routes you to the right path.
Runs on: built and tested on Claude Code; any terminal AI that reads and writes files works with rough edges. The $20 Pro plan is enough.
Give your AI a real, persistent memory. This is the free, open system that turns an Obsidian vault into your AI's working memory, so it remembers everything across sessions, lives outside the model with no size ceiling, and pulls back exactly what it needs in one step. Free to use, share, and build on, including commercially inside your own business (see LICENSE).
It also ships with my actual agent. People kept asking whether they could just download my Jarvis instead of inventing an assistant from scratch, so now the boot config arrives with him already in it: the name, the personality, the way he talks, and the rules he runs on. Keep him as-is, keep him and change the name, or replace him with your own. Your call, and it's one section of one file either way.
The build
- ai-memory-vault.md: the build script. Run it inside Claude and it checks whether Obsidian is even installed yet (and installs it for you if not), interviews you, then builds a complete, self-maintaining system: a boot config, a folder structure around your real projects, daily notes that write themselves, a profile that updates as the AI learns about you, and "Jobs" that teach it to do your recurring tasks your way. Your vault becomes the AI's memory, so it lives outside the model with no size ceiling, and the AI holds only what the current task needs while reaching anything else in one step. Watch the walkthrough: https://www.youtube.com/playlist?list=PLN7lTYpeRLOc
Already inside a Claude Code session? Paste this and it builds the whole system with you: "I'd like to set this up, please: https://github.com/jaredrhod/ai-memory-vault.git"
AI Priming
AI Priming is having your AI read a specific set of your notes before it gives you the answer or output you want. For example, before my agent writes a marketing email, it reads my copywriting notes, my email marketing notes, my customer avatar, and my company knowledge base. Then it writes. This is extremely powerful because, with AI, context is king. When you "prime" your AI with the knowledge and skills it needs prior to its output, your results will always be better and more accurate.
Every job gets its own set of notes. An email needs different notes than a Facebook ad. The vault keeps all of your notes organized in one place and tells your AI which notes to read for which job. You set that up once, and your AI primes itself on every task after that.
Full definition and examples: https://jaredrhod.com/ai-priming
Templates
Starter files for the system. Every spot that needs your information is marked [FILL IN: ...]. Drop a template in and tell your AI "fill this in for me," and it will interview you and write it in your voice (each template carries that instruction for the AI). Or fill them out by hand if you prefer.
- CLAUDE.md: the boot config. Goes in the folder you run Claude Code from (your working directory), kept out of your vault so the vault stays pure notes and doesn't get tangled once you have more than one project. Claude Code auto-loads it every session and points the AI to your vault. Holds your agent's identity (its name, role, and personality) plus your startup sequence and the rules that can't lapse. This one arrives working: my own agent's identity is already filled in, clearly marked as the one section to swap if you'd rather have your own.
- VAULT-INDEX.md: the operating manual. This one lives inside your vault (it's a note, not config). Your profile, your projects, the full vault rules, and how you like to work with the AI.
- DAILY-NOTE.md: the daily-note template. Goes inside your vault at
01 - Daily Notes/Daily Note Template.md. Every daily note gets created from it, so the log keeps one consistent, scannable shape. - MEMORY.md: the pointer for Claude Code's own memory. Goes in Claude Code's project folder (
~/.claude/projects/..., not your vault). It redirects the native memory back into the vault so you never end up with two memory layers that drift apart.
Updating
The build script, the templates, and the wizard improve continuously. If you keep a copy of this repo on disk, say to your agent: "pull the latest ai-memory-vault and tell me what changed." Updates only ever touch the repo's own files. Your vault, your notes, and your CLAUDE.md are yours and are never inside this repo, so nothing you built can be overwritten. Installed through fullstack-agent? ./fullstack-agent/update.sh updates every piece at once and prints what changed.
The rest of it
A mind is better with a mouth, a face, and hands. Once your agent remembers you, the natural next steps are talking to it out loud, giving it a face on screen, and moving your notes around with your bare hands.
- The whole stack, one command. fullstack-agent installs the memory, the voice, the face, and the hands, and wires them together for you. Pick only the pieces you want: https://jaredrhod.com
- The videos. Free series on all of it: https://youtube.com/@jaredrhod
- The Discord. Thousands of builders, and the fastest place to get unstuck: https://discord.gg/YSdsqMv3V8
- Everything else, free and open: https://jaredrhod.com
Support
Free to use, and always will be. If this helped you out, you can buy me a coffee:
License
Copyright (c) 2026 Jared Rhodenizer.
Licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Use it in your business, commercially, for free. Copy it, adapt it, and build your own system on it. Two rules: credit me, and license your own adapted version the same way so the next person gets what you got. Full terms are in the LICENSE file and at https://creativecommons.org/licenses/by-sa/4.0/