Use memory across Codex, Claude, Cursor and DSH

Connect one memory account and continue work in another project or agent.

Before you start

You need an IAM.Identity account, permission to use IAM.Mind and the IAM.Mind connector installed for your client. This local package targets macOS ARM64. Memory belongs to the account: all clients must use the same account and environment. Staging and production contain separate data.

Private chats are excluded from history. Connecting another client does not undo privacy or transfer another account’s memory. MEMORY.md, CLAUDE.md, AGENTS.md and old agent-memory blocks are not imported automatically. Historical memory can be moved only through the explicit opt-in workflow below.

IAM.Identity sign-in connects memory. The client configures its model and route separately. If Claude Code already uses IAM.Router, keep that profile: signing in to an Anthropic model account is not an IAM.Mind requirement.

Illustrative example: Также искать в прошлых чатах по запросу
Illustrative example: Также искать в прошлых чатах по запросу
Illustrative data. Available controls depend on your edition and permissions.
  1. Также искать в прошлых чатах по запросу
  2. Автоматически сохранять итоги задач
  3. Сохранять мои факты и решения без команды «запомни»
  4. Распознавать смысл диалога через IAM.Router
  5. Модель для смыслового распознавания
  6. Передавать полезные выводы другим моим чатам
  7. Подключить через IAM.Identity →

Install the plugin

  1. Download the IAM.Mind installer for macOS 13 or later on Apple Silicon. Open the DMG and launch IAM.Mind Installer.
  2. Select Cursor, Codex, or Claude Code and click Install and connect. Codex and Claude Code require their standard codex or claude CLI to be installed first. The installer runs the installation commands for you.
  3. On first connection, a browser opens for you to choose memory permissions and sign in to IAM.Identity with an account that has pilot access. The installer keeps an existing connection. Connect IAM.Mind reopens sign-in if needed.
  4. Restart the selected client. In Codex, review and trust the IAM.Mind handlers in hook settings. In Cursor, start a local chat and check Customize → iam_mind_cursor. In Claude Code, open a new session.

If the installer detects a different Cursor installation, move the old IAM.Mind folder outside plugins/local and run the installer again. If the DMG is damaged, download it again and verify the installer SHA-256.

Illustrative example: Choose a client
Illustrative example: Choose a client
Illustrative data. Available controls depend on your edition and permissions.
  1. Choose a client
  2. Install and connect

Manual installation

  1. Download the IAM.Mind 0.3.20 DMG for macOS on Apple Silicon. If macOS reports a damaged file, download it again and verify its SHA-256 checksum.

  2. Open the DMG and use Finder to copy IAM.Mind Plugins to Documents. When updating, move the existing folder to a backup first. Keep the new folder after ejecting the disk image because it serves as the local plugin source.

  3. Set the folder path in Terminal:

    package="$HOME/Documents/IAM.Mind Plugins"
    
  4. Install the plugin in your client:

    Codex (the codex command must be available in Terminal):

    codex plugin marketplace add "$package"
    codex plugin add iam-mind@iam-mind-official
    "$package/plugins/iam-mind/bin/iam-mind-connector" install-codex-hooks
    

    Restart Codex Desktop and review the three IAM.Mind handlers in hook settings before trusting them. If IAM.Mind is already installed through a different marketplace, disable that instance and check the hook list for duplicates.

    Claude Code (the claude command must be available in Terminal):

    claude plugin marketplace add "$package"
    claude plugin install iam-mind@iam-mind-official
    

    Cursor:

    mkdir -p "$HOME/.cursor/plugins/local"
    target="$HOME/.cursor/plugins/local/iam-mind"
    test ! -e "$target" && ditto "$package/cursor/iam-mind" "$target"
    

    If the destination already exists, move the old plugin outside plugins/local and copy again. Restart Cursor and enable iam_mind_cursor in Customize.

  5. Open connection setup and sign in to IAM.Identity with an account that has pilot access:

    "$package/plugins/iam-mind/bin/iam-mind-connector" setup codex production
    

    This sign-in works across all three clients. If you need access, apply for the pilot. After signing in, open a new chat and ask IAM.Mind to retrieve context for your task. If the connection fails, check account access, MCP status, and hook settings in your client.

