Connect your agents
Give Claude Code, Codex, Cursor and Gemini CLI a memory: connect them to your cortex from the app or with one command, and check what's connected.
On this page
An agent connected to Memorinth reads your cortex at the start of every session and saves what it learns as it works. Connecting one adds three things to it:
- The memory tools: Memorinth’s MCP server, which the agent runs on its own.
- Hooks: a briefing when a session starts, and where the agent supports it, a reminder to save after it changes files.
- Skills:
/memorinth-save, to save at the end of a session, andmemorinth-search, which teaches the agent the search language.
From the app
Open Settings › Agents:
- Agent memory: the switch. When on, agents get your cortex when a session starts.
- Cortex: the one cortex agents use at a time, even when you open another here. Use {name} points them at the one you have open.
- Claude Code: its status is Connected, Not connected, Needs repair or Not installed. One button sits beside it: Connect, Repair or Get Claude Code. Details says what’s missing. That’s the whole setup for Claude Code.
The cortex picker in the title bar uses the same words and controls.
Codex, Cursor and Gemini connect from a terminal. Pick one under Codex, Cursor and Gemini to see its command, with a Copy button.
Connection report › Copy report copies how agents are connected, to add to a bug report.
From a terminal
The app includes the memorinth command. To connect every agent installed on this computer at once:
$ memorinth initIt asks which agents to connect, and whether to install the skills and the hooks. To connect one agent at a time:
$ memorinth setup claude-codesetup takes claude-code, codex, cursor or gemini. Connect one agent says what each one changes on your computer.
Check it
$ memorinth doctorIt shows the cortex agents use, what each agent has of Memorinth, and what to fix if something’s missing.
Next: Your first session.
Updated