Source: Source pull request number: 291 in rohitg00/agentmemory (URL omitted to avoid GitHub cross-reference)
Title: Add multi-IDE installer support for OpenCode, Cursor, Codex, Roo, and Kilo
Author: RaviTharuma
State: closed
Draft: no
Merged: no
Head: RaviTharuma/agentmemory:feat/multi-ide-installers @ e596721
Base: main @ 1c8713f
Labels: (none)
Changed files: 0
Commits: 0
Created: 2026-05-11T21:38:58Z
Updated: 2026-05-27T18:10:25Z
Closed: 2026-05-27T18:09:01Z
Merged at: (not merged)
Original PR body:
Summary
- add a first-party
agentmemory install CLI command for OpenCode, Cursor, Codex, Roo, Kilo, PI, Hermes, and OpenClaw targets
- ship new Cursor and Codex hook entrypoints and generate the corresponding host config files plus MCP wiring
- preserve deep native integrations for Claude/OpenClaw/Hermes/PI while adding best-available automatic capture for hosts that only expose MCP or file-watch surfaces
What changed
- added
src/installers.ts with target-specific installers
- added new hook adapters:
src/hooks/cursor.ts and src/hooks/codex.ts
- wired
agentmemory install into src/cli.ts
- updated
tsdown.config.ts so the new hook scripts are built into both dist/hooks and tracked plugin/scripts
- added focused tests in
test/installers.test.ts
QA
npm run build
npx vitest run test/installers.test.ts
- manual installer runs for:
node dist/cli.mjs install opencode --project-root <tmp>
node dist/cli.mjs install cursor --project-root <tmp>
node dist/cli.mjs install codex --project-root <tmp>
node dist/cli.mjs install roo --project-root <tmp>
node dist/cli.mjs install kilo --project-root <tmp>
and inspection of generated files/configs
Notes
- Roo Code and Kilo Code currently receive best-available MCP config generation; they do not expose the same native lifecycle hook surface as Claude/Cursor/OpenCode
- OpenCode gets both an MCP entry and a generated plugin that forwards session/file/command events into the existing agentmemory hook pipeline
Summary by CodeRabbit
-
New Features
- Added an
install CLI command to install Agent Memory integrations for OpenCode, Cursor, Codex, Roo, Kilo, PI, OpenClaw, and Hermes.
- Added Cursor and Codex hook and CLI scripts to emit session start/observe/tool-use/stop events and surface returned context.
-
Chores
- Installer generates and merges editor/plugin configuration and integration artifacts across multiple targets.
-
Tests
- Expanded tests to verify installer outputs and safe merging into existing configs.

Local branch:
Fork PR:
Fork decision:
Verification:
Notes:
Source: Source pull request number: 291 in rohitg00/agentmemory (URL omitted to avoid GitHub cross-reference)
Title: Add multi-IDE installer support for OpenCode, Cursor, Codex, Roo, and Kilo
Author: RaviTharuma
State: closed
Draft: no
Merged: no
Head: RaviTharuma/agentmemory:feat/multi-ide-installers @ e596721
Base: main @ 1c8713f
Labels: (none)
Changed files: 0
Commits: 0
Created: 2026-05-11T21:38:58Z
Updated: 2026-05-27T18:10:25Z
Closed: 2026-05-27T18:09:01Z
Merged at: (not merged)
Original PR body:
Summary
agentmemory installCLI command for OpenCode, Cursor, Codex, Roo, Kilo, PI, Hermes, and OpenClaw targetsWhat changed
src/installers.tswith target-specific installerssrc/hooks/cursor.tsandsrc/hooks/codex.tsagentmemory installintosrc/cli.tstsdown.config.tsso the new hook scripts are built into bothdist/hooksand trackedplugin/scriptstest/installers.test.tsQA
npm run buildnpx vitest run test/installers.test.tsnode dist/cli.mjs install opencode --project-root <tmp>node dist/cli.mjs install cursor --project-root <tmp>node dist/cli.mjs install codex --project-root <tmp>node dist/cli.mjs install roo --project-root <tmp>node dist/cli.mjs install kilo --project-root <tmp>and inspection of generated files/configs
Notes
Summary by CodeRabbit
New Features
installCLI command to install Agent Memory integrations for OpenCode, Cursor, Codex, Roo, Kilo, PI, OpenClaw, and Hermes.Chores
Tests
Local branch:
Fork PR:
Fork decision:
Verification:
Notes: