Jakob He7 downloadsAgentic two-way sync for your vault and submodules with GitHub. AI resolves conflicts and git errors autonomously.
Agentic two-way sync between your Obsidian vault and GitHub — including nested folders as separate repos — without ever touching a terminal.
Most git-based Obsidian sync plugins assume you know git. This one doesn't. Four things make it different:
Git can fail in dozens of ways: stale lock files, mid-merge state, non-fast-forward push, detached HEAD, oversized files, missing submodules. Other plugins surface raw fatal: errors that mean nothing to non-technical users. Agentic Git Sync routes every failure through an AI agent that classifies the error, picks a recovery tool from a 16-tool catalog, executes it silently, and retries — all before you see anything went wrong. A deterministic rule-based fallback covers users who haven't configured an AI key.
Map any folder in your vault to its own GitHub repo. Keep personal notes private, sync a Projects/ folder with your team, push a Blog/ folder to a public repo — all from the same vault, each with independent sync settings. Adding a submodule is a single dialog: paste a URL, type a folder name, done.
Side-by-side three-pane resolver for conflicts the AI couldn't auto-resolve, with semantic merging that preserves intent from both sides. The AI explains its reasoning, marks the lines it had to choose between, and you accept or override.
? icon next to the token field opens GitHub's PAT creation page directly — no need to know what a "personal access token" is403 mysteries.main.js, manifest.json, and styles.css from the latest release<your-vault>/.obsidian/plugins/agentic-git-sync/The setup wizard appears from Settings → Agentic Git Sync → Run setup wizard. Three short steps:
ghp_…) — needs the repo scopegithub_pat_…) — give it Contents: read & write on the repos you'll sync| File | Where | Contains | Travels with the repo? |
|---|---|---|---|
data.json |
<vault>/.obsidian/plugins/agentic-git-sync/ |
Your tokens, sync history, per-machine state | ❌ Local only |
.github-sync.json |
<vault>/ |
Remote URLs, branches, AI model choice, submodule list | ✅ Committed (so a fresh clone on a new machine picks up your config automatically) |
Secrets never leave your device. The plugin's own .gitignore excludes .obsidian/, and .github-sync.json's schema has no token fields at all — there's no path by which the plugin can leak credentials into a commit.
Permission denied or 403 on push. Open Settings → Agentic Git Sync → Test connection. The third row (git auth) exercises the same credential path your sync uses. If that row fails while the API rows pass, your local git is using stale credentials (most commonly the macOS Keychain) — erase the cached entry or rotate the token.
Token sticks around after uninstall. Obsidian preserves plugin data across reinstalls by design. To fully wipe credentials, delete <vault>/.obsidian/plugins/agentic-git-sync/data.json.