wanjin5508991 downloadsAI learning assistant that turns Obsidian notes and PDFs into cited answers, exams, knowledge graphs, and personalized mastery tracking.
Language: English | 中文
Learn from the notes you already trust.
Ask a question, inspect the source, turn the topic into a practice exam, find the concepts that need work, and follow them back through your Learning Map.
Cited Q&A · Practice exams · Built-in local embeddings · Learning Map · Mastery tracking · Local or cloud chat models
Configure one chat LLM and start learning. Vault Coach now includes its own multilingual embedding runtime, so vector retrieval no longer requires a separate embedding service, endpoint, API key, or model name.

The quickest setup now needs only the chat LLM you want to use for answers and model-assisted exams. For semantic retrieval, choose Built-in multilingual embedding once and let Vault Coach prepare the pinned local model. There is no embedding server to install and no embedding API to configure.
main.js; Vault Coach verifies it with SHA-256, caches it locally, and reuses it offline.A vault can hold years of useful notes and still leave a few hard questions unanswered:
Vault Coach turns those separate activities into one evidence-backed learning loop inside Obsidian. It is built for learners, researchers, and knowledge-focused teams working with Markdown notes and text-based PDFs.
The main workflows are designed to lead into one another:
For the shortest path, configure a chat LLM and use Vault Coach's built-in local embedding runtime. Chat and embedding providers remain independent, so advanced users can still mix local, self-hosted, and cloud services.
| Setup | What it means |
|---|---|
| Fully local with Ollama | Run suitable chat and embedding models on your own computer. Model requests go only to the local endpoint you configure. |
| Built-in local embedding — recommended for easy setup | No embedding endpoint, API key, or model name to configure. Download the pinned multilingual model once, then build and query vectors locally in an isolated WASM worker. |
| Self-hosted endpoint | Use an OpenAI-compatible service on your own machine or private infrastructure. |
| Cloud LLM or embedding service | Point Vault Coach at an OpenAI-compatible provider. The provider may receive only the text required for the feature you explicitly run. |
| Keyword-only retrieval | Search locally without building embeddings. Answer generation, when used, still follows your configured chat provider. |
You can keep the entire workflow local, mix local and remote providers, or use cloud services. Vault Coach does not require a specific vendor. See Privacy, storage, and network use for the exact data boundary.
Choose the whole vault or one folder. Vault Coach indexes Markdown and, optionally, native-text PDFs. It chunks content for retrieval while keeping headings, file paths, excerpts, and PDF page locations for citations.

Exam mode turns selected knowledge into deliberate practice instead of another chat session. You can choose the entire knowledge base, folders, or individual files; inspect and adjust the included files; generate questions; submit answers; and review scoring feedback.

The optional Semantic concept graph extracts Concepts and relationship candidates from indexed Sections. It is deliberately review-first:

Learning Map is the focused reading view of the graph. It presents confirmed and user-created relationships, with directed arrows where the relationship has direction. You can search, filter relationship types, zoom/pan, focus a neighbourhood, inspect source evidence, and jump back to the original note.
Pending or rejected candidates remain out of the Learning Map, so a visual connection is never mistaken for a confirmed learning fact. Optional high-confidence auto-relations are visually distinguished and are display-only; they do not change exams or mastery.


The Learning dashboard summarizes confirmed concepts, assessment coverage, mastery distribution, local data health, and up to five evidence-backed next steps. Mastery is derived from saved structured exam events and confirmed Concept bindings—not from a guess that a note was merely opened.
Recommendations are deterministic local projections of confirmed source-backed Concepts, Mastery, saved assessments, and confirmed prerequisites. You can open their sources, start a source-scoped exam, complete, defer, dismiss, or restore an item, and copy the current plan as Markdown. Those actions are stored locally under .vault-coach/recommendations/; they never alter scores, Mastery, or graph facts. An optional Simple/Challenge suggestion is only a hint—you still choose the final mode in exam setup.
Use Rebuild concept mastery after taking exams or after changing the effective Concept graph. The resulting snapshot is rebuildable; saved exam sessions remain the durable learning record.

When Vault Coach is available in the community catalog:
main.js, manifest.json, and styles.css from the matching GitHub release.<your-vault>/.obsidian/plugins/vault-coach/.Do not install a source-code ZIP as a plugin release unless you build it first.

Under Knowledge base:
When the build finishes, ask a question to verify that the sources match the intended notes.
Choose the local, self-hosted, or cloud chat LLM that should generate answers and model-assisted exams. For the recommended setup, use the built-in multilingual embedding runtime for retrieval; it requires no separate embedding service configuration.
| Chat LLM option | When to choose it |
|---|---|
| Local Ollama | You want answer generation and model-assisted exams to stay on your own computer. |
| OpenAI-compatible endpoint | You use a cloud provider, a self-hosted gateway, or another compatible chat service. Configure its URL, chat model, and API key explicitly. |

