Skip to main content
Glama

AgentVault

Local Markdown vault with semantic search for people and AI agents.

Notes stay plain files on disk. PostgreSQL + pgvector is only a rebuildable index. Agents query it over MCP (vault_search, vault_get, vault_neighbors) or a small CLI; there is also a local web UI for browsing and editing.

./notes/*.md  →  embed + index  →  CLI / MCP / web UI

Why

Agents work better with your notes, not only generic web knowledge. Keep the source portable (git, Obsidian, zip). Throw away the database anytime and run ./av index again.

Default embeddings: BGE-M3 (solid for Czech and many other languages). On a small VPS you can switch to a lighter model in .env.

Related MCP server: Markdown Memory Context MCP Server

Install

git clone https://github.com/tereza-vac/AgentVault.git
cd AgentVault
./install.sh

Then:

./av index          # index Markdown under NOTES_DIR (default ./notes)
./av web            # http://127.0.0.1:8787
./av serve          # MCP on http://127.0.0.1:8788/mcp

Demo with the bundled samples:

NOTES_DIR=./sample_notes ./av index
NOTES_DIR=./sample_notes ./av web

Postgres: docker compose up -d (see docker-compose.yml). Copy .env.example to .env before the first run.

Web UI

AgentVault web UI

Graph of [[wikilinks]], categories, editor, and semantic search. Bind to 127.0.0.1 unless you put auth in front (WEB_AUTH=user:pass).

Portability

Layer

Role

Move elsewhere?

NOTES_DIR Markdown

source of truth

yes

Postgres + embeddings

search index

no — rebuild

More in docs/PORTABILITY.md.

Notion

Use Notion for shared human pages. Keep the agent brain as Markdown here; promote a summary to Notion only when a project needs it.

Development

python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txt
.venv/bin/pytest

AgentBridge · AgentMaison

License

MIT — LICENSE, NOTICE.

Author: Tereza Vačina

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides semantic search and keyword search over Obsidian notes, along with direct note retrieval, allowing external AI agents to query and access the vault.
    19
    BSD Zero Clause
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to search, read, and traverse Markdown note vaults (Obsidian-compatible) with full-text search, backlinks, knowledge graphs, and a persistent memory system for cross-session context.
    16
    5 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides retrieval and graph tools for agents to search, backlink, and navigate a markdown-based knowledge vault, enabling hybrid search and serendipitous discovery.
    MIT