Skip to main content
Glama

What is ProjectMind?

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.


Related MCP server: DIP

System Architecture


3-Layer Memory Model

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


Smart Auto Workflow

Once installed into your agent, ProjectMind runs fully automatically:

  1. On first use β†’ initializes project memory (7-stage bootstrap)

  2. Before each task β†’ retrieves scoped context

  3. After each edit β†’ syncs changed files incrementally


Installation

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.


Manual Install (Global β€” works in all projects)

Step 1: Install globally

npm install -g @rootx202/projectmind

Step 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 --yes

Step 3: Verify

projectmind doctor

Manual Install (Per-Project)

If you prefer to install only for a specific project:

npx -y @rootx202/projectmind plugin install claude-code --yes

Or via MCP directly:

npx -y @rootx202/projectmind mcp

Agent Compatibility Matrix

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

β€”

βœ…

βœ…

βœ…

βœ…


CLI Commands

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

CLI Screenshots

Command

Preview

projectmind doctor

doctor

projectmind context

context

projectmind plugin list

plugin list

projectmind update

update


Key Features

  • 🧠 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.1 with 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


Local Dashboard

The built-in dashboard runs on 127.0.0.1 only (never exposed to the network):

projectmind dashboard

Shows: memory layers Β· code graph Β· symbols Β· HTTP routes Β· database models Β· ADRs Β· search Β· events Β· token savings


Privacy & Security

ProjectMind is designed to be strictly local-first:

  • βœ… All indexing, retrieval, and writes work 100% offline

  • βœ… SQLite database stored in <project>/.projectmind/projectmind.db only

  • βœ… Network access only for explicit, verified update checks (HTTPS + allowlist)

  • βœ… Secrets automatically excluded from indexing

  • βœ… .projectmind/ added to .gitignore automatically


Repository Structure

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

Changelog

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.


Contributing

See CONTRIBUTING.md and PLUGIN_DEVELOPMENT.md for development guides.


License

MIT Β© Rootx202

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to maintain persistent project context locally, with source-backed memory and structured handoffs for seamless handover between interchangeable agents.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to maintain local-first project memory, coordinate task ownership across Git worktrees, and verify completion against project-defined checks with durable evidence stored in the repository.
      1
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to read and write persistent, local-first memory across sessions and projects, with semantic search, global guidelines, and optional autonomous task execution.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to read and write persistent project-scoped and cross-project memory during sessions, using local semantic search to surface relevant decisions, preferences, error patterns, and guidelines across sessions. It also optionally exposes an autonomous task queue that draws on that same stored context.
      -