Universal Local-First AI Project Intelligence & Persistent Context Engine
Gives your coding agent a persistent memory, offline code intelligence, and a local dashboard β with zero cloud accounts required.
ProjectMind is not a coding agent or chatbot. It is a local intelligence and persistent memory layer that plugs directly into your existing coding agents:
- π€ Google Antigravity
- π€ Anthropic Claude Code
- π€ Google Gemini CLI
- π€ OpenAI Codex
- π€ Cursor
- π€ GitHub Copilot (VS Code)
- π€ Hermes Agent
- π€ DeepSeek Harness
- π€ OpenCode
Once installed, your agent automatically remembers your project, retrieves the right context before every task, and syncs changes β all offline, all local.
| Layer | Name | What it stores |
|---|---|---|
| 1 | Core Memory | Project identity, tech stack, key constraints β permanent |
| 2 | Project Knowledge | SQLite + FTS5 searchable knowledge, code graph, symbols, routes, models, ADRs |
| 3 | Task Context | Temporary, token-budgeted retrieval state per task |
Once installed into your agent, ProjectMind runs fully automatically:
- On first use β initializes project memory (7-stage bootstrap)
- Before each task β retrieves scoped context
- After each edit β syncs changed files incrementally
Requires Node.js β₯ 18
Just paste this prompt into your AI coding agent β it will detect itself, install ProjectMind globally, and verify everything automatically:
Set up ProjectMind so it works automatically in ALL my projects.
Steps:
1. Run: npm install -g @rootx202/projectmind
2. Detect which coding agent you are (antigravity / claude-code / gemini-cli / cursor / codex / github-copilot / hermes-agent / deepseek-harness / opencode)
3. Run: projectmind plugin install <your-agent-name> --scope global --yes
4. Run: projectmind doctor
5. Tell me which config files were updated and confirm everything is working.
Global scope configures ProjectMind at the user level β it activates automatically in every project you open, with zero per-project setup.
Step 1: Install globally
npm install -g @rootx202/projectmindStep 2: Install your agent integration globally
# Pick your agent:
projectmind plugin install claude-code --scope global --yes
projectmind plugin install antigravity --scope global --yes
projectmind plugin install gemini-cli --scope global --yes
projectmind plugin install cursor --scope global --yes
projectmind plugin install codex --scope global --yes
projectmind plugin install github-copilot --scope global --yes
projectmind plugin install hermes-agent --scope global --yes
projectmind plugin install deepseek-harness --scope global --yes
projectmind plugin install opencode --scope global --yesStep 3: Verify
projectmind doctorIf you prefer to install only for a specific project:
npx -y @rootx202/projectmind plugin install claude-code --yesOr via MCP directly:
npx -y @rootx202/projectmind mcp| Agent | Native Plugin | MCP | Skills | Hooks | Auto Mode |
|---|---|---|---|---|---|
| Google Antigravity | β | β | β | β | β |
| Claude Code | β | β | β | β | β |
| Gemini CLI | β | β | β | β | β |
| Cursor | β | β | β | β | β |
| OpenAI Codex | β | β | β | Limited | β |
| GitHub Copilot | β | β | β | β | β |
| Hermes Agent | β | β | β | β | β |
| DeepSeek Harness | β | β | β | β | β |
| OpenCode | β | β | β | β | β |
After installation, run diagnostics or manage your project memory:
# Run diagnostics
projectmind doctor
# View current context
projectmind context
# List installed plugins
projectmind plugin list
# Update plugins
projectmind update| Command | Preview |
|---|---|
projectmind doctor |
|
projectmind context |
|
projectmind plugin list |
|
projectmind update |
- π§ Persistent Memory β Project knowledge survives agent restarts and new sessions
- π³ AST Code Analysis β Tree-sitter/WASM for Python, Go, Rust, Java, C, C++, C# + Babel for JS/TS
- π Local Dashboard β HTML dashboard at
127.0.0.1with memory layers, code graph, symbols, search, ADRs, and estimated token savings β zero CDN or external services - π 100% Offline & Private β Zero mandatory cloud accounts, zero paid APIs
- π« Secret Protection β Auto-excludes
.env,.pem,.key,.ssh, tokens - π‘οΈ Path Traversal Protection β Symlink escape & prompt-injection sanitization
- β»οΈ Incremental Sync β Only re-indexes changed files using SHA-256 fingerprints
- ποΈ Greenfield + Existing Projects β Works on new and existing codebases
The built-in dashboard runs on 127.0.0.1 only (never exposed to the network):
projectmind dashboardShows: memory layers Β· code graph Β· symbols Β· HTTP routes Β· database models Β· ADRs Β· search Β· events Β· token savings
ProjectMind is designed to be strictly local-first:
- β All indexing, retrieval, and writes work 100% offline
- β
SQLite database stored in
<project>/.projectmind/projectmind.dbonly - β Network access only for explicit, verified update checks (HTTPS + allowlist)
- β Secrets automatically excluded from indexing
- β
.projectmind/added to.gitignoreautomatically
ProjectMind/
βββ apps/
β βββ cli/ # Main CLI entry point
β βββ setup/ # Agent detection & idempotent installer
β βββ diagnostics/ # Runtime, SQLite, MCP & adapter health checks
βββ packages/
β βββ core/ # Project root detection, stable Project ID
β βββ storage/ # SQLite3 + FTS5, 3-layer memory schema
β βββ shared/ # Types, security validators, token estimator
β βββ retrieval/ # BM25 + feature-hash reranker
β βββ knowledge/ # Knowledge record management
β βββ context-engine/ # Task context retrieval
β βββ mcp-server/ # MCP stdio transport + local dashboard
β βββ plugin-sdk/ # Plugin lifecycle, update, verification
β βββ agent-sdk/ # Smart Auto Mode engine + hook dispatcher
βββ adapters/ # Per-agent native integrations
βββ plugins/ # Plugin manifests for each agent
βββ skills/ # Canonical SKILL.md bundle
βββ templates/ # Default config template
βββ docs/ # Architecture, diagrams, screenshots
βββ tests/ # Full test suite
See CHANGELOG.md for the full version history.
Latest: v2.0.0 β Unified @rootx202/projectmind npm package, native plugin support for all agents, single MCP entry point via npx, removal of shell installers in favor of npm-backed integration.
See CONTRIBUTING.md and PLUGIN_DEVELOPMENT.md for development guides.
MIT Β© Rootx202