Who it is forA developer returning to a bug or feature in a repository after days or weeks, when a new agent session has no memory of the earlier attempts.
The problemA new session often starts without the failed attempts, design rationale, and pitfalls established in earlier work, so the agent repeats old mistakes.
The outcomeThe agent starts with the small set of saved engineering lessons relevant to the current task and reaches useful investigation sooner.
What you need first
- Node.js 20+ (Node.js 24 LTS recommended)
- At least one supported coding agent installed, such as Codex, Claude Code, or Cursor
- A normal interactive terminal for setup, or a caller-provided API key for stdin setup
- Network access for MemoraX search and writeback
- On Linux, /usr/bin/secret-tool from libsecret and an available Secret Service for guest credentials
Steps
- Run
npm install -g @memorax/memorax-codeto install the package. - Run
memorax-code setupin a normal terminal for guest mode, ormemorax-code setup --existing-accountif you have a MemoraX account. - Restart or refresh your coding agent so the managed plugin and Hooks load.
- Open the project, start a new session, and send one prompt.
- Run
memorax-code statusandmemorax-cli statusfrom the project directory; a Hook that has run should change to hook-runtime=observed.
Prompt for your agent
In the <project path> repository, use the MemoraX Code skill to recall prior engineering lessons about <task area> before you edit anything. List each lesson you retrieved and state which one you will apply first. Verify that the list comes from the memory search result, not from your own assumptions.
Caveat. Search and writeback need network access, and Linux guest credentials depend on libsecret and a running Secret Service session.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for memorax-ai/memorax-code and "Resume a coding task with lessons from earlier sessions"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer