Integration Surfaces

July 17, 2026 ยท View on GitHub

Memorix is a shared project memory layer. Agents connect through the interfaces they already support: plugin packages, MCP, project instructions, hooks, skills, or the bundled memcode terminal agent.

For most users, start with:

memorix setup --agent <agent> --global

That command installs the recommended Memorix package or config for the target agent. Manual integrate, hooks, and raw MCP config remain available when you need a fallback setup.


What Gets Installed

SurfaceUser-facing purposeTypical install path
Plugin or bundle packageBundles Memorix MCP, skills, hooks, commands, and usage guidance where the agent supports plugins or compatible bundlesmemorix setup --agent claude --global, codex --global, copilot --global, antigravity --global, openclaw --global, or hermes --global
Package or extensionBundles Memorix for agents that use package or extension systemsmemorix setup --agent pi --global, omp --global, or gemini-cli --global
Local pluginInstalls a local plugin file where the agent loads plugins directlymemorix setup --agent opencode --global
MCP serverGives an agent live tools for search, recall, storage, reasoning, and coordinationbundled by setup, host MCP config, or memorix serve
Usage guidanceTells the agent when and how to use memoryCLAUDE.md, AGENTS.md, GEMINI.md, Cursor/Windsurf/Kiro/Trae rules
HooksCaptures useful session events when the agent exposes hook eventsbundled by plugin packages or generated hook files
SkillsTurns durable project knowledge into reusable task guidanceplugin skills, memorix skills, memorix_promote
memcodeOpens a terminal coding agent that already uses Memorix memorymemorix, memcode
HTTP serviceRuns one shared MCP endpoint plus dashboardmemorix background start

HTTP is not required for normal agent setup. Use it when you intentionally want a shared background process, dashboard, Docker deployment, or multiple clients using the same MCP endpoint.

CLI, MCP, and HTTP have separate jobs:

  • CLI is the direct command surface. Use it for setup, diagnostics, memory operations, Git Memory, import/export, dashboard commands, and orchestration.
  • Stdio MCP is the normal agent/IDE bridge. It gives the agent live Memorix tools by launching memorix serve.
  • HTTP MCP is the shared service bridge. Use it for one endpoint shared by multiple clients, dashboard, Docker, or supervised foreground debugging.

Generated guidance also has scope:

  • Project guidance (CLAUDE.md, AGENTS.md, GEMINI.md, Cursor/Windsurf/Kiro/Trae rules) may say the repository is configured for Memorix.
  • Plugin or skill package guidance is workspace-safe. It says to use Memorix when the active workspace has Memorix tools available.
  • --global writes user-level plugin, config, and hook surfaces where the host supports them.
  • Running the same setup command without --global is the repo-local path for one project only.
  • Hooks are only global where the host provides a global hook surface. If the host only supports project hooks, Memorix uses that project scope instead.

Agent Support Matrix

