> ## Documentation Index
> Fetch the complete documentation index at: https://agent-memory.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connectors

> One connect command wires 19 agents

```bash theme={"dark"}
npx @agentmemory/agentmemory connect
```

No argument opens an interactive picker over detected agents; `connect <agent>` wires one. Every automated adapter backs up the existing config file to `~/.agentmemory/backups/` before writing and re-reads the file afterward to verify the entry landed.

## Flags

| Flag              | Effect                                                                                                                                                                                                                                                              |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--all`           | Wire every detected agent in one run                                                                                                                                                                                                                                |
| `--dry-run`       | Print what would change without touching any file                                                                                                                                                                                                                   |
| `--force`         | Re-install over an existing agentmemory entry                                                                                                                                                                                                                       |
| `--with-hooks`    | Also install native auto-capture hooks where the agent supports them: Claude Code (`~/.claude/settings.json`), Codex (`~/.codex/hooks.json`), Droid (`~/.factory/hooks.json`), Antigravity CLI (`~/.gemini/config/hooks.json`). Runs even when MCP is already wired |
| `--no-guidelines` | Skip the memory-usage guideline that is otherwise written into each agent's rules file                                                                                                                                                                              |

<Note>
  On Windows, automated connect supports only `copilot-cli`; every other agent needs manual setup there. On macOS and Linux all adapters run.
</Note>

<Note>
  Hook installs reference absolute paths under the bundled `plugin/` directory of the installed package. Re-run `connect <agent> --with-hooks` after upgrading agentmemory so the paths stay current.
</Note>

## The 20 adapters

| Agent                                               | Integration                                    | What connect writes                                                                                                                                                                                                    |
| --------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Claude Code](/docs/integrations/claude-code)            | MCP + hooks                                    | `mcpServers.agentmemory` in `~/.claude.json`; `--with-hooks` merges the bundled hook manifest into `~/.claude/settings.json`                                                                                           |
| [GitHub Copilot CLI](/docs/integrations/copilot-cli)     | MCP                                            | `~/.copilot/mcp-config.json`; install the plugin for full hooks and skills coverage                                                                                                                                    |
| [Codex CLI](/docs/integrations/codex)                    | MCP + hooks                                    | `~/.codex/config.toml`; `--with-hooks` writes the global `~/.codex/hooks.json` fallback                                                                                                                                |
| [Cursor](/docs/integrations/cursor)                      | Plugin (7 hooks + 17 skills + MCP) or MCP only | `.cursor-plugin/` / `~/.cursor/mcp.json`                                                                                                                                                                               |
| [Devin](/docs/integrations/devin)                        | MCP + 6 hooks, or plugin (17 skills)           | `~/.config/devin/config.json` / `plugin/.devin-plugin/`                                                                                                                                                                |
| [Gemini CLI](/docs/integrations/gemini-cli)              | MCP                                            | `~/.gemini/settings.json`                                                                                                                                                                                              |
| [Qwen Code](/docs/integrations/other-mcp-clients)        | MCP                                            | `~/.qwen/settings.json`                                                                                                                                                                                                |
| [Antigravity](/docs/integrations/antigravity)            | MCP                                            | `mcp_config.json` in the Antigravity user config dir                                                                                                                                                                   |
| [Antigravity CLI (agy)](/docs/integrations/antigravity)  | MCP + hooks                                    | `~/.gemini/config/mcp_config.json`; `--with-hooks` merges `~/.gemini/config/hooks.json`                                                                                                                                |
| [Kiro](/docs/integrations/other-mcp-clients)             | MCP                                            | `~/.kiro/settings/mcp.json`                                                                                                                                                                                            |
| [Warp](/docs/integrations/other-mcp-clients)             | MCP                                            | `~/.warp/.mcp.json`                                                                                                                                                                                                    |
| [Cline](/docs/integrations/other-mcp-clients)            | MCP                                            | `~/.cline/mcp.json` (CLI); VS Code users paste the same block via Cline settings                                                                                                                                       |
| [Continue](/docs/integrations/other-mcp-clients)         | MCP                                            | `~/.continue/config.yaml` (prints a merge snippet) or legacy `config.json` when no yaml exists                                                                                                                         |
| [Zed](/docs/integrations/other-mcp-clients)              | MCP                                            | Zed `settings.json` under `context_servers`                                                                                                                                                                            |
| [Droid (Factory.ai)](/docs/integrations/droid)           | MCP + hooks                                    | `~/.factory/mcp.json`; `--with-hooks` merges `~/.factory/hooks.json`                                                                                                                                                   |
| [DeepSeek Harness](/docs/integrations/other-mcp-clients) | MCP + hooks                                    | Appends an `@deepseek-ai/dsh-mcp-client` row to `$DSH_HOME/cordis.patch.yml` (defaults to `~/.dsh`); `--with-hooks` adds auto-capture through Harness's Claude Code hook bridge via `$DSH_HOME/agentmemory.hooks.json` |
| [OpenCode](/docs/integrations/opencode)                  | MCP + plugin                                   | Top-level `mcp` key in `~/.config/opencode/opencode.json`; the bundled capture plugin in `plugin/opencode/` adds auto-capture                                                                                          |
| [OpenClaw](/docs/integrations/openclaw)                  | MCP                                            | `~/.openclaw/openclaw.json`; memory-slot plugin available via `integrations/openclaw`                                                                                                                                  |
| [Hermes Agent](/docs/integrations/other-mcp-clients)     | MCP (manual)                                   | Prints the `mcp_servers` YAML block for `~/.hermes/config.yaml`; Python plugin in `integrations/hermes`                                                                                                                |
| [pi](/docs/integrations/other-mcp-clients)               | Native hooks (manual)                          | Prints copy instructions for the TypeScript extension in `integrations/pi` (REST at 3111, no MCP needed)                                                                                                               |
| [OpenHuman](/docs/integrations/other-mcp-clients)        | Native (manual)                                | Memory-trait host wired to the REST proxy at 3111; automation pending                                                                                                                                                  |

Hook-based agents capture observations automatically. MCP-only agents get a memory-usage guideline written into their rules file so the agent calls the tools on its own; the target per agent (global GEMINI.md, project `.cursor/rules/*.mdc`, Kiro steering file, and so on) is documented on each integration page.

## Skills

After wiring, the summary suggests installing agentmemory's 17 skills into the same agents so they know when to call the tools:

```bash theme={"dark"}
npx skills add rohitg00/agentmemory -y
```

This is complementary to connect: connect makes the tools available, the skills teach the agent when to use them.

## Any other MCP client

The standalone stdio server works with anything that speaks MCP:

```bash theme={"dark"}
npx @agentmemory/mcp
```
