Shared persistent memory for AI coding agents. Give Claude Code, Cursor, Codex & Windsurf a shared brain — memories persist across sessions, sync in real-time, and stay fresh automatically. Built with Next.js, Neon Postgres, PowerSync & MCP.
<p align="center">
<img src="public/logo.svg" alt="SyncMind" width="80" height="80" />
</p>
<h1 align="center">SyncMind</h1>
<p align="center">
<strong>Shared persistent memory for AI coding agents, synced in real-time.</strong>
<br />
<sub>Give your AI agents a shared brain — Claude Code, Cursor, Codex, Windsurf, and any MCP-compatible tool can read and write memories that persist across sessions, sync across agents, and stay fresh automatically. Built with Next.js 16, Neon Postgres, and PowerSync for local-first, offline-capable, real-time collaboration.</sub>
</p>
<p align="center">
<a href="#demo">Demo</a> ·
<a href="#the-problem">Problem</a> ·
<a href="#how-it-works">How It Works</a> ·
<a href="#quick-start">Quick Start</a> ·
<a href="#syncmind-cli">CLI</a> ·
<a href="#mcp-server--one-command-install">MCP</a> ·
<a href="#auto-capture-hooks">Hooks</a> ·
<a href="#rest-api-reference">API</a>
</p>
<p align="center">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License" /></a>
<img src="https://img.shields.io/badge/Next.js-16-black?logo=next.js" alt="Next.js 16" />
<img src="https://img.shields.io/badge/PowerSync-local--first-blue?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjwvc3ZnPg==" alt="PowerSync" />
<img src="https://img.shields.io/badge/Neon-Postgres-green?logo=postgresql" alt="Neon Postgres" />
<img src="https://img.shields.io/badge/MCP-compatible-violet" alt="MCP Compatible" />
<a href="https://github.com/sponsors/ExceptionRegret"><img src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?logo=github-sponsors" alt="Sponsor" /></a>
</p>
---
## Demo
<p align="center">
<a href="https://github.com/ExceptionRegret/syncmind/raw/master/assets/video.mp4">
<img src="assets/dashboard.png" alt="Watch Demo Video — click to download" width="800" />
</a>
<br />
<sub>Click the image above to watch Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.