Skip to content

Memorax Code

A memory plugin for AI coding that turns engineering experience, repository knowledge, and your way of working into memory that remains useful in future tasks.

Install

$npm install -g @memorax/memorax-code

Install command taken from the project's README or registry entry. Always review code before running it.

Never lose context. Never start over.

Beyond code, it remembers how your architecture evolves and how your engineering unfolds.

English · 简体中文

Make Every Interaction the Starting Point for the Next

Coding agents are good at the task in front of them, but a new session often starts without the architecture, failed attempts, repository rules, or working preferences established before it.

MemoraX Code gives Codex, Claude Code, CodeBuddy CLI, WorkBuddy, DeepSeek Harness, OpenCode, Trae, and Cursor a shared memory layer for that context. It can recall prior engineering knowledge, capture reusable lessons from completed work, maintain repository knowledge, and carry your procedures and preferences into future sessions.

The goal is not to remember everything. It is to bring back the small amount of memory relevant to the current task so the agent can reach useful investigation and validation sooner.

Quick Start

Prepare Node.js 20+ (Node.js 24 LTS recommended) and at least one of Codex, Claude Code, CodeBuddy CLI, WorkBuddy, DeepSeek Harness, OpenCode, Trae, or Cursor.

For DeepSeek Harness (DSH), current releases require Node.js ^22.19.0 || >=24.0.0. Install or initialize DSH first, create at least one Profile, and ensure pnpm is on PATH before running setup. MemoraX Code does not install or update DSH.

On Linux, guest credentials require /usr/bin/secret-tool from libsecret and an available Secret Service in the current user session. For Remote SSH, WSL, or Dev Containers, install MemoraX Code in the same environment as the coding agent. MemoraX search and writeback require network access.

Install and Connect

1. Install the Package

npm install -g @memorax/memorax-code

This installs the package; it does not start interactive setup. Do not use --ignore-scripts: npm lifecycle scripts safely stop and restore an existing running managed Backend during package replacement.

2. Connect a MemoraX Account (Recommended)

Create a MemoraX account or use an existing one, then run from a normal interactive terminal:

memorax-code setup --existing-account

Follow the setup prompts to enter your MemoraX username and API key locally.

For a coding agent without an interactive terminal, pass the API key through stdin. The examples assume MEMORAX_SETUP_API_KEY is already provided by the caller. Do not put the key in command arguments or project files.

printf '%s\n' "$MEMORAX_SETUP_API_KEY" | memorax-code setup --existing-account --non-interactive

In Windows PowerShell:

$env:MEMORAX_SETUP_API_KEY | memorax-code.cmd setup --existing-account --non-interactive

This explicit command replaces the saved key and uses the detected local username and system language. It reports API Key match: true after local configuration and readiness checks; this does not verify cloud credentials. See non-interactive setup for input and reuse behavior.

[!TIP] Using MemoraX Code across devices? Find the username and API key in the configuration file on a configured device (normally ~/.memorax-code/config.toml), then enter them in the local setup terminal on the new device. This file contains your API key; keep it private and never paste it into chats or public issues.

Or Try Without an Account (90-Day Guest Mode)

Similar plugs

Memori is agent-native memory infrastructure. A LLM-agnostic layer that turns agent execution and conversation into structured, persistent state for production systems. Built…

An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault