Giulio Mapelli80 downloadsMulti-agent AI orchestrator: connect local CLI agents (Antigravity, OpenCode, Hermes, Pi) directly to your vault.
An Obsidian desktop plugin that connects local AI CLI agents (Antigravity, OpenCode, Hermes Agent, and Pi) directly to your vault: chat with agents, analyze notes, attach files, inspect tool calls, and manage sessions without leaving Obsidian.
agy), OpenCode (opencode), Hermes (hermes), and Pi (pi) via /agent or the header agent selector./model): Collapsible provider groups, filter chips, fuzzy search, live CLI Refresh, and custom model ID input, backed by universal runtime model and context window discovery (1M / 500K / 256K / 200K).INPUT/OUTPUT payloads, and interactive multi-choice question cards./ slash commands (/agent, /model, /new, /stats, /prompt, /pin, /rename), @ vault file attachments, ! quick actions, and reusable prompt templates.5h, week, month), and automatic session continuation via summarization when context saturates.PATH:| CLI | Binary | Minimum | Tested | Notes |
|---|---|---|---|---|
| Antigravity | agy |
1.3.x | 1.3.5 | Google AI Pro subscription (--output-format stream-json). |
| OpenCode | opencode |
2.x | 2.0.29 | OpenCode 2.x JSON stream & local model/session API (1.x not supported). |
| Hermes Agent | hermes |
0.22+ | 0.22.5 | Nous Research CLI (--format stream-json) with native multi-provider discovery. |
| Pi Coding Agent | pi |
0.60+ | 0.68.0 | @mariozechner/pi-coding-agent (--mode json --list-models). |
PATH (used for Antigravity session lookup and OpenCode database management).npm install -g @firecrawl/anydoc.git clone https://github.com/GodJeam/vault-agents.git
cd vault-agents
npm install
npm run build
Copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/vault-agents/ and enable the plugin in Obsidian.
src/
├── core/ # Provider descriptors, registry, settings migration & types
├── providers/ # CLI runners & stream parsers (antigravity, opencode, hermes, pi)
├── features/ # Chat view, bubbles, tool widgets, question cards & settings tab
├── shared/ # Agent switcher, grouped model switcher, file suggest & modals
├── i18n/ # English and Italian translations
└── main.ts # Plugin entry point and command registration
test/
├── fixtures/ # Recorded .ndjson stream fixtures
├── mock-cli.mjs # Offline Mock CLI Simulator
└── suite.test.ts # Unit and end-to-end test suite (npm test)
Vault Agents runs locally inside Obsidian and does not include telemetry, analytics, or its own network client. All model requests go through the CLI agents you install and configure. Still, some features handle data you should be aware of:
<vault>/.obsidian/plugins/vault-agents/data.json.data.json may be synced or shared with it.$TMPDIR/vault-agents-anydoc with owner-only permissions (0700 directory, 0600 files) and are cleaned up after 24 hours.opencode.db, the plugin creates an opencode.db.bak backup.All development takes place on the dev branch. Please read CONTRIBUTIONS.md before opening a Pull Request.
GPL-3.0 — see LICENSE.