What is a vault?
An Obsidian vault is a plain folder of markdown files on your filesystem. Second Brain treats that folder as its workspace: when you open a vault, the app scans every file and builds a local index so the agents have complete context across all your notes — not just the ones you paste into the prompt. The index stores each note’s content,[[wikilinks]], #tags, and folder structure in a local SQLite database. Agents query this database to understand how your notes relate to each other before they plan or write anything.
Types of vaults
Workspace vaults
Created inside Second Brain’s built-in
obsidian-vaults/ directory. Use the Create New tab in the Vault Launcher to add one. These appear under the Recent Vaults tab automatically.External vaults
Any folder already on your filesystem. Use the Browse Local tab in the Vault Launcher to select an existing Obsidian vault by path. The app adds it to your recent list once opened.
Opening a vault
When you open or switch to a vault, Second Brain:- Clears the previous index.
- Walks every file and folder in the vault directory (hidden folders starting with
.are skipped). - Reads the content of markdown, text, and other supported file types into the SQLite index.
- Extracts
[[wikilinks]]and#tagsfrom every.mdfile to build a relationship map.
Vault persistence
The path of the last active vault is saved to your.env file automatically. The next time you launch Second Brain, it reopens that vault and re-syncs it so the agents are always working with up-to-date content.