Skip to main content
Nowledge MemNowledge Mem

Connectors

Connect your AI tools to the same memory. Switch tools freely, your context stays.

Nowledge Mem connectors let the tools you actually use share the same memory. Your knowledge stays in one place; the tools come and go.

The One-Prompt Connect

The fastest way to connect a supported AI tool is one prompt:

Read https://mem.nowledge.co/SKILL.md and follow the instructions to install or update Nowledge Mem for the AI tool I am using.

Paste this into Claude Code, Grok Build, Grok Bot, Codex, Cursor, Gemini CLI, Google Antigravity, Copilot CLI, OpenClaw, Hermes, Droid, Alma, Bub, Craft Agent, CodeBuddy, Cindy, Pi, Step Code, OpenCode, Amp, Kimi Code, Kimi Work, ZCode, MiMo Code, OMP, or Claude Desktop. The agent reads SKILL.md, detects which host it is in, uses the matching setup path, verifies the connection, and tells you what to restart. Command-line hosts can usually be installed directly. App-based hosts may still ask you to confirm a marketplace step.

For remote or cross-device access, configure nmem once with nmem config client set --url ... --api-key .... In the desktop app, remote URL and key controls live under Settings → Access Anywhere.

The pages below are still useful: they describe per-tool behavior (Context Bundle or Working Memory startup, recall, distillation, save-thread paths) and the small set of surfaces that install differently (Browser Extension, Raycast, trajectory extractors). Start with the one prompt, then use the per-tool page when you need behavior details or troubleshooting.

New user?

If you just installed Mem, start with Start Here: save one memory, then run the Connect prompt above for whichever tool you actually use. Come back here for per-tool behavior reference.

The Autonomy Ladder

The same Mem server can feel very different depending on how your tool connects to it.

PathStartup contextRecall and distillThreads
Native connectorOften automatic at session start or through host lifecycleStrongest path; may be hook-driven, guided, or a mix, depending on the hostSome hosts also add real automatic capture or real transcript save
Universal Agent PluginGuided by standard Agent Plugins skillsSkills plus local MCP for compatible clients without a dedicated connectorHandoff-only unless that client also exposes its own transcript path
Direct MCPCan be guided if you add the recommended prompt blockGuided only; MCP tools alone do not create autonomySearch and read saved threads; no local transcript import
Reusable packageUsually guidedGuided by rules, skills, or promptsUsually handoff-only or explicit-only

The practical rule is simple: install the most specific Nowledge path your host supports. Use the Universal Agent Plugin for Agent Plugins-compatible clients without a dedicated connector; only fall back to generic MCP when there is no better package.

A small but important exception: some hosts work best as a hybrid. Codex is the clearest example today. Install the Codex package for automatic Context Bundle / Working Memory injection, cross-memory routing, automatic thread capture, bundled local MCP, and nmem fallback. If Codex local Memory is enabled too, keep tool-assisted tasks out of its generator; the Codex guide shows the setting. If you use remote Mem or a custom local port, override the bundled MCP endpoint in Codex config.

Nowledge FS is shared by every agent

