[Purpose] SAIHM provides portable long-term memory for AI agents. AI assistants typically forget everything once a session ends; SAIHM lets an assistant's memory persist and follow the user across different assistants, different models, or different vendors' products. The memory belongs to the user's key, not to a particular computer or platform.
[Key Capabilities]
- Encrypted by default at rest: every memory is encrypted before it leaves the user's machine, and SAIHM stores only ciphertext, with no extra toggle needed. The algorithms used include ML-DSA-65, AES-256-GCM, and ML-KEM-768.
- Portable identity: the key is created on the user's machine and is never sent out, so others cannot read the memories. The setup process shows where the key file is saved; upgrading to a paid plan carries over the same key and all memories.
- Cross-device and hosted environments: the two values SAIHM_IDENTITY and SAIHM_IDENTITY_PASSPHRASE can be exported via export-identity and configured as environment variables or secrets in the target environment, so that memories follow to a second computer or a hosted agent environment; the key file can also be copied directly.
- Sharing and revocation: memories can be shared with others' agents, and a share can be given an expiry time or be revoked.
- Crypto-shredding: executing "forget" destroys that memory's key, making stored copies permanently unreadable; this is how SAIHM handles GDPR Article 17 erasure requests, and the operation is irreversible.
[How to Use]
- Getting started: a single command lets you start for free, with no credit card and no wallet, requiring only a browser and a one-time GitHub account login to confirm you are a real person. The command creates a key locally and gives a link and a short code; open the link, log in to GitHub, enter the short code and approve, and the command completes automatically and displays where the key is saved. Those without a GitHub account can visit https://saihm.net/free,用 Log in with Google to get a new key, save it as a file readable only by yourself, and point SAIHM_MASTER_SECRET_FILE to that file in the client settings; never paste the key itself into the settings file.
- Client integration: SAIHM runs as a local MCP server and requires Node.js 20 or later. The official documentation provides configuration blocks for Claude Code, Claude Desktop, Codex CLI, OpenAI Agents SDK (Python), Gemini CLI, Antigravity CLI, Grok Build, GitHub Copilot in VS Code, and other MCP clients such as Cline, Cursor, and Windsurf. After configuration, restart the client and say "Recall my SAIHM memories.".
- It is recommended to first run npx -y @saihm/mcp-server-pro --version to pre-download the package, so the client starts faster the first time; be careful to keep the settings file as valid JSON, avoiding trailing commas or non-breaking spaces copied from emails/web pages; keep the longer startup timeout setting in the configuration.
- Interaction examples: "Recall my SAIHM memories before you start." "Remember that I prefer short answers and no preamble." "Set an invariant to doubly confirm before any SAIHM forget action." "Share that note with my colleague's agent until 5:00 pm today." "How much of my SAIHM allowance is left?" "Forget everything I told you about the Henderson account." Each tool carries labels for the AI to read, indicating which are read-only and which one destroys data, so that the host can ask for confirmation before destructive operations.
- Agent frameworks: when building agents in Python, you can use the saiHM-adapters Integrate the same encrypted memory into mainstream frameworks; each adapter likewise requires Node.js 20 or above and performs encryption within the user process, with the Python side not holding the key.
- Hosted environments: Hosted sessions usually start on a fresh machine and discard the home directory at the end, so instead you should bring in identity from the environment, configure the above two exported values through the environment's own settings (rather than chat), and start a new session, because the environment reads variables at the start of a session. The server runs locally within the session and needs access to saihm.net as well as npm for npx. Regarding the specific configuration for Claude Code on the web and GitHub Copilot cloud agent, the official documentation provides their respective environment variables, network access, and secret mapping methods.
[Use cases] Individuals and teams that need to maintain assistant memory across sessions, across models, and across vendors; users with data confidentiality requirements who want the server side to see only ciphertext; developers who need to maintain the same identity and memory in hosted agent environments; organizations that need to provide data erasure capabilities for compliance requirements (GDPR Article 17); and teams building agents in frameworks such as Python and wanting to reuse the same encrypted memory.
[Limitations] Requires Node.js 20 or above; the key is kept by the user themselves, and SAIHM cannot regenerate one for the user; "forget" is irreversible; in hosted environments, users can read environment variables, and the official recommendation is to use an environment dedicated solely to oneself and a trusted repository. The official documentation also states that, as of 2026-06-18, Google will no longer provide services for personal Google accounts in Gemini CLI; as of October 2026, Gemini CLI can still use a Gemini API key or a Gemini Code Assist Standard/Enterprise license; the configuration of each client may change as vendors adjust. Regarding specific billing standards and prices, the materials do not currently provide them.