# Agent Memory Connect

Wires agentmemory into host coding agents and checks their config paths.

- Repository: https://github.com/rohitg00/agentmemory (30072 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add rohitg00/agentmemory --skill agentmemory-agents -g -a claude-code -y`
Codex: `npx skills add rohitg00/agentmemory --skill agentmemory-agents -g -a codex -y`
Cursor: `npx skills add rohitg00/agentmemory --skill agentmemory-agents -g -a cursor -y`
Gemini CLI: `npx skills add rohitg00/agentmemory --skill agentmemory-agents -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add rohitg00/agentmemory`

## Description

How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

`agentmemory connect <agent>` merges the memory server into a host agent's config and preserves any existing servers. REST is the underlying protocol; for MCP-only hosts the adapter wires the stdio MCP bridge.

## Quick start

```bash
agentmemory connect claude-code   # or cursor, codex, gemini-cli, ...
```

After wiring, restart the host or run its MCP reload (for example `/mcp` in Claude Code, or a new session after `devin mcp list` in Devin CLI) so it picks up the server. Then confirm the agent lists agentmemory's tools.

Devin CLI and Devin Desktop can also install the whole plugin with `devin plugins install rohitg00/agentmemory#plugin`, which adds the skills, the MCP server, and the capture hooks in one step. Cloud Devin sessions cannot reach a local agentmemory server, so the plugin is for local sessions only.

For Pi, Oh My Pi, or DeepSeek Harness, start the daemon and choose the matching command:

```bash
agentmemory connect pi --with-mcp
agentmemory connect omp --with-mcp
agentmemory connect dsh --with-hooks
```

Pi and OMP install native recall, capture and bundled skills; `--with-mcp` adds the tools needed by the broader workflows. Reload Pi with `/reload`, or restart OMP, then run `/agentmemory-status`. Restart DSH after enabling its bundled capture plugin. Re-run the matching connector after upgrading or moving AgentMemory so installed runtime paths stay current.

Cursor's connector configures MCP. Install and enable the Cursor plugin through Settings → Plugins → Add marketplace → this repository for lifecycle capture; do not add a second global hook copy.

## Workflow

The rest: https://github.com/rohitg00/agentmemory/blob/HEAD/plugin/skills/agentmemory-agents/SKILL.md
