saihm-crewai — memory for CrewAI crews
Portable memory for CrewAI crews. A CrewAI memory StorageBackend that gives your whole
crew one memory, encrypted on your machine and portable across models and frameworks. Any
memory can be erased for good.
saihm-crewai is now the CrewAI adapter inside the consolidated
saihm-adapters package. Installing it pulls
saihm-adapters[crewai]. This package ships no code of its own.
New to SAIHM? Watch the 6-minute overview (captions and transcript). Prefer to read? The SAIHM manual (PDF) is a decision-maker's guide to SAIHM.
Encrypted at rest, by default. Every memory is encrypted on your own machine before it
goes anywhere, and SAIHM stores only that ciphertext. Nobody else can read your memories —
not the storage, not SAIHM. With your key in a key file, Python never reads the key. With
the default free-join key file, the client also keeps a local copy of your memories, so
recall is fast. That copy is not encrypted, and only your user account can read it. Setting
SAIHM_RECALL_CACHE=0 in every app that uses this key, MCP hosts included, stops new
copies. A copy written earlier stays, and delete and reset on SaihmStorageBackend no
longer update it. To remove it, delete ~/.saihm/recall.*, or recall.* in SAIHM_HOME if
you set it; with SAIHM_RECALL_CACHE_PATH, delete that file and its .lock and .tmp.*
files too (details).
Start free — one command
npx -y @saihm/mcp-server-pro free-join
No card and no wallet. The command creates your key on this machine and shows a link and a short code. Open the link, sign in to GitHub, enter the code and approve; the command then finishes by itself and shows where your key is saved. If a join is interrupted, join again on the same machine: it reuses the key it already created. The saihm-adapters README has the details, including how to start without a GitHub account.
Add SAIHM to your crew
pip install saihm-crewai # -> installs saihm-adapters[crewai]; needs CrewAI >= 1.15 and Node.js >= 20 on PATH
Register the backend once at start-up, then ask for SAIHM storage:
from crewai import Memory
from crewai.memory.storage.factory import set_memory_storage_factory
from saihm_adapters import SaihmStorageBackend
set_memory_storage_factory(lambda spec: SaihmStorageBackend() if spec == "saihm" else None)
memory = Memory(storage="saihm") # give it to a crew: Crew(agents=..., tasks=..., memory=memory)
Return None for other storage specs, as above, so CrewAI's own choices still apply to them.
With no SAIHM_ENDPOINT_URL set, the backend uses a local sandbox whose memory ends with the
process, so you can try it with no sign-up. To go live once free-join has finished:
export SAIHM_ENDPOINT_URL=https://saihm.net/mcp
SaihmStorageBackend is a drop-in crewai.memory.storage.backend.StorageBackend. In live
mode, SaihmStorageBackend() raises SaihmNoIdentityError when this machine has no active
identity, with the command that fixes it, and a call the service refuses raises
RuntimeError with the service's reason.
Migration — one line
The import root changed from saihm_memory to saihm_adapters:
from saihm_adapters import SaihmStorageBackend # was: from saihm_memory import SaihmStorageBackend
SaihmMemoryClient, Memory, SaihmTimeout, and the start-up errors SaihmStartupError / SaihmNoIdentityError come from saihm_adapters:
from saihm_adapters import SaihmMemoryClient, Memory, SaihmTimeout, SaihmNoIdentityError
After upgrading, import saihm_memory fails with ModuleNotFoundError, which marks the one line to change.
What it costs
Start free. The free tier is a fixed, one-time allowance for trying SAIHM on real infrastructure — it doesn't reset or refill. No card, and nothing to cancel. Paid plans are monthly; prices are on the pricing page. Upgrading keeps the same key and every memory you already have.
Support SAIHM
- Star it on GitHub. Stars help other developers find SAIHM.
- Share it with a colleague, your team, or anyone whose agents keep forgetting.
- Follow @SAIHMemory on X for news and updates.
- Sponsor it through GitHub Sponsors, monthly or one-time.
- Follow along on YouTube: like the videos, subscribe to the channel, and turn on notifications with the bell 🔔 for new videos and updates.
- Questions or problems? See contact and support.
More: the consolidated package, its source and full guide, the demos, and what SAIHM is.
License
Apache-2.0 © SAIHM
Metadata
Release files for saihm-crewai 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| saihm_crewai-0.1.3.tar.gz | 9.1 kB | Without provenance | Details for saihm_crewai-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| saihm_crewai-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for saihm_crewai-0.1.3-py3-none-any.whl |
Total release size: 17.2 kB
Release files / saihm_crewai-0.1.3.tar.gz
| Download URL | saihm_crewai-0.1.3.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
970c0a4973e618eb33b6db6ab289d1d276e5b164fc531e5e2e0b9ed1317be30c
|
|
BLAKE2b-256 checksum How to use checksums |
54e981e60484872dea9850330dea44a203d00e510b5ce45181782165207bee38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / saihm_crewai-0.1.3-py3-none-any.whl
| Download URL | saihm_crewai-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae06e2684e176b75c00c83149f8258c97a5f155116905f95066838663303ceb0
|
|
BLAKE2b-256 checksum How to use checksums |
787ee6c25efb81be26f92dfe0db2dc17ad74e34aed2c62fbefb738b888c9c04a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for saihm-crewai 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.