Sync Your Obsidian Vault with AI Memory

Obsidian is where you think. REM Labs is where AI remembers. This guide shows how to set up bidirectional sync between the two -- so your wikilinks become knowledge graph edges, your tags become searchable categories, and your entire vault becomes queryable by AI with 90% recall accuracy.

What the Sync Does

When you sync your Obsidian vault to REM Labs, each note is parsed and stored as a structured memory. The sync extracts:

Once synced, your notes are indexed three ways: vector embeddings for semantic search, full-text index for exact keyword matching, and entity graph for relationship traversal. You can search your vault by meaning, not just by filename or tag.

Option 1: Obsidian Plugin (Recommended)

  1. Open Obsidian Settings, go to Community Plugins, and search for REM Labs. Alternatively, download from the GitHub repo.
  2. Enable the plugin and paste your API key in the plugin settings. Get a free key at remlabs.ai/console.
  3. Open the command palette (Ctrl/Cmd+P) and run REM: Sync Vault.

The plugin handles batching automatically -- vaults with more than 200 notes are split into batches. Unchanged notes are detected via SHA-256 content hashing and skipped, so repeated syncs are fast even for large vaults.

Option 2: API Import

If you prefer to script the sync or run it from CI, use the import endpoint directly.

curl -X POST https://api.remlabs.ai/v1/memory/sync/obsidian/import \ -H "Authorization: Bearer sk-slop-..." \ -H "Content-Type: application/json" \ -d '{ "notes": [ { "title": "Launch Plan", "content": "# Launch Plan\nShip SDK by June...", "path": "Projects/launch-plan.md", "tags": ["project", "launch"], "links": ["Meeting Notes", "Q2 Goals"], "frontmatter": { "status": "active", "created": "2026-03-15" } } ] }'

The endpoint accepts up to 200 notes per request. Each note's title, content, path, tags, wikilinks, and frontmatter are extracted and stored as structured memories with full knowledge graph integration.

Export: REM Back to Obsidian

The sync is bidirectional. You can export memories from REM Labs as Obsidian-compatible markdown files with reconstructed frontmatter, tags, and wikilinks that drop straight into your vault.

curl -X POST https://api.remlabs.ai/v1/memory/sync/obsidian/export \ -H "Authorization: Bearer sk-slop-..." \ -H "Content-Type: application/json" \ -d '{"namespace":"obsidian"}'

This means memories stored by other integrations -- conversations imported from ChatGPT, context saved by the MCP server in Claude Code, or facts extracted from your Gmail -- can all be exported as Obsidian notes and incorporated into your vault.

Search Your Vault with AI

Once synced, you can search your vault through the REM Labs API using multi-signal fusion search.

curl -X POST https://api.remlabs.ai/v1/integrations/obsidian/search \ -H "Authorization: Bearer sk-slop-..." \ -H "Content-Type: application/json" \ -d '{"query":"product launch timeline","limit":10}'

This is not keyword search. The query "product launch timeline" will find notes about "shipping the SDK by June" and "Q2 delivery schedule" even if those notes never use the word "timeline." The four retrieval paths -- vector, full-text, entity graph, and metadata -- run in parallel and results are fused with neural reranking.

How Wikilinks Become Graph Edges

This is the part that makes the integration genuinely useful for Obsidian power users. When your note [[Launch Plan]] links to [[Q2 Goals]], REM creates a relationship edge between those two entities in its knowledge graph. When you later search for context about your launch plan, graph traversal can surface the Q2 Goals note as related context -- even if the semantic embedding of "Q2 Goals" is not particularly close to your query.

This mirrors how Obsidian's graph view works, but makes it queryable by AI. Your manually curated knowledge structure becomes part of the retrieval pipeline.

API Endpoints Reference

EndpointMethodDescription
/v1/memory/sync/obsidian/importPOSTImport notes from vault (up to 200 per request)
/v1/memory/sync/obsidian/exportPOSTExport memories as Obsidian-compatible markdown
/v1/integrations/obsidian/statusGETCheck sync status and connection health
/v1/integrations/obsidian/searchPOSTSearch within the Obsidian namespace

Large vaults: The plugin batches automatically. For API imports, send up to 200 notes per request. Unchanged notes are detected via SHA-256 hashing and skipped on subsequent syncs. Full documentation is in the Obsidian integration docs.

Give your vault an AI memory layer

Free tier. Bidirectional sync. Your notes, searchable by meaning.

Get started free →