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-pluginThe 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 devinVerify local conversation capture
nmem status
nmem t sync --from devin --limit 3
nmem t sync --from devin --apply
nmem t list --source devinThe 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 --applyDEVIN_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-acmeRoll 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
/hooksin Devin to inspect loaded lifecycle hooks. - Run
nmem statusin the same environment as Devin. - Use
--session-dir /path/to/sessions.dbfor a nonstandard local data path. - A 403 from Cloud sync means the service user lacks
ViewOrgSessionsfor that organization.