Ollama is an optional privacy-oriented deployment path, not a requirement. If you use it, the typical base URL is http://127.0.0.1:11434; do not append /api/chat, /api/embed, or /api/embeddings.
Once the chat LLM is configured, expand Advanced settings → Embedding and semantic retrieval, choose the recommended Built-in multilingual embedding, then select Download and load. This is a one-time runtime and model preparation action: there is no endpoint, model ID, or embedding API key to enter. Vault Coach pins the ONNX runtime version and model revision, verifies every required asset with SHA-256, and stores them in local browser caches. Rebuild the knowledge index, and that single chat LLM configuration is enough for cited retrieval and exam workflows. The model is the ONNX conversion of multilingual-e5-small; the upstream model is published under the MIT license.
This loop works well for interview preparation, certification study, course review, research reading, and project onboarding.
Tips:
Saved assessment facts live in .vault-coach/assessments/. They are local vault data and are kept when you rebuild an index or refresh a graph.
Use semantic graph rebuilding deliberately: it may send indexed Section excerpts to your chosen chat model and short concept text to your selected embedding provider. The exact destination depends on your provider settings.
Lite keeps semantic work bounded: a vault with up to 400 semantic input windows can build locally without a capacity prompt; 401–650 requires an acknowledgement before a manual rebuild; above 650, Lite keeps existing facts readable but does not start a new local semantic rebuild. Automatic semantic sync pauses above 400 windows. These are model-extraction windows, not file-count limits. Indexing, Ask, exams, saved assessments, Learning Map, and recommendations remain available.
For larger workloads, Knowledge Engine Local is the planned optional Docker service. This release contains only its offline compatibility seam: it makes no Engine network request, sends no Vault data, and requires no Docker. A future Engine connection will be explicit, loopback-only, version-negotiated, and limited to user-authorized revisioned data. See Knowledge Engine requirements and architecture.
Vault Coach records a lightweight source inventory with each successful index. If files were added, removed, replaced, or the configured scope changed while the plugin was closed, it will not reuse an old index, graph, or mastery snapshot as if it were current.
Rebuilding never deletes original notes, saved assessment sessions, or exported reports. It replaces only rebuildable derived data such as indexes, vectors, graph snapshots, and mastery snapshots.
| Command | Purpose |
|---|---|
| Rebuild knowledge index | Re-scan the current knowledge scope and rebuild retrieval data. |
| Clear knowledge index | Clear rebuildable index and graph data; saved assessments remain. |
| Rebuild semantic concept graph | Explicitly run model-backed Concept/relationship extraction. |
| Open concept review | Review concept candidates and make reversible governance decisions. |
| Open learning map | Explore the confirmed knowledge graph. |
| Open learning dashboard | Inspect concept, assessment, and mastery summaries. |
| Rebuild concept mastery | Recalculate the local mastery read model from assessment evidence. |
| Reset semantic graph decisions | Clear manual semantic decisions after a deliberate review. |
| Show VaultCoach derived storage usage | Read-only breakdown of VaultCoach-managed local data. |
| Download and load the built-in embedding model | Explicitly download or warm-load the pinned runtime and local embedding model. |
| Clear the built-in embedding model cache | Release the runtime and remove its runtime/model caches without deleting notes or indexes. |
Vault Coach has no hidden telemetry. It writes its working data inside the current vault, primarily under .vault-coach/ and the plugin configuration directory.
| Data | Why it is stored | What happens on index rebuild |
|---|---|---|
| Text/vector indexes and graph snapshots | Fast retrieval and graph rendering | Rebuilt from the current knowledge scope |
| Semantic candidates, embeddings, and review decisions | Concept review and Learning Map | Stale source-derived records are reconciled; manual decisions require an explicit reset |
| Mastery snapshot | Fast dashboard reads | Rebuildable from assessment evidence and the effective Concept graph |
| Assessment sessions and exported reports | Your learning history | Preserved |
Network behavior is controlled by your model settings:
Treat .vault-coach/ as private vault data. It can include note excerpts, filenames, headings, answers, feedback, graph evidence, and model metadata. Do not commit it to a public repository unless you have reviewed its contents.
Issues and pull requests are welcome. For a bug report, include reproduction steps, Obsidian and plugin versions, provider/model details, relevant non-secret settings, and console errors or screenshots.
Before changing source comments, read the code commenting guidelines. Explanatory comments are written in Chinese and focus on responsibilities, invariants, failure behavior, compatibility, and architectural boundaries; identifiers and standard API names remain unchanged.