AVIDS2/memorix

Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Copilot, Kiro, OpenCode, and Trae.

What it solves

AI coding agents forget what they learned when a chat ends, and different agents (Claude Code, Codex, Cursor, etc.) often know different things about the same project. Memorix gives these agents a shared, searchable project memory that lives under the Git project — not inside one chat window or one tool. It stops you from re-explaining the same project to a new session, recovers design decisions buried in old chats, and turns Git commits into searchable engineering facts.

How it works

Memorix is local-first: SQLite is the canonical store, and small projects can use an in-process Orama index while larger projects use a persistent SQLite FTS5 index, optionally with a LanceDB semantic shadow index. Memory is scoped to the current Git project, so any agent you connect via MCP, hooks, rules, or plugins can read and write the same memory pool. The memorix setup command installs the right integration for each supported agent (MCP, plugin, hooks, skills, etc.), and memorix serve exposes an MCP bridge. You interact through a CLI, SDK, or a local dashboard. Key memory types include Observation Memory (facts, fixes, gotchas), Git Memory (commit-derived engineering facts), Reasoning Memory (design rationale with alternatives and trade-offs), and Curated Long-term Memory (reviewed, source-evidenced). It also offers Knowledge Workspace (review-gated claims and workflows), Code State (versioned snapshots and symbols), and Orchestration for coordinating multi-agent tasks with handoffs, locks, and verification.

Who it’s for

Developers who work with multiple AI coding agents or switch between them frequently, and who are tired of context loss across sessions. It’s for anyone using Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI, or any MCP-capable agent, who wants a persistent project memory that survives new chats, IDE changes, and handoffs. It’s especially useful for long-lived projects where architectural decisions need to be remembered and shared between different tools.

Highlights

  • Local-first: memory lives under the Git project as SQLite, not in the cloud.
  • Works with 20+ agents (Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI, etc.) via MCP, plugins, hooks, or rules.
  • Multiple memory types: observation, git-derived, reasoning, long-term curated, knowledge workspace, code state.
  • One-time memorix setup --agent <agent> --global installs the correct integration per agent.
  • CLI, SDK, MCP, and HTTP interfaces for automation and custom use.
  • Optional multi-device sync that relays privacy-filtered observations without uploading the canonical SQLite database.
  • Orchestration for multi-agent work: task context, handoffs, file locks, verification, and review loops.

Related

  • Project
  • Project
  • Project
  • Project
  • Project