Skip to main content
Nowledge MemNowledge Mem

Devin

Connect Devin CLI, Desktop, and enterprise Cloud conversations to Nowledge Mem.

Nowledge Mem's dedicated Devin plugin combines MCP, memory skills, and lifecycle capture. Local history comes from Devin's own active message chain; enterprise Cloud history comes from Devin's read-only v3 API.

Install the native plugin

Devin's native plugin system is currently a closed beta. Once Cognition enables it for your account:

devin plugins install nowledge-co/community#nowledge-mem-devin-plugin

The plugin is one package for Devin CLI, Desktop, and Cloud. Its bundled MCP entry connects to Mem on the same machine and contains no credentials.

For a remote Mem server, generate a user-owned MCP entry and add it in Devin Settings > Connections:

nmem config mcp show --host devin

Verify local conversation capture

nmem status
nmem t sync --from devin --limit 3
nmem t sync --from devin --apply
nmem t list --source devin

The preview is read-only. The second command imports all discovered sessions. Rerunning it is safe: stable session and message IDs append only new messages.

Mem follows Devin's selected message chain. It excludes abandoned branches, tool payloads, and hidden reasoning. Child and subagent sessions are separate Threads instead of being flattened into the parent.

Sync Devin Cloud for an organization

Create a dedicated Devin service user with only the organization-level ViewOrgSessions permission. Store its key in the sync environment, never in the plugin repository or Devin's managed plugin manifest:

export DEVIN_API_KEY="cog_..."
export DEVIN_ORG_ID="your-organization-id"

nmem t sync --from devin --limit 10
nmem t sync --from devin --apply

DEVIN_API_BASE_URL is optional for dedicated enterprise deployments. Set it to the full v3 API base (for example, https://devin.example.com/v3); it must use HTTPS. When both Cloud variables are absent, the same command reads local Devin CLI/Desktop history. If only one is set, Mem fails closed.

Devin user_id and service_user_id are recorded only as provenance. Choose the Nowledge identity and Space explicitly:

nmem t sync --from devin --apply \
  --agent-id research-agent \
  --space-id customer-acme

Roll out to an account

Account administrators can require the package with Devin's managed plugin manifest:

{
  "requiredPlugins": [
    {
      "source": "git-subdir",
      "url": "https://github.com/nowledge-co/community.git",
      "path": "nowledge-mem-devin-plugin"
    }
  ]
}

Cloud command hooks run only while a session machine is alive. Devin Cloud does not run SessionStart or SessionEnd, so the v3 API remains the authoritative backfill and reconciliation path.

Troubleshooting

  • Run /hooks in Devin to inspect loaded lifecycle hooks.
  • Run nmem status in the same environment as Devin.
  • Use --session-dir /path/to/sessions.db for a nonstandard local data path.
  • A 403 from Cloud sync means the service user lacks ViewOrgSessions for that organization.

On this page