Vault Intelligence

by cybaea
5
4
3
2
1
Score: 57/100

Description

Obsidian vault intelligence

Reviews

No reviews yet.

Stats

66
stars
4,589
downloads
2
forks
110
days
1
days
5
days
572
total PRs
3
open PRs
18
closed PRs
551
merged PRs
75
total issues
5
open issues
70
closed issues
860
commits

Latest Version

5 days ago

Changelog

9.7 Update settings to Obsidian v1.13

  • Add settings search compatibility for Obsidian v1.13+ users. Plugin settings are now indexed and searchable in Obsidian's global settings search. The existing settings tab UI is preserved for users on older versions. (Issue #595.)
  • Display summary values (model name, provider status, shard info) and warning indicators on settings page entries for Obsidian v1.13.1+, making it easier to see current configuration at a glance. (Issue #595)
  • Add configurable "Token estimation ratio" setting (Advanced > Performance) so users with non-English (CJK) or code-heavy vaults can fine-tune character-to-token budgeting. Previously hardcoded at 4 chars/token. (Issue #386.)
  • Note that you may need to rebuild the index after upgrade. You can find the button for this at the bottom of the Explorer tab in the plugin settings.
  • Fix unnecessary re-embedding of indexed notes on every plugin restart.

Patches

  • 9.7.4: Update upstream packages.
  • 9.7.3: Update upstream packages. Includes fixing vulnerabilities for brace-expansion (GHSA-mh99-v99m-4gvg, DoS via unbounded expansion) and js-yaml (GHSA-pm4m-ph32-ghv5, exponential parsing time DoS).
  • 9.7.2: Fix local embedding model download failing with CORS errors on restricted/corporate networks.
  • 9.7.1: Fix plugin failing to load on Obsidian 1.12.x.

Recent improvements

9.6 Upgrade to v4 Transformers.js for better GPU support

We now better support local GPU for embeddings via Transformers.js. On my development system I achieve 50--60% GPU utilization. This also reduces the plugin size, shrinking main.js by over 12%.

9.5 Support Voyage AI and Gemini 2 embedding models

This release includes support for Voyage AI as an embedding provider. This is a key step towards supporting Claude and others who do not bundle an embedding model with their main reasoning models. We now support:

  • Local embeddings, via Transformers.js and Ollama.
  • Cloud embeddings, via Gemini, Voyage AI, and Ollama.

9.3 Ollama custom headers

This release focuses on enhancing connectivity for local AI environments and modernising our core development foundations. We've introduced custom headers for Ollama, giving users greater control over their private infrastructure.

9.2 Vault Hygiene and Stability

This release focuses on vault organisation and system stability. As your knowledge base grows, it naturally accumulates duplicate ideas and abandoned notes. We have expanded the Gardener to detect and resolve these issues automatically. Alongside these new capabilities, we have fixed memory leaks and implemented important security updates to the Model Context Protocol (MCP) clients.

9.1 The Gardener's Evolution

Vault Intelligence is a different AI plugin for Obsidian. It transforms your vault into a dynamic, self-maintaining knowledge system. It goes beyond simple Q&A by introducing agents that maintain your vault's structure, retrieve information based on your explicit connections, and ground your knowledge in the real world.

With 9.1, we are doubling down on our core differentiator: The Gardener.

This release introduces significant optimizations for vault hygiene, respects how you physically organise your data, and deepens our native external search grounding.

9.0 The Local AI & Extensibility Update

We've introduced full, production-ready support for local AI via Ollama, allowing you to keep your data entirely on your machine. We've also integrated the Model Context Protocol (MCP), so the agent can safely interact with external databases, APIs, and local services. Finally, we've rebuilt the chat interface for speed and stability.


mascot-8

README file from

Github

Vault Intelligence for Obsidian

GitHub Repo stars Downloads 100% Free & Open Source Local LLM Support GitHub License

CodeQL OpenSSF Scorecard OpenSSF Best Practices

GitHub release (latest by date) GitHub last commit GitHub commit activity

Obsidian Vault Intelligence Social Preview

Don't just query your vault. Maintain it.

Vault Intelligence is a different AI plugin for Obsidian. It transforms your vault into a dynamic, self-maintaining knowledge system. It goes beyond simple Q&A by introducing agents that maintain your vault's structure, retrieve information based on your explicit connections, and ground your knowledge in the real world.

Obsidian vaults naturally degrade. As facts change, your notes become outdated. As the vault grows, connections are forgotten and tagging becomes inconsistent. Standard AI plugins function as search engines for this static data.

Vault Intelligence functions as a maintenance system. It identifies gaps in your notes by cross-referencing your writing with live web searches. It retrieves information based on the explicit structural links you built, rather than just matching text. It audits your tags to connect notes to existing topics, proposing new ones when needed. It connects to external tools—like local scripts or databases—under strict cryptographic security.

  • 100% local offline capability: Vault Intelligence can use API models or it can run entirely offline using local embeddings via Transformers.js and Ollama, and local language models via Ollama. Your data never has to leave your device.

It is designed to keep your knowledge current, connected, and secure.

Vault Intelligence is free and open source.

Why use Vault Intelligence?

Standard AI plugins retrieve text. Vault Intelligence is designed to actively maintain and update your knowledge base.

  • Refresh outdated knowledge: Notes become obsolete as facts change. Ask the agent to read your existing files on a topic, run a live web search to find recent developments, and draft an update to bridge the gap between your archived notes and current reality.
  • Retrieve context, not just text: Using Graph Retrieval-Augmented Generation (Graph RAG), the plugin reads the explicit links connecting your files and topics. It retrieves information based on how you structured your ideas, finding relevant concepts even if they use different terminology.
  • Automate vault organisation: Maintaining consistent tags and links across thousands of files is unmanageable. The Gardener agent audits your notes against your topics, suggests new ones only when needed, and provides an actionable checklist of missing links to keep your taxonomy intact.
  • Execute external tools securely: Connect local databases or scripts using the Model Context Protocol (MCP). To prevent unauthorised code execution, the plugin operates within strict cryptographic and environmental boundaries, requiring explicit approval before modifying any file.

See also Strategic Positioning and Competitor Comparison.

How It Works for you

To achieve this, we built Vault Intelligence around four distinct personas that act as stewards of your knowledge:

1. The Explorer (Finding the Hidden Threads)

Traditional search is a "bag of words." If you search for "automobile," it won't find notes about "cars." The Explorer understands meaning. By combining state-of-the-art semantic vector search with your graph's structural connections, it finds the invisible threads between your ideas. It knows that two notes are related not just because they share text, but because they share a conceptual sibling in your personal ontology. It brings serendipity back to your research.

2. The Researcher (Your Intellectual Partner)

Imagine having a research assistant who has memorized every note you’ve ever written. The Researcher doesn't just answer questions; it grounds its reasoning entirely in your vault. If it needs to crunch numbers, it can write and execute Python code. If it needs to verify a real-world fact, it can search the web. But crucially, it is bound by your context. It reads your files, understands your specific terminology, and can even draft or update notes—always asking for your final approval via a "Trust but Verify" prompt before writing a single word.

3. The Gardener (The Guardian of Your Graph)

A garden left untended becomes a jungle. The Gardener is a proactive agent that understands your personal ontology. It works in the background, analyzing your notes to find missing tags, suggesting new conceptual links, and proposing structural improvements. It never alters your files silently. Instead, it generates an interactive "Gardening Plan" for you to review, approve, or reject. It takes the chore out of Personal Knowledge Management.

4. The Solver (Advanced Analysis in your Vault)

Words are only half the story. If you track habits, log expenses, or compile research data in Markdown tables, that information usually sits dead on the page. The Solver brings it to life. When faced with a complex analytical question, it doesn't just guess—it acts as your personal data scientist. It can read your structured data, write Python code, and execute it inside a secure sandbox to crunch numbers, calculate trends, and forecast outcomes right inside your chat window. It turns static logs into actionable insights.


How It Works (The Technical Edge)

To make this seamless, Vault Intelligence uses a "Slim-Sync" Hybrid Architecture rather than acting as a standard LLM wrapper:

  • Flexible Privacy (Local or Cloud): Choose how your vault is mapped. Use the default Gemini embeddings for unmatched multilingual support and mobile performance, or switch to 100% local WASM embeddings to ensure your raw notes never leave your device.
  • Zero Sync Bloat: Full vector indexes are kept in your device's local IndexedDB, while only a feather-light blueprint is synced across your devices.
  • Dynamic Context: An "Accordion" assembly system dynamically scales from reading full documents to just reading headers, ensuring the AI never hallucinates due to context overload.
  • Rigorous Security: We implement a strict "Human-in-the-Loop" model with SSRF protection, command injection prevention, and cryptographically signed tool configurations. Read our Security and Robustness Standards for the full technical breakdown.

Security & Supply Chain Integrity

We adhere to industry-standard security and supply chain integrity practices:

  • SLSA Build Provenance: Our build process generates cryptographically signed attestations for all release artifacts, ensuring build integrity.
  • OpenSSF Scorecard: We monitor our security posture via the OpenSSF Scorecard.
  • Automated Scanning: We use CodeQL and Renovate to identify and remediate vulnerabilities and outdated dependencies.
  • Hardened Workflows: All CI/CD workflows are pinned to full commit SHAs and follow the principle of least privilege.

For more details, see our Security Policy and Security and Robustness Standards.


Documentation

Installation

Install via the Obsidian Community site: https://community.obsidian.md/plugins/vault-intelligence.

(Some false positives (1, 2) may negatively affect the community score displayed by the automated scanner.)

Alternatively, via BRAT:

  1. Install BRAT from the Community Plugins store.
  2. In BRAT settings, click Add Beta plugin.
  3. Enter: https://github.com/cybaea/obsidian-vault-intelligence
  4. Enable Vault Intelligence in your Community Plugins list.

Network Connectivity

To provide its features, Vault Intelligence may connect to several external or local services depending on your configuration:

  • AI Providers (Inference & Embeddings):
    • Google Gemini: Connects to generativelanguage.googleapis.com for chat, embeddings, and model management.
    • Voyage AI: Connects to api.voyageai.com for high-performance embeddings.
    • Ollama: Connects to your local or remote Ollama instance (default: http://localhost:11434). Supports custom HTTP headers for authenticated proxies.
  • Local Model Support:
    • HuggingFace & JSDelivr: When using local embeddings (Transformers.js), the plugin downloads model weights and WASM binaries from huggingface.co and cdn.jsdelivr.net.
  • Agent Capabilities:
    • Web Grounding / URL Reader: If the Researcher agent is asked to search the web or read a URL, it will connect to the specific addresses provided (e.g., via Google Search or direct URL access).
    • MCP Servers: Connects to external Model Context Protocol servers via Stdio (local binaries) or HTTP/SSE as configured in your settings.
  • Plugin Updates & Documentation:
    • GitHub API: Connects to api.github.com to fetch the latest release notes and update information.

WebAssembly (WASM) Disclosures

To deliver high-performance, local-first AI features directly inside the desktop application without requiring native, platform-dependent installation binaries, this plugin utilizes standard, open-source WebAssembly (WASM) modules.

The 9 referenced .wasm files originate entirely from our upstream production dependencies:

  • ONNX Runtime Web (onnxruntime-web via @xenova/transformers): Handles local tokenization and vector embedding generation on your CPU. The multiple .wasm references represent different pre-compiled execution targets (e.g., base WASM, SIMD-accelerated, and multi-threaded variants) that the engine dynamically switches between to optimize performance based on your computer's hardware.
  • Sharp Graphics Engine (@img/sharp-wasm32): Carried strictly as a transient sub-dependency of @xenova/transformers v2. While the vault intelligence plugin only handles local text tokenization and embedding generation, the upstream Hugging Face framework bundles sharp by default to support image vision architectures. It remains entirely unused by our production plugin code. See also issue #566.
  • Orama Search Engine (@orama/orama): Powers ultra-fast, local full-text keyword slicing and indexing.

No custom or un-audited WASM modules are packaged or compiled within this repository. All underlying source code for these execution environments is fully public and maintained by their respective open-source foundations.

Contributing

We welcome contributions from developers, designers, and prompt engineers!

🛠️ Developers: Please read our Architecture & Standards Guide (ARCHITECTURE.md) and our Security and Robustness Standards (security-and-robustness.md) before submitting a pull request to understand our Web Worker constraints, strict SSRF protections, and internal API contracts.

See CONTRIBUTING.md for general guidelines.

License: MIT