Set up Ragionex Memory.
Connect almost any AI agent to Ragionex Memory.
With your agent.
Paste this into your agent:
Set up Ragionex Memory for yourself by following the instructions at https://ragionex.com/setup. Your agent gives you a link. Open it, sign in, and paste the one-time code from that page into the chat.
Instructions for AI agents.
The user asked you to set up Ragionex Memory. Follow these steps exactly and run each command yourself.
-
Connect yourself: the agent the user is talking to. Other agents on this computer stay as they are.
Find your code in this table:
Agent Code Claude Code claude-codeCodex codexOpenCode opencodeAny other agent manualRun the setup with your code:
Windowsnpx.cmd -y @ragionex/memory-mcp@latest install --agent-mode --agent <code>macOS / Linuxnpx -y @ragionex/memory-mcp@latest install --agent-mode --agent <code>With
manual, the setup prints an MCP server entry. Add it to your own MCP settings file, written in that file's format (for example JSON, YAML or TOML). Then run the command the setup prints next, with the full paths of your global instructions file and your MCP settings file. - The setup prints a link. Give it to the user to open in their own browser, and never open it yourself.
- The user signs in and pastes a one-time code from that page into the chat. Run the command the setup printed, with that code.
- When the setup says Ragionex Memory is ready, tell the user to quit you completely and open you again in a new session.
Lines in the setup's output that start with AI agents: are part of these instructions. Follow them too.
The setup needs network access. If your sandbox blocks it, ask the user to allow it. The first run can take up to two minutes.
Set it up yourself.
With Node.js 18 or later, run this in a terminal:
npx.cmd -y @ragionex/memory-mcp@latest install npx -y @ragionex/memory-mcp@latest install - Choose your agent, or manual setup if it is not listed.
- Open the link on any device and sign in. A new account is free.
- Copy the code the page shows and paste it into the terminal.
- Quit your agent completely and open it again in a new session.
Using another MCP client? Follow the MCP setup guide.
After the restart.
Your agent uses Ragionex Memory on its own. To check, ask: Check my Ragionex Memory connection.