Skip to content

Configuration ​

Vault Intelligence is designed to be powerful out of the box, but you can customise it to suit different hardware, budgets, and workflows.

This reference mirrors the plugin's settings window: one section per tab, in tab order (Connection, Researcher, Explorer, Gardener, Storage, MCP Tools, Advanced), with one entry per setting under the same group headings shown in the app. Rows marked "shown when …" only appear in the settings window under that condition.

Connection ​

Manage your core intelligence providers and credentials. Credentials are stored in your device's OS keychain (or masked in data.json if secure storage is unavailable) and are never synced.

Connection settings ​

SettingDefaultDescription
Documentation—Link row that opens the documentation for the current settings tab.
Secure storage status—Shows whether API keys live in the OS keychain or in the masked plain-text fallback (data.json). On systems without keychain support it also offers a "Retry secure storage" button: reload Obsidian, then click it to re-attempt the keychain migration.

Google Gemini API provider ​

SettingDefaultDescription
Google API keyNoneYour secret key from Google AI Studio. Stored securely in your system keychain (or masked in data.json if secure storage is unavailable). Required for all Gemini models and embeddings. Required by default for the Researcher, Gardener, web search, and the Solver.

Other model providers ​

SettingDefaultDescription
Connection presetNoneQuick-fill presets for common providers: Ollama (local), Ollama Cloud, the Kilo Gateway, and Anthropic. Fills in the endpoint and a secure, keychain-backed API key header where the provider needs one, then refreshes the model list.
Ollama endpointhttp://localhost:11434Server URL for your Ollama connection: a local instance or Ollama Cloud (https://ollama.com). Required for Ollama-based chat and embeddings.
Ollama headersNoneCustom HTTP headers for Ollama API requests, for example an Authorization: Bearer key. Values marked as Secret are stored in the device keychain.
Ollama Cloud API keyNoneSent as the Authorization: Bearer header for Ollama Cloud requests and wired to that header automatically. Uses the native device keychain control: click it to link or add the credential, click Change to replace it, and the stored state shows as masked dots. Never synced. Shown only when the Ollama endpoint points at Ollama Cloud.
OpenAI-compatible endpointNoneBase URL of an OpenAI Chat Completions API, such as the Kilo Gateway (https://ai-gateway.kilo.ai/api/v1), LM Studio, llama.cpp, vLLM, or OpenRouter. Local servers are matched with http:// automatically when you type the address without a scheme. See the OpenAI-compatible endpoints guide.
Kilo API keyNoneSent as the Authorization: Bearer header for Kilo Gateway requests and wired to that header automatically. Uses the native device keychain control: click it to link or add the credential, click Change to replace it, and the stored state shows as masked dots. Never synced. Shown only when the OpenAI-compatible endpoint points at the Kilo Gateway.
Anthropic API keyNoneSent as the bearer header with every request to Anthropic (via its OpenAI SDK compatibility endpoint) and stored in your device keychain; never synced. Shown only when the OpenAI-compatible endpoint points at Anthropic. Shares its keychain credential with the Kilo Gateway preset, so the same key survives switching between the two.
OpenAI-compatible headersNoneCustom HTTP headers for OpenAI-compatible API requests, for example an Authorization: Bearer key. Values marked as Secret are stored in the device keychain.
Voyage AI API keyNoneSecure credential for connecting to Voyage AI, the cloud embeddings option. Stored in the device keychain (or masked in data.json if secure storage is unavailable). Never synced.

Model management ​

SettingDefaultDescription
Refresh model listNoneA manual trigger to fetch available models from the Gemini API, your Ollama server, and any OpenAI-compatible endpoint.

Researcher ​

Customise your primary research assistant's intelligence and writing style.

SettingDefaultDescription
Chat modelgemini-flash-latestThe main engine used for reasoning and answering questions.
• Cloud (Gemini): High quality, zero local overhead.
• Ollama: Fully private or free to run (local or Ollama Cloud).
• OpenAI-compatible: Any OpenAI Chat Completions server (Kilo Gateway, LM Studio, vLLM, OpenRouter, the OpenAI API, and Anthropic's compatibility layer).
Custom chat model—Shown when Chat model is set to Custom: enter the model identifier exactly as the server names it.
LanguageEnglish (US)The primary language for agent responses. This affects the default system prompt and output style. Pick Other to enter an arbitrary language via the Custom language code row.
Custom language code—Shown when Language is set to Other: enter the language name or code.
System instructionDefault (Managed)The core personality and rules for the Researcher. Leave as default to receive automatic improvements in future updates.
Context window budget (tokens)200,000 tokensThe maximum volume of notes the AI can "read" at once. Higher budgets allow for broader research but may hit API limits. The description shows the limit in effect for the selected model.

> [!TIP]
> If you experience "429 Too Many Requests" errors, try lowering this budget. See the Troubleshooting Guide for details.
Max agent steps5Limits the number of "reasoning loops" the agent can take to prevent infinite thinking or excessive API costs.

Context configuration ​

SettingDefaultDescription
Author nameMeThe name used when the agent refers to you or credits content. This also acts as a fallback for missing author metadata in your notes.
Context aware headerstitle, topic, tags, date, author, statusComma-separated list of frontmatter properties the AI should always be aware of when analyzing a note chunk.

Capabilities ​

SettingDefaultDescription
Enable web searchOnAllows the agent to verify facts and fetch live news from the internet.
Enable link contextOnAllows Gemini models to natively analyse URLs using Google's internal retrieval system for higher accuracy.
Web search modelgemini-flash-lite-latestA cost-effective model specialised for verifying information and searching the web. Shown when Enable web search is on.
Custom web search model—Shown when Web search model is set to Custom: enter the model identifier.
Enable computational solverOnAllows the agent to write and execute Python code for complex math and data analysis.
Enable agent write accessOffAllows the agent to create or update notes. Security Note: This always requires manual confirmation before any file is changed.
Code execution modelgemini-flash-latestThe specialized model used for generating Python code. Shown when Enable computational solver is on.
Custom code model—Shown when Code execution model is set to Custom: enter the model identifier.
Vault reading limit25Maximum number of notes the researcher can retrieve to answer a single question.

Explorer ​

Fine-tune how connections are discovered and how the semantic graph is visualised.

SettingDefaultDescription
Embedding providergeminiChoose where your document vectors are calculated. Changing this triggers a full vault re-embedding on exit.
Google Gemini: Cloud-based (requires an API key).
Ollama: Local or cloud server (requires an Ollama connection).
OpenAI-compatible: Any server offering /embeddings (LM Studio, vLLM, OpenAI; the Kilo Gateway does not).
Voyage AI: Cloud-based (requires a Voyage API key).
Transformers.js: 100% local CPU/GPU processing (no server required).
Embedding modelgemini-embedding-001The specific model used to generate vector embeddings. Shown for online (cloud/server) providers. Local (Transformers.js) models have their own row and are downloaded once on first use (the built-ins range from ~15MB to ~220MB).
Custom embedding model—Shown when Embedding model is set to Custom: enter the model identifier exactly as the server names it.
Embedding dimension768Control the size of the vector. Higher dimensions mean better search but a larger index. Changing this triggers a full vault re-embedding on exit. Local models (like the Transformers.js models) support lower Matryoshka dimensions.
Local embedding modellocal/Xenova/multilingual-e5-small (registry default)The specific model used to generate vector embeddings while the local (Transformers.js) provider is active. There is no separate local-model setting: the choice is stored on the shared embeddingModel key while the local provider is active. Downloaded once when first used.
Custom local model—Shown when the local model dropdown is set to Custom: enter an arbitrary Transformers.js model identifier.
Model dimensions—The output vector size. Incorrect values break search. Shown for custom local models: it writes the shared Embedding dimension and queues a full vault re-embedding on exit.
Local model status—Manage the local weights for the active Transformers.js model; includes a Force re-download button (which shows "Downloading..." while fetching).
Quantize local modelSet per model (On initially)Enable 8-bit quantization to reduce memory usage and download size. Disable to run the unquantized fp32 model fully on the GPU (where WebGPU is available). Switching local models applies that model's recommended quantization setting.

Note for flatpak users ​

The local Transformers.js engine uses WebGPU when available. If you want to take full advantage of your GPU, and

  1. you have installed Obsidian using flatpak (which usually means you are on Linux), and
  2. you are using Transformers.js,

then you need to start Obsidian with the flags:

bash
flatpak run md.obsidian.Obsidian --enable-unsafe-webgpu --enable-features=Vulkan

You can make this permanent by running this once:

bash
# Ensure the configuration directory exists
mkdir -p ~/.var/app/md.obsidian.Obsidian/config/obsidian/

# Append your flags to the user-flags file
echo "--enable-unsafe-webgpu" >> ~/.var/app/md.obsidian.Obsidian/config/obsidian/user-flags.conf
echo "--enable-features=Vulkan" >> ~/.var/app/md.obsidian.Obsidian/config/obsidian/user-flags.conf
SettingDefaultDescription
Enable dual-loop searchOnCombines fast local vector search (Loop 1) with deep AI re-ranking (Loop 2). This significantly reduces "hallucinations" in search results.
Re-ranking modelgemini-flash-latestThe AI engine used by the "Analyst" (Loop 2) to verify and rank the most relevant notes. Shown when dual-loop search is on.
Custom re-ranking model—Shown when Re-ranking model is set to Custom: enter the model identifier exactly as the server names it.
Minimum similarity score0.5Relevance threshold (0.0 to 1.0). Lower this if search results feel too sparse.
Similar notes limit20Max results displayed in the sidebar when looking for related content.
Semantic graph node limit250Maximum number of nodes rendered in the Galaxy view and search expansion.
Structural edge thickness1.0Visual weight of your explicit [[wikilinks]].
Semantic edge thickness0.5Visual weight of implied relationships discovered by AI.
Keyword match weight1.2Calibration for keyword vs vector search. Higher values make keyword matches more conservative in hybrid results.
Implicit folder semanticsontologyControls how your folder structure is weighted.
• none: Folders are ignored.
• ontology: Folders act as topics only if they match your fixed Ontology.
• all: Every folder is treated as a semantic topic.

TIP

If your search results are missing known information, consult the Search Quality section of the troubleshooting guide.

SettingDefaultDescription
Re-index vault—Wipe and rebuild all embeddings for the entire vault. Required after changing models. The button asks for a second click to confirm.

Gardener ​

Configure the automated hygiene agent to maintain your vault's ontology.

SettingDefaultDescription
Gardener modelgemini-flash-latestThe model used for structural analysis and improvement suggestions.
Custom gardener model—Shown when Gardener model is set to Custom: enter the model identifier.
Context budget (tokens)100,000 tokensMax tokens allowed for a single analysis. The description shows the limit in effect for the selected Gardener model; the reset button on the row returns to the provider default.
Gardener rulesDefault (Managed)The persona and rules for the Gardener. Leave as default to receive automatic updates.

Paths and retention ​

SettingDefaultDescription
Ontology pathOntologyFolder where concept, entity, and MOC (Map of Content) notes are stored.
Gardener plans pathGardener/PlansFolder where proposed hygiene plans are saved for your review.
Plans retention (days)7Duration to keep old plan files before they are automatically purged.

Orphan management ​

SettingDefaultDescription
Archive folder pathOntology/_ArchiveWhere pruned or "deleted" notes are moved by the Gardener for safekeeping.
Orphan grace period (days)7Number of days a note must be unlinked/orphaned before the Gardener suggests pruning it.

Exclusions ​

SettingDefaultDescription
Excluded foldersOntology, Gardener/PlansFolders the Gardener ignores when proposing hygiene actions. The list shows one removable row per folder; "Add excluded folder" appends a new path.

Analysis tuning ​

SettingDefaultDescription
Recent note limit50Max number of recent notes to scan for improvements.
Re-check cooldown (days)1Wait duration before re-examining unchanged files.
Skip retention (days)7How long to remember skipped files.
Semantic merge threshold0.85Similarity score required to merge two isolated topics (from 0.5 to 1.0). Set to 1.0 to disable semantic merging.

Storage ​

Manage local vector databases and sharded storage. Vault Intelligence stores its search index and relationship graph in a specialised binary format: MessagePack shards of the form graph-state-<model-id>.msgpack in the vault's hidden .vault-intelligence/ folder.

  • Automated .gitignore: The plugin automatically manages a .gitignore file inside .vault-intelligence/ (ignoring everything except the .gitignore itself) to prevent massive index files from bloating your Git repository or causing sync conflicts.
  • Data Safety: The index is a derived cache; it can be regenerated from your notes at any time by clicking Re-index vault in the Explorer tab (see Explorer).
  • Secure Storage: On supported systems (macOS, Windows, Linux with libsecret), your API keys are stored in the OS keychain, never in plain text.

Active database shards ​

The plugin stores separate indexes for different embedding models to prevent data corruption. Below are the shards currently stored in your vault, one per embedding model: the shard for the active embedding model shows an "Active" badge, and each inactive shard has a delete (trash) button — the first click shows a "Click again to confirm" notice, the second deletes the shard. The active shard cannot be deleted. If no shards exist, the list shows "No database shards found."

Maintenance ​

SettingDefaultDescription
Purge all data—Completely removes all local indexes, cached models, and stored states. Use this if you encounter persistent errors or wish to clean up all plugin data. Click Purge and reset, then click the confirmation notice within 10 seconds to confirm; the plugin reloads automatically afterwards.

MCP Tools ​

Vault Intelligence can connect to external MCP (Model Context Protocol) servers to give the agents additional tools. The tab lists your configured servers with an "Add server" button; selecting a server opens the editor.

FieldDefaultDescription
Server name—Human-readable name used to identify the server in lists and confirmations.
Connection type—Stdio (desktop only), SSE (remote), or Streamable HTTP (remote).
Command—Stdio only: the executable to launch for this server.
Arguments—Stdio only: one argument per line, avoiding command-line string escaping issues.
Server URL—Remote connection types (SSE and Streamable HTTP): the server endpoint URL.
Environment variables—Optional environment variables for the server (stdio connection type only). Use 'Secret' to securely store API keys in the device keychain; never paste raw API keys into these fields, reference secrets with the vi-secret: prefix instead.
HTTP headers—Optional HTTP headers for authentication (remote connection types only). Use 'Secret' to securely store tokens in the device keychain; never paste raw API keys into these fields, reference secrets with the vi-secret: prefix instead.
Require explicit confirmationOnIf on, you will be prompted to confirm every execution of this server's tools. Turn off only for explicitly safe, read-only tools.

See Using MCP Servers for the complete walkthrough, security guidance, and how the vi-secret: prefix maps keychain secrets into server configs.


Advanced ​

Technical tuning for performance, provider reliability, and security.

Performance ​

SettingDefaultDescription
Indexing delay (ms)5000Debounce delay for background indexing while typing: the wait time after typing stops before re-indexing in the background.
Indexing throttle (ms)100Technical delay between files during processing to avoid API rate limiting.
Embedding chunk size512Target size for vector chunks. Higher values provide more context but risk API rejection if the text is dense (code/cjk). Options: 512 (standard / CJK max), 1024 (high context / code max), 1500 (Gemini safe), 2048 (Gemini english only), 4096 (Voyage safe), 8192 (Voyage maximum). Note: Changing this triggers a full vault re-embedding on exit.
Token estimation ratio4Characters per token for budget estimation. Lower if you use CJK languages or dense code (e.g. 2 for Japanese). Note: Incorrect values may cause context-window overflow or under-utilisation.
Local worker threads2 (desktop) / 1 (mobile)CPU threads used for local (Transformers.js) embeddings. Higher is faster but heavier.

Gemini system and API ​

SettingDefaultDescription
Gemini API retries10Number of retries for spotty connections.
Model cache duration (days)7How long to cache available Gemini models locally.

Voyage system and API ​

SettingDefaultDescription
Voyage API retries10Number of retries for connections.

Search and context tuning ​

SettingDefaultDescription
Primary context threshold0.9Score relative to top match required for full file content inclusion.
Supporting context threshold0.7Score relative to top match required for snippet inclusion.
Structural context threshold0.2Score relative to top match required for header inclusion. Below this, notes are skipped.
Search centrality limit50Max number of "bridge" nodes to pull in from the graph to expand search context. Higher values improve thematic recall but increase token usage.
Max context documents100Safety limit for total number of documents injected into context.
Reset tuning—Restore all search and context tuning values to their defaults.

Developer ​

SettingDefaultDescription
Log levelWarnConsole verbosity. Set to Debug when collecting information for bug reports.
Full model list debug—Log raw API response for models to console. A one-off debug button for bug reports.

Security ​

SettingDefaultDescription
Allow local network access (advanced/risky)OffAdvanced: Allows the agent to access localhost or private network IPs.
> [!CAUTION]
> Enabling this makes you vulnerable to SSRF (Server-Side Request Forgery) attacks. Only enable if you are running local tools you fully trust.

Model filtering ​

Hide specific models from dropdown menus to reduce clutter. The list shows a toggle per fetched model (the model's display name with its identifier as description); toggling a model off adds it to the hidden list and removes it from every model picker. If no models are available yet, the list shows "No models available".


MCP security details also apply when you hand the agents tools through servers; see the security and privacy guide for the plugin's threat model.