Connect the clients

  1. Open the supplied Connect IAM.Mind.command. Select Также искать в прошлых чатах по запросу to continue work across projects and agents. Confirm your choice and sign in through IAM.Identity normally.
  2. Automatic outcome capture is a separate choice. It stores short verified results, not the entire transcript. Sharing useful lessons is also separate.
  3. In Codex, enable the installed IAM.Mind plugin and inspect its native hooks. If trust is requested, approve only the displayed IAM.Mind handlers.
  4. In Claude Code, enable the installed iam-mind plugin. This applies to Claude Code and its compatible desktop client; ordinary Claude Chat is a different client.
  5. In Cursor, open Customize → the local Iam Mind plugin → Configure iam_mind_cursor. Enable this MCP and the memory rule. Cursor package 0.3.20 uses the separate iam_mind_cursor server so a Claude Code import cannot replace its connection. The imported iam_mind server belongs to Claude Code. The Cursor connector preserves the current chat’s provenance.
  6. For DSH Desktop, use the shared-account profile supplied with the connector. iam-mind-mcp and iam-mind-dsh-memory must be running in the plugin list. An old profile using a separate pilot key does not connect account history.
  7. After a connector update, open a new chat or reload the relevant client so it reads the current tools. Ordinary use requires no session numbers, Kubernetes keys or tokens in messages to the agent.

Import historical memory

Import is off by default. It is intended for memory created before IAM.Mind was connected and supports Claude, Codex, Cursor, Hermes, Grok, DeepSeek Harness/DSH, and a compatible JSONL export from another agent. An operator selects a concrete folder and project in a manifest with consent: true; an arbitrary home folder, symlinks, and ordinary agent transcripts are not read. Claude’s MEMORY.md index is skipped to avoid duplicating its individual topic blocks.

Run scripts/iam-mind-external-memory-import.mjs plan first and inspect the content-free receipt for file, fragment, and SHA-256 duplicate counts. The operator then runs apply on staging with the exact IMPORT-EXTERNAL-MEMORY confirmation. Reruns are safe: an exact source version is checked before every write and a matching hash is not added again. Production import requires green staging regression and a separate release decision.

After import, run benchmark with the exact READ-EXTERNAL-MEMORY confirmation. The report counts each source block once and contains top-1, top-5, p50/p95/max latency, wrong-project contamination, and hashes for blocks unavailable through IAM.Mind. No fact text is written to the receipt. Historical records are marked unverified (confidence=0.5); feedback and explicit invariant records receive different retrieval priorities but cannot bypass consent, ACL, or project scope.

Verify a handoff between clients

Use educational data. In the first client, ask: “Remember this verified decision: the educational North project uses signed builds; its instructions are in scripts/build-signed.sh.” Wait for persistence confirmation.

In another project and client, ask: “Find the earlier signing instructions for the educational North project.” The result must retain the original text, source agent and provenance. Before running a command, check that its file exists and applies to the current project version.

A normal request also works, such as “Build the signed application as we did for the educational North project.” You should not need to repeat the entire recipe. The agent should retrieve permitted history before taking actions that depend on it. Original decisions and instructions take priority in the answer, including when you ask to find a recipe “in memory”. Reports describing an earlier retrieval remain available; ask explicitly about memory verification to find those reports.

Package 0.3.20 performs one authenticated server exchange per context search. It checks current access on every read. Updating the connector does not change an existing chat’s history or sharing choices; the service must support this version. In DSH, the adapter directs the agent to one visible history tool call, without an additional hidden preload. The agent should reuse that evidence for the same question; a different information need may require another search.

Corroborated facts in normal answers

Retrieval returns original records together with relevant consolidated facts. A fact requires several reviewed independent sources; an ordinary note or neural retrieval score does not give it verified status. If a response is shortened, the agent can read the source continuation without repeating the history search. Access withdrawal and forgotten evidence are checked on subsequent reads.

Compare retrieval layers in staging

This path is only for a qualification operator who has a separate credential with the evaluation role. Add a layers object to mind_context or POST /v1/agent/context, for example {"neural":false,"consolidation":true}. A false value excludes that layer before its encoder call or consolidated-fact read and returns disabled_by_request as its status. An omitted member remains enabled but cannot activate a missing or unconfigured layer.

An ordinary user credential cannot select layers and receives 400 layers_not_permitted. Remove layers and retry the normal request. Never place credentials in agent messages or documentation. Disabling a layer does not change the account, permitted chats, RLS or source evidence; it exists only for comparable qualification arms.

