JamJan05498 downloadsChat with GPT and Claude directly inside your notes — RAG from your vault, history, projects and smart modes.
Chat with OpenAI GPT, Anthropic Claude, and local models directly inside Obsidian, with vault-aware context, conversation history, projects, smart modes, and local-first storage.
AI-Vault turns your Obsidian workspace into an AI assistant that can use your notes, canvases, selected files, and project history as context while keeping plugin data on your own machine.
AI-Vault is desktop-only because optional storage outside the vault requires desktop file-system APIs.
Any model served by an OpenAI-compatible or Ollama endpoint, including:
Use Provider → Local API to chat with models running on your own machine. AI-Vault supports two endpoint types and can fetch the available model list from your server.
http://localhost:1234/v1.ollama serve.ollama pull llama3.http://localhost:11434 (no /v1 — AI-Vault uses Ollama's native endpoints).Web search is not available for Local API models. Local API requests are sent only to the Base URL you configure. If your Base URL points to a cloud service or third-party gateway, your chat messages and Local API key are sent to that endpoint. Leave Local API key empty for local Ollama or LM Studio.
AI-Vault can add your notes to the model context in two ways:
.md and .canvas files for relevant chunks.Canvas files are parsed into readable text using their nodes and edges, so the model can understand the flow of a canvas instead of receiving raw JSON.
The RAG engine combines keyword search and embeddings when available. If no OpenAI key is configured for embeddings, lexical search can still provide useful matches.
Building the enabled vault-wide RAG index enumerates Markdown and Canvas files. File contents are read incrementally for indexing; ordinary wikilink resolution uses Obsidian's metadata cache and does not scan the vault.
Settings → AI-Vault → RAG → Ignored RAG paths takes one pattern per line and keeps matching notes out of RAG entirely — they are not indexed, not sent to the embeddings model, not used as context and not listed as sources:
Assets/**
Unsorted/**
Templates/**
*.canvas
# lines starting with a hash are comments
/ matches that file name at any depth, and a top-level folder of that name; a pattern containing / is anchored at the vault root.* matches within one path segment, ** crosses segments. A pattern without wildcards also covers everything below it, so Assets behaves like Assets/**.[[wikilink]] from an attached note.This only affects AI-Vault's RAG. It does not hide anything inside Obsidian.
Projects let you keep related conversations together.
Each project can have:
This works well for long-running research, coding tasks, study topics, writing work, or client-specific threads.
Inside the AI-Vault chat view you can:
The entire interface is fully localized in English and Polish. Switch it any time in Settings → AI-Vault → Language / Język; the change applies across settings, chat, projects, history, quizzes, and notices.
By default, AI-Vault stores plugin data outside your vault in a local folder next to the vault directory:
<parent-of-vault>/<vault-name>-gpt-data/
This keeps data out of Obsidian Sync by default.
Storage location is configurable. API keys have their own Obsidian Sync / local choice. Conversation history, projects, and the RAG index use the external-storage setting and can instead be kept in the plugin folder inside the vault for Obsidian Sync.
Stored locally:
Data is sent to model providers only when it is part of a request, for example:
AI-Vault does not use its own backend server. Requests go directly from Obsidian to the configured OpenAI or Anthropic API, or to the Local API Base URL you set. Local API can be a local server such as Ollama or LM Studio, or a user-configured authenticated Ollama/OpenAI-compatible gateway such as Ollama Cloud, LiteLLM, LocalAI, or vLLM.
Desktop Node.js fs and path access is limited to the optional external storage directory. Clipboard access is write-only and runs only when you press a message or code copy button. The plugin never reads clipboard contents.
<your-vault>/.obsidian/plugins/ai-vault/
Required files:
main.js
manifest.json
styles.css
Once available in the Obsidian Community Plugins directory:
Install dependencies:
npm install
Run a development build:
npm run dev
Run typecheck:
npm run typecheck
Run the Obsidian and TypeScript lint rules:
npm run lint
Create a production build:
npm run build
The production plugin files are:
main.js
manifest.json
styles.css
Found a bug or have a feature request? Open an issue on GitHub Issues.
Please include:
Pull requests are welcome. For larger changes, please open an issue first to discuss the proposed direction.
MIT © 2026 JamJan05