Repository navigation
Lattice v0.1.0
First release. An AI-native, local-first Markdown knowledge vault: query your notes as a graph over MCP, edit them in a native app.
What's in it
- Engine (Rust): parses a Markdown vault into a graph (wikilinks, markdown links, frontmatter refs, README indexes); derived SQLite index with FTS5;
.aiignoresupport. - MCP server — 15 tools:
vault_backlinks/links,query(frontmatter),search(FTS),context_bundle(token-budgeted),dirs/keys/index,orphans/broken_links/changed_since/superseded, plus structured write-back —vault_rename(move a note + repair every inbound link) andvault_patch_frontmatter(surgical YAML). Writes are dry-run by default and never touch git. - CLI: every query + write from the shell.
- Desktop app (macOS, Tauri + Svelte): Obsidian-style three-pane workspace, rendered read + CodeMirror edit with write-back, light/dark themes.
Install (macOS, Apple Silicon)
- Download
Lattice_0.1.0_aarch64.dmg, open it, drag Lattice to Applications. - Unsigned build — on first launch right-click the app → Open, or run
xattr -dr com.apple.quarantine /Applications/Lattice.app. - The app currently reads its vault from the
LATTICE_ROOTenv var (in-app vault picker is a follow-up), so launch it from a terminal with that set — or build from source (see the README).
To use it with an AI agent, register lattice-mcp and add the CLAUDE.md/AGENTS.md directive from the README so the agent reaches for it by default.