AgentRecommended installOfficial entryWhat gets installedNotes
Claude Codememorix setup --agent claude --globalClaude Code plugin marketplaceLocal memorix-local marketplace, plugin-bundled stdio MCP, skills, hooks, plus CLAUDE.md guidanceSetup attempts claude plugin marketplace add and claude plugin install memorix@memorix-local.
Codexmemorix setup --agent codex --globalCodex Personal marketplace pluginLocal plugin under ~/.codex/plugins/memorix, Personal marketplace entry, plugin-bundled stdio MCP, skills, hooks, plus AGENTS.md guidanceSetup attempts codex plugin add memorix@personal. Run memorix doctor agents --agent codex --scope global to verify the bundle, marketplace, enabled state, and five declared/trusted hooks; start a new thread after setup.
GitHub Copilot CLImemorix setup --agent copilot --globalCopilot CLI plugin packageLocal plugin under ~/.copilot/plugins/local/memorix with MCP, skills, and hooksSetup attempts copilot plugin install <local-path> when Copilot CLI is available.
Cursormemorix setup --agent cursor --globalCursor MCP and rules configCursor MCP config, .cursor/rules/memorix.mdc, skills, and hook guidanceReload Cursor after setup so it can pick up project config changes.
Gemini CLImemorix setup --agent gemini-cli --globalGemini CLI extensionExtension under ~/.gemini/extensions/memorix with MCP, GEMINI.md context, hooks, commands, and skillsAntigravity CLI has an official Gemini CLI migration path, but Gemini CLI remains an active standalone Google CLI target.
OpenCodememorix setup --agent opencode --globalOpenCode local plugin fileGlobal setup writes ~/.config/opencode/plugins/memorix.js, ~/.config/opencode/opencode.json, skills, and AGENTS.md guidance; repo-local setup writes the .opencode/ equivalents.OpenCode loads local plugin and skill files from its config scope.
OpenClawmemorix setup --agent openclaw --globalOpenClaw compatible bundle~/.openclaw/extensions/memorix with .mcp.json, skills, and OpenClaw HOOK.md/handler.ts hook packSetup attempts openclaw plugins install <path> --force and openclaw hooks enable memorix when OpenClaw is available.
Hermes Agentmemorix setup --agent hermes --globalHermes pluginHermes home (%LOCALAPPDATA%\hermes on native Windows, ~/.hermes elsewhere, or HERMES_HOME), plugin enablement in config.yaml, and mcp_servers.memorixThe plugin registers hooks, a slash command, a CLI command, and skills through Hermes' plugin context. Existing YAML keys are preserved.
Oh-my-Pimemorix setup --agent omp --globalOh-my-Pi omp.extensions package.omp/packages/memorix or ~/.omp/agent/packages/memorix, plus .omp/mcp.json or ~/.omp/agent/mcp.jsonSetup attempts omp plugin link <path>. This target uses Oh-my-Pi's package/extension manifest, not Pi's legacy package manifest.
Pimemorix setup --agent pi --globalPi packageUser Pi package with extension and official skills, registered through pi install <path> --approveRun without --global only when you want a project-local Pi package. Pi currently does not need a separate Memorix MCP config lane.
Windsurfmemorix setup --agent windsurf --globalWindsurf MCP/rules/hooks configstdio MCP config, .windsurf/rules/memorix.md, hook configUses Windsurf's current config surfaces.
Kiromemorix setup --agent kiro --globalKiro MCP/steering/hooks configMCP config, .kiro/steering/memorix.md, .kiro/hooks/*.kiro.hookUses Kiro steering and hook files.
Antigravitymemorix setup --agent antigravity --globalAntigravity pluginPlugin under ~/.gemini/config/plugins/memorix or .agents/plugins/memorix, with plugin.json, mcp_config.json, hooks.json, rules, and skillsUses Antigravity's official plugin layout. Dedicated MCP configs live at ~/.gemini/config/mcp_config.json or .agents/mcp_config.json; legacy Gemini settings are read only for compatibility.
Traememorix setup --agent trae --globalTrae MCP/rules configMCP config and .trae/rules/project_rules.mdCurrent support is MCP plus project rules.
memcodememorix or memcodeBundled terminal agentBuilt-in Memorix memory accessmemcode uses the same project memory pool; it is not a separate memory silo.
Any MCP clientManual MCP configMCP stdio or HTTPmemorix serve or memorix background startUse stdio first unless you need a shared HTTP endpoint.

One-Command Setup

Install Memorix:

npm install -g memorix
memorix init --global

Then install the agent integration you use:

memorix setup --agent claude --global
memorix setup --agent codex --global
memorix setup --agent copilot --global
memorix setup --agent cursor --global
memorix setup --agent pi --global
memorix setup --agent gemini-cli --global
memorix setup --agent opencode --global
memorix setup --agent openclaw --global
memorix setup --agent hermes --global
memorix setup --agent omp --global

Use memorix setup --agent all --global only when you intentionally want every supported agent integration generated for the current machine/user scope.


Manual MCP Fallback

If an agent only needs a raw stdio MCP entry:

{
  "mcpServers": {
    "memorix": {
      "command": "memorix",
      "args": ["serve"]
    }
  }
}

Avoid npx in persistent MCP configs. Use the globally installed memorix binary so startup is predictable.

For HTTP mode:

memorix background start

Endpoint:

http://localhost:3211/mcp

In HTTP mode, bind each project session with memorix_session_start(projectRoot=...) when the client can provide the workspace path.


Manual Generation Commands

These commands remain useful for controlled fallback setups:

memorix integrate --agent cursor
memorix integrate --agent gemini-cli
memorix setup --agent openclaw --global
memorix setup --agent hermes --global
memorix setup --agent omp --global
memorix hooks install --agent cursor
memorix hooks install --agent opencode

Use them when you do not want the full setup package, or when you are updating one generated integration file by hand.

memorix integrate --agent <agent> writes usage guidance and MCP settings where supported. memorix setup --agent openclaw|hermes|omp installs the official package or plugin entry that those hosts expose, plus MCP config where needed. memorix hooks install --agent <agent> installs fallback automatic capture only where the agent exposes standalone hook files; package-owned hooks stay managed by memorix setup.

Shared files such as AGENTS.md, CLAUDE.md, and GEMINI.md are appended or updated carefully so existing project instructions are not replaced wholesale.


Skills And Project Knowledge

Memorix ships an official skill set for agents that support skills:

  • memorix-memory
  • memorix-reasoning
  • memorix-sessions
  • memorix-git-memory
  • memorix-mini-skills
  • memorix-orchestrate
  • memorix-troubleshooting

These skills are operational guidance for agents: when to search, when to store, when to use CLI fallbacks, when Git Memory is evidence, and when orchestration coordination is appropriate.

Memorix can also promote durable observations into reusable mini-skills. Use this when a project pattern, gotcha, or workflow should become guidance that agents can rediscover later.

Useful commands and tools:

memorix skills

MCP tools:

  • memorix_skills
  • memorix_promote
  • memorix_rules_sync

Plugin and package integrations include the official Memorix skill set where the agent supports skills.


What Memorix Provides

Memorix does three things:

  1. Stores project memory locally and makes it searchable.
  2. Exposes that memory through plugin packages, MCP, CLI, SDK, hooks, rules, and skills.
  3. Provides memcode as a bundled terminal agent for users who want a Memorix-powered coding session in the terminal.

Different agents expose different extension points. When an agent supports plugins, Memorix uses plugins. When it uses rules or instruction files, Memorix writes those. When it only speaks MCP, MCP is the integration.