Build
Add a memory layer your agent already speaks.
SAIHM is an enterprise-class, sovereign, encrypted, sharable, persistent memory protocol for AI agents. Add it beside the memory you use today, in one command: your agent keeps what matters across sessions, models and vendors, on fewer tokens, and you can prove what it remembers, shares and erases.
New to SAIHM? Watch the six-minute overview, or read the manual (PDF).
At a glance
Memory that outlives the session and the model.
Adding SAIHM is not a switch. Keep your vector store, your RAG pipeline and your framework’s own memory.
How it compares with what you have
Built-in chat memory is consumer-class: it lives inside one vendor’s product and stops at that product’s edge.
Minutes to add, nothing to migrate, and free to start with a one-time lifetime allowance and no card.
Add it in a minute
If your agent speaks MCP, adding SAIHM is a config change, not a rewrite. You need Node.js 20.19 or later. In Claude Code, one command adds SAIHM for all your projects:
claude mcp add --env SAIHM_ENDPOINT_URL=https://saihm.net/mcp --transport stdio --scope user saihm -- npx -y @saihm/mcp-server-pro
For Claude Desktop, Codex CLI, Gemini CLI, GitHub Copilot, Cline and other MCP clients, copy that client’s block from the package README and restart the client. Then tell your agent “Join SAIHM” to activate your free memory: no card, no crypto.
Want to see it work first? Every demo runs offline against an included blind sandbox, with no key and no account:
git clone https://github.com/SAIHM-Admin/demo-cross-model-memory
cd demo-cross-model-memory
npm install
node demo.mjs
Memory that outlives the session and the model.
- Memory that outlives the session and the model. Your agent keeps decisions, preferences and project facts from one session to the next. One SAIHM identity serves every model and agent type you run; when a better model arrives, you switch and the memory stays.
- A +610% token economy improvement. Your agent recalls a small, bounded set of memories instead of re-sending the whole history: 85.9% fewer input tokens over an 18-turn session in the open benchmark. Savings vary by workload.
- Memory a security review can accept. Memories are encrypted and signed inside your agent’s own process, and the hosted service never holds a key that can open one. Share a single memory with another agent, with an expiry, and revoke it at any time. Erasure is anchored on a public chain.
Adding SAIHM is not a switch. Keep your vector store, your RAG pipeline and your framework’s own memory.
Adding SAIHM is not a switch. Keep your vector store, your RAG pipeline and your framework’s own memory. Add SAIHM beside them for what has to last, move between models, be shared with another agent, or be provably erased. Your agent decides what goes where.
Taking it out is just as small: remove the one entry you added.
Built-in chat memory is consumer-class: it lives inside one vendor’s product and stops at that product’s edge.
- Built-in chat memory is consumer-class: it lives inside one vendor’s product and stops at that product’s edge. SAIHM memory goes with your agent across models, vendors and hosts.
- A store you run yourself (a vector database, files, a cache) holds the data, but you build encryption, sharing, expiry, audit and erasure around it. SAIHM brings those as protocol guarantees behind one interface.
- Re-sending the transcript works until the context window fills, and the bill grows with every turn. Bounded recall keeps each turn small.
Minutes to add, nothing to migrate, and free to start with a one-time lifetime allowance and no card.
Minutes to add, nothing to migrate, and free to start with a one-time lifetime allowance and no card. If SAIHM earns its place, one command upgrades the same key to a monthly plan, and every memory stays. If it does not, you remove one entry. See pricing.
Any MCP host, including Claude Code and Cursor.
Any MCP host, including Claude Code and Cursor. Drop-in Python adapters for LangChain, LlamaIndex, LangGraph, CrewAI and AutoGen, plus a core Python client; the same store opens from all of them. A self-hostable reference server, npx @saihm/mcp-server, covers custodial deployments.
- Do I have to replace my current memory?
- No. SAIHM runs beside whatever your agent already uses. Start with the memories that have to last, travel between models or be shared, and leave the rest where it is.
- Will it lock me in?
- The client is Apache 2.0 and the protocol is the contract: any agent that runs local MCP servers can add SAIHM. Your key is saved on your own machine.
- Who can read my memories?
- Only ciphertext reaches the hosted service, which never holds a key that can open a memory. For fast recall, the standard setup also keeps an unencrypted copy on your device that only your user account can read.
- What does it cost?
- Free to start, with a one-time lifetime allowance and no card. Then a monthly plan:
npx -y @saihm/mcp-server-pro upgrade PROupgrades the same key, and every memory stays. See pricing. - Can I try it without an account?
- Yes. The demos run offline against an included sandbox, with no key and no account, or ground a live answer with your own model key.
- Where is the reference documentation?
- With the code: install blocks for every client, the tool reference and the changelog are in the package README and on GitHub. The protocol and identity model are on /docs.
Runnable demos: one per model, plus cross-model memory and every framework adapter.
- Runnable demos: one per model, plus cross-model memory and every framework adapter.
- Agent Skills that teach your agent to use SAIHM well.
- The decision matrix: whether you need a memory layer at all, and the simpler answer where one exists.
- Quickstart, documentation and pricing.