Nowledge FS is the shared path-first layer. Humans see it as Knowledge Tree in the app; native connectors, direct MCP clients, scripts, and custom agents use the same shape through nmem fs, /fs/*, or the mem_fs MCP tool.

How Thread Sync Works

Mem has three thread-sync paths. They are designed to meet at the same saved thread, not create copies.

PathWhen it runsWorks with remote Mem?Best for
Desktop auto-syncThe Mem app watches supported local transcript storesOnly when the transcripts are on the same machine as MemSame-machine background capture
Connector hooksThe AI tool runs a hook or plugin at session end, before compaction, or after turnsYesKeeping new work current
Historical importYou run nmem t sync --from ... to preview and backfill older sessionsYesBringing past local sessions into Mem

The important boundary is where the transcript lives. If Mem runs on another machine, that server cannot scan your laptop's ~/.codex, ~/.claude, ~/.gemini, ~/.pi, Kimi Work runtime, or OpenCode database. Run the connector or nmem t sync on the machine where the AI tool runs; it will upload to your local or remote Mem server using the same nmem client config.

These paths use the same source names and stable thread IDs. For example, Claude Code imports land in claude-code-<sessionId> whether they came from the desktop watcher, the Claude Code hook, or a historical nmem t sync run.

If an import stops halfway through, run it again. Historical sync previews first, processes sessions one by one, and reruns append with deduplication instead of duplicating messages.

Choose Your Path

Nowledge Mem has multiple connector options, but the first decision is simple: use a dedicated native connector when your tool has one. Only drop to shared packages, direct MCP, CLI, or import flows when there is no tool-specific path.

For most people, the decision tree is:

  1. If your tool has a dedicated Nowledge connector, install that.
  2. If your work mainly happens in ChatGPT, Claude, or Gemini on the web, install the browser extension.
  3. If it supports Agent Plugins but does not have a dedicated Nowledge connector yet, use the Universal Agent Plugin.
  4. If it supports MCP, use direct MCP unless there is a better package path, except for hybrid hosts like Codex where the dedicated package and MCP are meant to be used together.
  5. If it supports shared skills or prompts but has no MCP tool surface, use a reusable workflow package.
  6. Use the CLI when you want manual commands, scripts, or local automation.
If you use...Recommended pathConnector typeWhy
Gemini CLIGemini CLI extensionNative connectorDedicated extension with bundled MCP, hooks, commands, skills, and real session import before compression or exit
Google AntigravityGoogle Antigravity pluginNative connectorDedicated plugin contributed by abn with startup context, bundled MCP, skills, lifecycle hooks, offline retry, and real Antigravity transcript capture
Claude CodeClaude Code pluginNative connectorDedicated plugin with hooks, slash commands, Context Bundle / Working Memory startup, and automatic session capture
Grok BuildGrok Build guideNative connectorCoding-agent plugin path with startup context, memory guidance, and automatic local transcript capture through nmem
Grok / Grok BotGrok connector guideRemote MCP connectorThe same public OAuth MCP connector works in Grok conversations and Bots; automatic full-thread capture is not claimed
Claude CloudClaude Cloud guideRemote MCP connectorA prefilled custom connector can call an authorized Cloud or App workspace; transcript capture remains a separate export or local-connector concern
MiniMax CloudMiniMax Cloud statusProvider approval pendingThe local MiniMax Code package is ready; do not configure the managed Cloud App until MiniMax confirms its provider and scopes
DroidDroid pluginNative connectorDedicated Factory plugin with hooks, commands, skills, and clear handoff behavior backed by nmem
CursorCursor pluginNative connectorDedicated plugin package with a session-start startup context hook, bundled MCP config, rules, skills, and clear handoff behavior
OpenClawOpenClawNative connectorDedicated plugin with tool-specific lifecycle support, recall, and capture behavior
AlmaAlmaNative connectorDedicated plugin with tool-specific lifecycle support and recall behavior
OpenCodeOpenCode guideNative connectorNative connector with Context Bundle, Working Memory, search/save tools, idle-event thread capture, pre-compaction flush, and handoff
AmpAmp guideNative connectorDedicated Amp plugin with Context Bundle, memory tools, graph expansion, command-palette actions, and agent.end thread capture
Copilot CLICopilot CLI guideNative connectorDedicated plugin with lifecycle hooks, startup context, guided recall, and capture before compaction or exit
Kimi CodeKimi Code guidePlugin + MCP + hookKimi Code loads Mem and native lifecycle hooks from the plugin manifest; nmem t sync --from kimi-code backfills older sessions
Kimi WorkKimi Work guideMCP + startup skill + importKimi Work uses a private embedded Kimi Code runtime. The connector adds Mem guidance and MCP, while nmem t sync --from kimi-work imports local Kimi Work sessions when you choose.
ZCodeZCode guidePlugin + MCP + hooksZCode-native plugin with bundled MCP, Skills, commands, startup/recall hooks, and Stop-hook transcript capture through nmem
MiMo CodeMiMo Code guideMCP + guidance + importOpenCode-derived, with nmem t sync --from mimo-code for local transcript import while a native hook package remains separate
Craft AgentCraft Agent guideMCP source + guide + importCraft workspace sources expose Mem tools and guide behavior; nmem t sync --from craft-agent imports local Craft session.jsonl transcripts
CradleCradle guideOfficial bundled pluginCradle ships the integration itself: guided Working Memory, Context Bundle, memory and thread operations, plus optional MCP registration
ArkloopArkloop guideNative Memory providerArkloop loads Working Memory and relevant recall before turns, persists source=arkloop threads, and can automatically distill them
OpticLMOpticLM guideBuilt-in thread bridge + optional MCPOptic owns direct Space and thread synchronization; add standard Mem MCP alongside it when the agent also needs recall and durable memory tools
WorkBuddyWorkBuddy guidePlugin + MCP + hookThe full WorkBuddy plugin provides startup context, memory search and bundled MCP. Its lifecycle hooks queue main-agent and subagent transcripts through nmem t capture --from workbuddy; nmem t sync --from workbuddy is for manual history import.
CodeBuddyCodeBuddy guidePlugin + MCP + hookTencent CodeBuddy Code can use a native plugin with bundled MCP, startup context, slash commands, and lifecycle hooks that sync local .jsonl transcripts through nmem t sync --from codebuddy
OMPOMP guideNative connectorDedicated OMP plugin with startup context, automatic conversation capture, skills, and nmem t sync --from omp for older sessions
LangGraphLangGraph guideAgent framework connectorIdentity-aware Python middleware that injects transient context, scopes Mem tools, and captures top-level Threads without replacing LangGraph checkpoints
Agent Plugins-compatible clients without a dedicated connectorUniversal Agent PluginStandard packagePortable Agent Plugins package with shared memory skills plus local MCP. It is the fallback for compatible clients, not a replacement for native connectors.
MCP clients without a dedicated Nowledge packageDirect MCPDirect MCPStandard tool access through one shared server config
Other coding agents that support shared skillsnpx skillsReusable workflow packageReusable memory workflows without hand-writing your own prompts
ChatGPT Web / DesktopChatGPT guideOfficial Cloud plugin / custom App MCP + browser captureInstall the official plugin for a personal or Team workspace on Nowledge Cloud; Mem on your computer uses a separate Access Anywhere / Nowledge Link connection. Full-chat capture uses the extension.
DotsDots guideCloud official plugin / App custom MCPRecall saved decisions and save selected takeaways; original-message snapshots need separate authorization.
Chrome or EdgeBrowser extensionBrowser captureCapture and distill conversations directly from the browser side panel
Terminals, scripts, or remote workflowsCLIDirect commandsUse nmem directly for search, save, automation, and supported thread import
CodexCodex guideNative connectorSessionStart context, cross-memory routing, bundled MCP, and Stop-hook thread capture shared by the desktop app and CLI
RaftRaft guideMediated multi-agent hostConnect the worker runtime and set one Mem AI Identity per worker. Mem skills/MCP work inside Raft; managed Codex execution traces are excluded from Threads.
LodyLody guideRuntime launcherConnect the AI tool Lody launches; add NMEM_AGENT_ID only when an Agent Config represents a stable role
MulticaMultica guideMulti-agent orchestratorConnect the AI tool Multica launches; for Claude Code, save Mem MCP in the Multica agent MCP settings; then add NMEM_AGENT_ID to custom env
CumoraCumora guideMulti-agent workspaceConnect the AI tool Cumora launches; use a persona instruction when Cumora does not expose per-agent env
PaseoPaseo guideMulti-agent orchestratorConnect the AI tool Paseo launches; add NMEM_AGENT_ID only when a Paseo agent is a durable role
MirasimMirasim guideMulti-agent workbenchAdd Mem as a Mirasim MCP server for its built-in agent; use dedicated Claude Code or Codex connectors for launched pane transcript capture
CindyCindy guideLocal agent hostAdd Mem as a Cindy MCP server for its built-in agent; use the launched child runtime's connector for exact transcript capture
PiPi guideNative connectorNative package with skills and automatic Pi thread sync
Step CodeStep Code guideNative connectorDedicated package with startup context, settled-turn thread capture, skills, and native JSONL history backfill
Hermes AgentHermes guideNative connectorNative memory provider with Context Bundle / Working Memory startup, pre-turn recall, and clean Nowledge tool names
Ekko AgentEkko guideMCP + local importHermes Studio's built-in Ekko Agent can use Mem MCP for context and tools; nmem t sync --from ekko imports exact local Ekko SQLite conversations as source=ekko
PromaProma guideNative connectorDesktop agent setup with MCP tools, startup context in CLAUDE.md, Proma Agent capture, Proma Chat import, and standard skills
Notes you already ownObsidian, Notion, Apple NotesLocal knowledge sourceSearch notes beside memories through AI Now on your machine
Exported or historical conversationsThreads guideImport pathImport files, exports, and past sessions into Mem

Most users only need one row

Find the tool you already use in the table above, open that guide, and ignore the rest for now.

Remote MCP Over OAuth

Use this when an AI client asks for a remote MCP URL with OAuth. Choose the host first: Grok Bot, ChatGPT, and Claude Cloud use the public /mcp address; MiniMax Cloud remains unavailable until provider approval. For a Cloud workspace use its fixed Cloud address. For an App workspace, Access Anywhere supplies that user's public address. The host connects directly to the selected workspace; Nowledge does not relay App MCP traffic through a shared gateway.

For ChatGPT, use the official plugin when your personal or Team workspace is on Nowledge Cloud. If Mem runs on your computer, follow the App connection guide with Access Anywhere or Nowledge Link. Custom connection availability depends on the account's Developer mode and workspace policy.

Use a public HTTPS endpoint

Cloud clients cannot reach localhost or a private LAN address. If your Mem workspace is hosted in Nowledge Cloud, use its public /mcp address. If Mem is running on your computer, configure Access Anywhere with a public HTTPS endpoint first.

For a hosted Nowledge Cloud workspace:

  1. Open Connectors.
  2. Copy the workspace's full Cloud MCP endpoint, including its query, for example:
https://cloud.nowledge.co/mcp?space_protocol=exact-v1

For a local desktop Mem, open Connectors → Remote MCP over OAuth, click Start setup, and copy the Access Anywhere endpoint it provides. It must be public HTTPS and end with /mcp.

For a custom ChatGPT connection (not installation of the official plugin):

  1. If the account allows custom MCP, open ChatGPT Plugins, select the plus button, then Add custom MCP server.
  2. Paste the Mem MCP endpoint.
  3. Continue through ChatGPT's connector setup.
  4. When Mem opens the OAuth approval page, approve access.
  5. In ChatGPT Web or desktop, mention @Nowledge Mem when you want ChatGPT to search Mem.

Other OAuth MCP clients use the same endpoint. The important part is that you paste the public /mcp URL from Mem, not the normal web app URL and not a private nmem_ API key.

For the full ChatGPT screenshot walkthrough, see ChatGPT Web and Desktop.

Fastest Reusable Setup For Many Coding Agents

For agent environments supported by the skills installer:

npx skills add nowledge-co/community/nowledge-mem-npx-skills

This installs reusable memory skills for startup context, search, handoff, and distillation. Your agent still decides when to use them; native connectors and MCP setup give stronger automatic behavior when your tool supports them.

Gemini CLI and Antigravity 2.0

Gemini-family agents now read global skills from ~/.gemini/config/skills. If you connected skills before this change and they do not appear in Gemini CLI or Antigravity 2.0, update the skills installer or reconnect skills from Mem so new links are written to that folder.

If your tool has its own reusable package instead of the generic skills path, use that dedicated guide. Codex, for example, should follow the Codex guide.

Prefer native connectors when available

Use the dedicated package when your tool has one: Claude Code, Grok Build, Gemini CLI, Google Antigravity, Droid, Cursor, OpenClaw, Alma, OpenCode, Amp, Copilot CLI, Pi, OMP, Hermes, or Proma. These connectors add tool-specific behavior on top of the shared memory model.

Universal Agent Plugin For Standards-Compatible Clients

If your client supports Agent Plugins but does not have a dedicated Nowledge connector, install the standard package:

https://github.com/nowledge-co/community/tree/main/nowledge-mem-agent-plugin

This package includes shared memory skills and a local Mem MCP declaration. It does not include portable lifecycle hooks, so full-thread capture remains a native-connector feature. See the Universal Agent Plugin guide for remote Mem and verification details.

Dedicated Nowledge Connectors And Full Session Capture

If you need the actual recorded session, not just a resumable summary, the path matters.

ConnectorDedicated Nowledge packageFull session captureNotes
Claude CodeYesYesNative connector with lifecycle hooks and real session import.
Grok BuildYesYesGrok Build loads the shared plugin package; hooks save coding-agent sessions as source=grok.
Gemini CLIYesYesNative extension saves real sessions on save-thread, before compression, and at session end.
Google AntigravityYesYesNative plugin hooks save local Antigravity transcript.jsonl sessions as canonical source=antigravity; older sessions still backfill with nmem t sync --from antigravity.
DroidYesNot in the connector todayNative connector exposes save-handoff. It intentionally does not claim save-thread until Droid has a real transcript importer.
CursorYesYesNative connector captures the current transcript through its stop hook; Mem desktop and nmem t sync --from cursor also import historical or missed transcripts from ~/.cursor/projects.
OpenClawYesYesNative connector captures real sessions automatically.
AlmaYesYesNative connector supports real session capture.
CodexYesYesNative connector with Stop-hook capture via nmem t save --from codex.
Copilot CLIYesYesNative connector captures the recorded Copilot session after responses, before compaction, and at session end.
PiYesYesNative extension syncs Pi conversations; nmem t sync --from pi backfills older local Pi sessions.
OpenCodeYesYesNative plugin captures after OpenCode reports idle and flushes before compaction. nowledge_mem_save_thread remains a manual fallback; nmem t sync --from opencode backfills older local sessions.
AmpYesYesNative plugin captures the current Amp thread on agent.end and exposes nowledge_mem_save_thread as an idempotent manual fallback.
Ekko AgentMCP setup + CLI importerImport-onlyEkko can use Mem through MCP. nmem t sync --from ekko imports completed local Ekko sessions from $HERMES_WEB_UI_HOME/.ekko/ekko.db; automatic post-run capture needs a Hermes Studio/Ekko trigger.
Kimi CodeKimi plugin + MCP + native hooksAutomatic after /reloadThe Kimi package loads Mem guidance, MCP, and lifecycle hooks directly from its manifest. Older sessions still backfill with nmem t sync --from kimi-code.
Kimi WorkKimi Work connector + MCPImport-onlyKimi Work does not expose lifecycle hooks today. The connector loads Mem guidance and MCP into its embedded runtime; nmem t sync --from kimi-work imports local sessions explicitly.
ZCodeZCode plugin + MCP + hooksAutomatic after plugin installThe ZCode plugin copies hook transcript_path during Stop and imports it with nmem t sync --from zcode; verify one short session after install because hook behavior depends on the active ZCode build.
MiMo CodeMCP + guidance todayImport-onlynmem t sync --from mimo-code imports MiMo Code sessions from mimocode.db; no live hook package yet.
Craft AgentCraft source + guideImport-onlyCraft uses workspace sources for MCP tools and guide behavior. nmem t sync --from craft-agent imports local session.jsonl sessions; no npm package is needed today.
CradleOfficial bundled Cradle pluginExplicit todayThe plugin can create and append Mem threads when the agent is guided to do so. Automatic session capture awaits Cradle lifecycle hooks.
ArkloopNative Arkloop Memory providerYesArkloop creates and incrementally appends source=arkloop threads with stable links and idempotency keys.
OpticLMOptic-owned thread SDKHost-ownedOptic's public SDK supports thread create, append, tail reconciliation, and delete. Optic owns when those calls run; MCP is a separate retrieval path.
OMPYesYesNative plugin captures OMP conversation branches after completed turns, before compaction, before session switches, and at shutdown. Older sessions still backfill with nmem t sync --from omp.
Hermes AgentYesYesNative memory provider captures new Hermes turns; nmem t sync --from hermes backfills older local ~/.hermes/state.db sessions.
PromaYesYesProma Agent sessions are captured by UserPromptSubmit and Stop hooks; regular Proma Chat conversations can be imported or auto-synced from ~/.proma/conversations/*.jsonl.
MirasimMCP + skills todayNoMirasim documents sessions/history and raw recordings, but not a stable transcript schema or lifecycle hook. Use dedicated child-tool connectors for Mirasim-launched Claude Code and Codex panes.
CindyMCP + skills todayNoCindy has MCP, skills, and a Ghost plugin runtime, but no verified third-party transcript import path yet. Use dedicated child-tool connectors for Cindy-launched Codex, Claude Code, Pi, and OMP sessions.
Universal Agent PluginStandards fallbackNoAgent Plugins 1.0 standardizes skills and MCP, not portable lifecycle hooks or transcript access.
Generic npx skills agentsNo dedicated runtime importerNoUse save-handoff, not save-thread. Shared skills cannot honestly promise transcript-backed import across many hosts.

Why generic skills cannot promise full session capture

Shared skills can shape prompting, but they do not control whether the host agent exposes readable session files or a stable transcript API. That is why generic npx skills uses save-handoff as the honest default, while dedicated connectors expose real save-thread behavior only when that runtime truly supports it.

For the fuller thread matrix and import paths, see Threads.

Agent Intent Control For Custom Agents

Native connectors already bundle behavior rules that teach the agent when to read Context Bundle or Working Memory, search past knowledge, or save durable insights.

Use the host's own instruction files, not plugin caches

When a host already supports user-owned instruction files such as AGENTS.md, CLAUDE.md, CLAUDE.local.md, GEMINI.md, .cursor/rules/*.mdc, or Copilot instruction files, use those as the customization layer. Treat installed plugin files as defaults, not as something you patch in place.

If you want the full host-by-host map, see Customize Connector Behavior.

If your agent does not have a dedicated plugin or extension, you should configure that intent directly.

Give The Agent A Memory Surface

Use one of these:

  • npx skills for shared skill-based behavior
  • nmem CLI for terminal-visible commands
  • MCP when the client can call tools directly

Add A Short Intent Policy

Put a policy like this in AGENTS.md, CLAUDE.md, GEMINI.md, or the system prompt:

## Nowledge Mem

Use Nowledge Mem as your external memory system.

At session start:
- Run `nmem --json context --source-app "<host>"` when identity, active space, Rules, or multi-agent behavior could matter.
- Use `nmem --json wm read` for a lightweight daily briefing or older `nmem` clients.
- If Context Bundle already includes Working Memory, do not immediately read Working Memory again.
- If the host already knows the current project, agent, or workspace space, add `--space "<space name>"` to Context Bundle, Working Memory, memory search, thread search, and save commands.
- If this agent is launched by a multi-agent orchestrator, keep `--source-app` as the AI tool being launched. In that worker process, set `NMEM_AGENT_ID="<agent id>"` so Mem can load that worker's identity.

Search proactively when:
- the user references previous work, a prior fix, or an earlier decision
- the task resumes a named feature, bug, refactor, or subsystem
- a debugging pattern resembles something solved earlier
- the user asks for rationale, preferences, procedures, or recurring workflow details

Retrieval routing:
- Start with `nmem --json m search` for durable knowledge.
- Use `nmem --json t search` when the user is asking about a prior discussion or exact conversation history.
- If a result includes `source_thread`, inspect it progressively with `nmem --json t show <thread_id> --limit 8 --offset 0 --content-limit 1200`.

When preserving knowledge:
- Use `nmem --json m add` for genuinely new durable knowledge.
- If an existing memory already captures the same decision, preference, or workflow and the new information refines it, use `nmem m update <id> ...` instead of creating a duplicate.
- Use a handoff save only when the user explicitly asks for a resumable checkpoint or handoff summary.

For Multi-Agent Orchestrators

Some orchestration tools launch another AI tool for each worker. Connect that AI tool first, then add a Mem AI Identity only where the orchestrator gives you a real per-agent boundary.

The distinction matters:

  • Raft and Multica can model named workers or agents. Use one Mem AI Identity per worker. Raft mediates its real conversation, so its managed Codex rollout is an execution trace and is excluded from Thread capture. For Multica agents that run Claude Code, save the Mem MCP config on the Multica agent so the child Claude process receives it.
  • Lody Agent Config is often a runtime preset. Use NMEM_AGENT_ID only when a config intentionally represents a stable role.
  • Cumora may expose only one computer-level daemon. If several teammates share it, use the persona bridge in the Cumora guide instead of setting one daemon-level NMEM_AGENT_ID.
  • Paseo launches Claude Code, Codex, Copilot, OpenCode, or Pi. Connect those child tools first; add NMEM_AGENT_ID only for durable Paseo agent roles.
  • Cindy runs several harnesses inside one local app. Use Cindy MCP/skills for the built-in agent, and install the launched child runtime's connector for exact transcript capture.
nmem agents upsert cindy \
  --name "Cindy" \
  --default-space onboarding \
  --instructions "Help with onboarding. Explain one step at a time."

This creates the Mem AI Identity named Cindy. Its command and environment ID is cindy. This command only creates the identity record; it does not make every Codex session use Cindy.

When the host has a real per-agent environment boundary, set one environment variable there:

NMEM_AGENT_ID="cindy"

Treat the Cindy ID as the Mem AI Identity, not as a Raft-only setting. If you later move Cindy from Raft to Multica, or switch the launched AI tool from Codex to Pi, keep the same NMEM_AGENT_ID and update only the tool connector.

That is enough when the AI Identity has a default space. Add NMEM_SPACE="onboarding" only if this specific runtime should override the identity's default space for all reads and writes.

Use the launched AI tool as source_app (codex, claude-code, opencode, pi, etc.). NMEM_HOST_AGENT_ID is only for advanced setups that need to map an immutable external worker ID such as raft:<uuid> onto a Mem AI Identity. The legacy slock:<uuid> alias remains supported. Most users should not set both NMEM_AGENT_ID and NMEM_HOST_AGENT_ID.

If you need "Cindy, but different", fork the identity deliberately into a new slug such as cindy-reviewer. Do not overload one identity with incompatible jobs just because the orchestrator UI makes it easy to reuse the same name.

If the orchestrator launches Claude Code or Codex itself, also make sure it forwards that tool's MCP config or starts the tool with the right MCP config flag. Without that, hooks and nmem CLI fallback can still work, but the agent will not get proactive MCP retrieval tools.

Thread sync follows the launched tool only when that child transcript is the real conversation. Raft is the important exception: its managed Codex rollout records inbox notices and execution activity while the human-visible replies travel through Raft's own message transport. The Codex connector skips those rollouts. Raft conversation history needs a Raft-native export, API, or hook before Mem can import it losslessly.

For platform-specific setup, see Raft, Lody, Multica, Cumora, Paseo, and Cindy.

For MCP-only agents, use the same policy but replace the commands with the tool names read_working_memory, memory_search, thread_search, thread_fetch_messages, memory_add, and memory_update.

Spaces should stay quiet

If your tool already knows the right space, pass it through quietly. If it does not, stay in the default space and do not force the user to think about spaces.

Keep The Prompt Direct

The best intent prompts are short and operational. Tell the agent exactly:

  • when to read Context Bundle or Working Memory
  • when to search proactively
  • when to use thread tools instead of memory search
  • when to add a new memory versus update an existing one
  • when handoff save is explicit-only

Model Context Protocol (MCP)

MCP is Nowledge Mem's compatibility layer for tools that speak MCP directly. Use it when your client supports MCP but does not have a dedicated Nowledge connector.

Packaged Connectors vs Direct MCP

PathUse whenExamples
Native connectorThere is a dedicated Nowledge package for your toolClaude Code plugin, Grok Build plugin, Codex package, Gemini CLI extension, OpenClaw plugin, Hermes memory provider, Proma plugin, Alma plugin, Cursor plugin, Droid plugin, OpenCode plugin, Copilot CLI plugin, Pi package, OMP plugin
Host-owned integrationThe app ships and maintains its own Nowledge pathCradle bundled plugin, Arkloop Memory provider, OpticLM thread bridge
Universal Agent PluginYour client supports Agent Plugins but has no dedicated Nowledge connectornowledge-mem-agent-plugin
Direct MCPYour client supports MCP and you want standard tool accessCursor manual config, Claude Desktop, ChatWise, GitHub Copilot
Reusable workflow packageYour agent can install shared skills or prompt packs but cannot use MCPnpx skills

How to think about MCP

Packaged connectors are still the recommended path when available. They may use nmem, MCP, tool-native hooks, or a mix internally, but users should think in terms of the connector they install, not the transport hidden underneath. For a few hosts, such as Codex, MCP is not the replacement path but the recommended companion to the package.

MCP Capabilities

  • Search memories: memory_search
  • Read Context Bundle: read_context_bundle
  • Read Working Memory: read_working_memory
  • Add memories: memory_add
  • Update memories: memory_update
  • List memory labels: list_memory_labels
  • Find saved threads: thread_search, thread_fetch_messages, search_thread_messages
  • Prompts: sum (distill durable decisions, procedures, and learnings to memory)

MCP does not import local transcript files. Use the native connector when your tool has one, or run nmem t save --from claude-code, nmem t save --from grok, nmem t save --from codex, nmem t save --from gemini-cli, or nmem t sync --from antigravity on the machine where the agent runs. This keeps capture local and works the same way for local and remote Mem.

MCP Server Configuration

System Prompts for Autonomous Behavior

For MCP-only apps to act autonomously, add these instructions to your agent's system prompt or CLAUDE.md/AGENTS.md:

## Nowledge Mem Memory Tools

You have access to Nowledge Mem for knowledge management. Use these tools proactively:

**At Session Start (`read_working_memory`):**
- Call `read_working_memory` for today's briefing
- Understand user's active focus areas, priorities, and unresolved flags
- Reference this context naturally when it connects to the current task
- If the task is a continuation, review, regression, release, or prior-decision question, follow the briefing with targeted recall instead of stopping there

**When to Search (`memory_search`):**
- Current topic connects to prior work
- Problem resembles past solved issue
- User asks about previous decisions ("why did we choose X?")
- Complex debugging that may match past root causes
- Review, release, docs-alignment, or connector-behavior questions often deserve an early search too

**When to Save Memories (`memory_add`):**
- After solving complex problems or debugging
- When important decisions are made with rationale
- After discovering key insights ("aha" moments)
- When documenting procedures or workflows
- At the end of substantial work, review whether one durable memory should be added or updated
- Skip: routine fixes, work in progress, generic Q&A
- Pass `unit_type` when you know it: `fact`, `preference`, `decision`, `plan`, `procedure`, `learning`, `context`, or `event`

**When to Update Existing Memories (`memory_update`):**
- Search before saving when the topic looks familiar
- If recall already surfaced the same decision, preference, or workflow, update that memory instead of adding a near-duplicate
- Use updates when the new information refines, corrects, or extends durable knowledge

**When to Search Threads (`thread_search` / `thread_fetch_messages`):**
- User is asking about a prior discussion or exact conversation history
- A memory result points to a source thread
- Fetch messages progressively instead of dumping long threads all at once
- Escalate to thread search only when exact prior discussion matters

This gives MCP-only apps a strong guided path. It still does not turn raw MCP into a hook-driven native connector, so prefer the dedicated package when one exists.

Browser Extension

Capture memories from supported web AI chat platforms, with auto-capture, manual distill, and thread backup.

Threads

Import and manage conversations from coding agents, exported files, the API, or the command line.

Tool Guides

Browse the setup guide that matches the product you actually use. Some are native connectors, some are built-in paths, and some are reusable workflow packages.

If you want to verify that a guide really worked after setup, use How To Know Mem Is Working.

ConnectorWhat you get
Claude CodePlugin with lifecycle hooks. Reads your briefing at start, saves at the right moment
DroidFactory plugin with startup context, routed recall, distillation, and resumable handoff summaries
CursorPlugin package with a session-start startup context hook, bundled MCP config, routed recall, distillation, and resumable handoffs
Claude DesktopOne-click extension. Search, save, and update memories in any conversation
CodexHybrid Codex path with automatic startup context, cross-memory routing, bundled MCP, and automatic Codex thread capture
OpenCodeNative connector with Context Bundle, Working Memory, search/save tools, idle-event thread capture, pre-compaction flush, and resumable handoffs
PiNative package with Working Memory, routed recall, distillation, automatic thread sync, and handoffs
Kimi CodeKimi-native package for context, recall, memory save, automatic hook sync, and older transcript import
Kimi WorkConnector for Kimi Work's embedded runtime: Context Bundle / Working Memory startup, MCP memory tools, and explicit local transcript import
ZCodeZCode-native plugin with MCP, Skills, commands, startup/recall hooks, and Stop-hook transcript capture
MiMo CodeMCP-backed memory, project guidance, and on-demand transcript import for the Xiaomi MiMo coding agent
CradleOfficial bundled plugin for guided Working Memory, Context Bundle, memory and Thread operations, plus optional MCP registration
ArkloopNative Memory provider with automatic Working Memory, recall, Arkloop Thread capture, and optional distillation
OpticLMOptic-owned Space and Thread bridge, with standard Mem MCP available as the separate agent-retrieval path
OMPNative startup context, automatic thread capture, skills, and on-demand backfill for the Pi-derived OMP coding agent
Hermes AgentNative memory provider for cross-tool knowledge: Context Bundle / Working Memory startup, pre-turn recall, save guidance, and thread search tools
Ekko AgentHermes Studio built-in agent: MCP provides context and memory tools, while nmem t sync --from ekko imports exact local SQLite conversations
PromaDesktop agent setup with MCP tools, startup context in CLAUDE.md, Proma Agent capture, Proma Chat import, and standard skills
MirasimMulti-agent workbench support through MCP and reusable skills; Claude Code and Codex panes keep their dedicated transcript connectors
CindyCindy host support through MCP and reusable skills; launched Codex, Claude Code, Pi, and OMP sessions keep their dedicated transcript connectors
Gemini CLIExtension-native context, bundled MCP, hooks, commands, and skills backed by nmem
Grok BuildCoding-agent plugin path with startup context, memory guidance, and automatic local session capture
AlmaPlugin with auto-recall and optional auto-capture
OpenClawFull setup guide with lifecycle and regression testing
RaycastFour commands: search, add, read Working Memory, and edit it locally
DeepChat · LobeHubBuilt in. Toggle on in settings, no MCP config required

Related guides: Claude Code · Grok Build · Droid · Cursor · Claude Desktop · Codex · OpenCode · Pi · Kimi Code · Kimi Work · ZCode · MiMo Code · Cradle · Arkloop · OpticLM · WorkBuddy · CodeBuddy · OMP · Hermes Agent · Ekko Agent · Proma · Mirasim · Cindy · Gemini CLI · Alma · OpenClaw · Universal Agent Plugin · Raycast · Other Chat AI

LLM-Friendly Documentation

Every page on this docs site is available as clean Markdown for AI agents and LLMs. Request any docs URL with the Accept: text/markdown header:

curl -H "Accept: text/markdown" https://mem.nowledge.co/docs/integrations
EndpointWhat it returns
/llms-full.txtAll documentation pages concatenated into one file
/llms.mdx/docs/<slug>A single page as Markdown

No authentication required.

API

RESTful API for programmatic access.

Command Line Interface (CLI)

The nmem CLI provides terminal access to your knowledge base.

Installation

PlatformInstallation
macOSSettings → Preferences → Developer Tools → Install CLI
WindowsAutomatically installed with the app
LinuxIncluded with deb/rpm packages

Quick Start

# Check connection
nmem status

# Search memories
nmem m search "project notes"

# Create a memory
nmem m add "Important insight" --title "Project Learnings"

# Save Claude Code/Grok Build/Codex/Gemini sessions
nmem t save --from claude-code
nmem t save --from grok
nmem t save --from codex -s "Summary of what was accomplished"
nmem t save --from gemini-cli -s "Summary of what was accomplished"

AI Agents

# JSON output for parsing
nmem --json m search "API design"

# Chain commands
ID=$(nmem --json m add "Note" | jq -r '.id')
nmem --json m update "$ID" --importance 0.9

Command Reference

CommandAliasDescription
nmem statusCheck server connection
nmem statsDatabase statistics
nmem memoriesnmem mMemory operations
nmem threadsnmem tThread operations

Full Documentation

Run nmem --help or see the CLI Reference on GitHub.

Built something?

Share your connector on GitHub or Discord.

Next Steps

On this page