Skip to main content
Devin has three surfaces and agentmemory wires two of them directly. Devin CLI runs on your machine, so it reaches the local memory server; Devin cloud sessions run on Cognition’s infrastructure and need a network-reachable deployment.

Devin CLI

1

Start agentmemory

2

Wire MCP and hooks

The adapter merges the MCP entry into the user config and installs six native auto-capture hooks. Existing hooks in that file are preserved.
3

Verify

agentmemory should be listed. Inside devin, /hooks shows the loaded hooks and their source file.

What connect installs

Devin CLI also reads Claude Code’s config locations. If you have already run connect claude-code, agentmemory appears in devin mcp list without any Devin-specific wiring — but the Claude hook manifest’s capitalized tool matchers (Edit|Write|Read) never match Devin’s lowercase tool names, so run connect devin --with-hooks for capture that actually fires.

Devin CLI plugin

The bundled plugin registers all 17 skills as /agentmemory:<skill> slash commands plus the MCP server:
devin plugins info agentmemory lists the installed skills. The manifest lives at plugin/.devin-plugin/plugin.json.
Devin plugin hooks cannot fire SessionStart or SessionEnd, so the plugin alone never registers or closes sessions. Pair it with connect devin --with-hooks for full lifecycle capture.

Devin cloud sessions

Cloud sessions run on Cognition’s machines, so localhost:3111 is unreachable. Host agentmemory first (see Deployment), then add it as a custom MCP:
  1. Settings → Connections → MCP servers → Add a custom MCP.
  2. Transport STDIO, command npx, args -y @agentmemory/mcp@latest.
  3. Environment variables: AGENTMEMORY_URL pointing at your deployment, AGENTMEMORY_SECRET for the bearer token (store it in Devin Secrets rather than inline).
  4. Save, then Test listing tools — all 54 tools should appear.
Pin @latest in the args: a bare npx -y @agentmemory/mcp can serve a stale cached copy that exposes only the 7-tool local fallback set.
Last modified on August 16, 2026