Repolode
AVIDS2

AVIDS2/memorix

Local-first shared project memory layer that lets coding agents like Claude Code, Codex, and Cursor read and write the same memory via MCP.

Stars
855
Forks
70
Open issues
5
Last commit
23 hours ago

What is it?

Memorix keeps project memory under the Git repository rather than inside a single chat or IDE, so context from one coding agent session can be recalled by the next, even when the agent or tool changes. It stores observations, session summaries, reasoning records with trade-offs, and facts derived from commits, and exposes them through an MCP server, hooks, a CLI, a TypeScript SDK, and a bundled terminal agent called memcode.

Setup is handled by a single command per agent, such as memorix setup --agent claude --global, which writes the MCP entries, guidance files, rules, or plugin packages each agent supports. SQLite is the canonical local store, with optional SQLite FTS5 and LanceDB semantic indexes. LLM-backed memory formation and embeddings are optional.

The project also includes a local dashboard, an HTTP MCP endpoint for shared use, Git-derived memory ingestion, a code-state index for TypeScript and JavaScript symbols, and orchestration commands for coordinating multiple agent workers.

Key features

  • 01Shares one project-scoped memory pool across Claude Code, Codex, Cursor, Windsurf, Gemini CLI and many other agents.
  • 02Installs MCP, rules, hooks, or plugin packages per agent via a single setup command.
  • 03Stores data in local SQLite, with no required cloud service.
  • 04Turns Git commits into searchable engineering facts and records design reasoning with alternatives.
  • 05Provides a CLI, a TypeScript SDK, a local dashboard, and an HTTP MCP endpoint.

Use cases

  • Switching between Claude Code, Cursor, and Codex on the same repository without re-explaining the project.
  • Recovering why an architecture decision was made after the original chat is gone.
  • Running several coding agents in parallel on one codebase with shared task context and handoffs.
  • Giving a team's agents a consistent, reviewable project memory stored alongside the code.

Quick start

  1. 1

    Install Memorix from npm, following the Install section of the README

  2. 2

    Set up the integration for your agent (user-level, global)

    memorix setup --agent <agent> --global

Things to know

  • Setup differs for each agent, so integration effort varies with the agent you use.
  • Formation and embedding features that use an LLM are optional and need extra configuration.

Topics

FAQ

What is memorix?
Local-first shared project memory layer that lets coding agents like Claude Code, Codex, and Cursor read and write the same memory via MCP. Memorix keeps project memory under the Git repository rather than inside a single chat or IDE, so context from one coding agent session can be recalled by the next, even when the agent or tool changes. It stores observations, session summaries, reasoning records with trade-offs, and facts derived from commits, and exposes them through an MCP server, hooks, a CLI, a TypeScript SDK, and a bundled terminal agent called memcode.
Is memorix free to use? What license does it have?
memorix is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is memorix still maintained?
Actively maintained. The last commit to memorix was on Oct 21, 2026.
What can I use memorix for?
Switching between Claude Code, Cursor, and Codex on the same repository without re-explaining the project. Recovering why an architecture decision was made after the original chat is gone. Running several coding agents in parallel on one codebase with shared task context and handoffs. Giving a team's agents a consistent, reviewable project memory stored alongside the code.
How do I install memorix?
Install Memorix from npm, following the Install section of the README Set up the integration for your agent (user-level, global): memorix setup --agent <agent> --global
Where can I get memorix?
The source code and installation instructions are on GitHub: https://github.com/AVIDS2/memorix

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects