An AI toolbag for tools
Index any Obsidian / Logseq / Foam vault into SQLite and expose it through an MCP server. Agents query with SQL & full-text search instead of reading raw files — ~8× fewer tokens, structured analytics, a self-improving optimizer.
An agent that reads 8 files to answer one question is 8× more expensive than one
that runs a single query. vault-db-template compiles your notes into a queryable
index so agents retrieve exactly what they need — structured retrieval over full-text search
over raw reads, in that order.
Planning, code repos, infrastructure, remote services — everything radiates from the vault. Agents reach out from there; they don't pull you into their tools.
Raw notes are immutable source. The DB is the compiled layer agents work against — Karpathy's LLM-wiki pattern. Rebuild any time; nothing is lost.
SQLite on your machine — no cloud, no subscription. MCP means Claude Code, OpenCode, Cursor, and Antigravity all query the same vault.
The indexer (writer) and the MCP server (reader) never call each other — they
share vault-index.db. Parse → compile → serve.
# 1 — install skills into every detected agent $ ./bootstrap.sh # 2 — pick features + write vdb-config.yaml (the TUI configurator) $ vdb tui # 3 — build the index, then query over MCP $ vdb index --full --no-embed
Full walkthrough on the install page. Prefer a
guided interview? Run /vdb-setup in your agent.
Adapts to your workflow. Every table group is opt-in — start with infrastructure, switch on roadmap, QA, and delegation when you need them, or add your own domain tables when the built-ins don't fit. Core retrieval is always on; the rest follows what you actually do.
6 tools: search, chunk fetch, graph, status. FTS5 over heading-path chunks.
10 domain tables: hosts, services, incidents, runbooks, certs, change log, cloud, repos.
Opt-in goals → epics → stories with write tools for agent dispatch.
Opt-in service call graph + scenarios → blast-radius and coverage-gap analysis.
Opt-in: hand a task to an agent in a git worktree (tmux or systemd), tracked in vault_agent_sessions.