Check nightly consolidation

In the connected cabinet, open «Знания» (Knowledge). A «Ночная консолидация» (Nightly consolidation) card above the graph shows the latest cycle time and counts of created, refreshed, and dropped derived facts. completed only means the bounded cycle finished; it does not mean that proposals were automatically verified. degraded needs an operator to inspect the reason, while halted keeps execute mode stopped until the anomaly is resolved.

Open «Предложения» (Proposals) → «Ожидают ревью» (Awaiting review) to see relations that already have at least two independent sources. The queue does not grant verification authority: the separate reviewer still makes the decision. «На графе» (Show on graph) is enabled when the assertion is present in the current graph snapshot; otherwise refresh the graph or retry later. If the queue cannot load, check the connection and sign in again—never provide a reviewer credential to the browser.

When the card contains a «Темы» (Topics) line, the server has built text-free topic prototypes from verified facts. Shadow mode records agreement only and does not change result order. Withdrawing consent or forgetting a source immediately removes every affected prototype; having no topic until the next successful cycle is a safe fallback, not a loss of canonical memory.

Understand capture and retrieval

With automatic capture enabled, a new verified decision is preserved even after a self-contained task. You do not need to add “remember this” or name a memory tool. Skipping retrieval of earlier context does not disable capture of a new decision; transient chatter, speculation and secrets are excluded. Before an explicit fact write, package 0.3.20 can prepare a retrieval projection: one atomic assertion, exact subject and relation, evidence-supported name variants, and an explicit project plus stable repository slug. These fields improve lexical and scoped retrieval without changing the source chat, owner, access or provenance. feedback is reserved for an explicit correction or failed-approach lesson; invariant is reserved for a verified must/never rule. The agent must omit unknown scope and aliases instead of inventing them. Preparation is skipped when the user requests verbatim storage.

A useful record contains one verifiable claim and the literal anchors a future question will use: product, decision, version, file or repository names. Independent claims are split only when each write is authorized; they must not be duplicated in a way that looks like independent corroboration. Status, blockers and next step remain structured checkpoints rather than ordinary facts.

Version 0.3.20 stores every task checkpoint with a stable task label, current status, blockers, next step and verified evidence. The agent creates a new checkpoint when a material blocker appears, clears or changes instead of waiting for the final answer. A later query using the task title can therefore retrieve its status; an explicit empty blocker list is distinct from missing measurement. To verify the reverse handoff, wait for delivery in the first client, open a new chat in another client and ask an ordinary question about the decision without repeating its answer. Check that the retrieved record preserves its original agent and provenance.

Queued means a local outbox. Delivered requires a server persistence receipt. Offline items remain queued for later delivery to the same account. A successful tool call with no result does not establish that the account has no memory.

History retrieval considers all permitted nonprivate chats regardless of age or client. Budgets limit matching candidates and returned excerpts. Project names and exact identifiers take priority; search scores do not prove an instruction is correct.

Recover

  • Check the account, environment, history choice and delivery confirmation.
  • If sign-in expired, reopen Connect IAM.Mind.command. Never paste tokens into chat.
  • If tools are missing, check that the plugin is enabled and open a new chat.
  • After an update, an older MCP process may retain a sign-in error. Open a new chat or reload the client first; reconnect normally if the error remains.
  • If Cursor shows Connected but a call times out waiting for a connection, open Configure iam_mind_cursor and turn only this MCP off and back on. Check for package 0.3.20 and open a new chat. A context-signature error when using the imported iam_mind requires selecting the Cursor server; there is no need to disable other plugin imports or signature verification.
  • Calling a tool requires a working client model and MCP permission. A Cursor message that the service is unavailable in your region stops verification before memory is called; changing the IAM.Mind account does not resolve that error.
  • If DSH shows only pilot tools, switch to the supplied shared-account profile first. After updating the adapter, wait for other tasks to finish, select Harness → Restart Harness in DSH Desktop and open a new chat. Older pilot records do not migrate automatically. An ordinary question such as “which option did we choose?” should use authorized history, not just this chat.
  • Include the project name or exact identifier. A partial result does not prove that missing knowledge was deleted.

Say “Make this chat private” to narrow access, “Do not use memory” to opt out of reads, or “Do not remember this” to opt out of capture. Making a chat private does not erase copies previously saved explicitly into shared memory.