| Entry point | Import | When to use |
|---|---|---|
MemWal | @mysten-incubation/memwal | Recommended default — relayer handles embeddings, SEAL, and storage |
MemWalManual | @mysten-incubation/memwal/manual | You need client-managed embeddings and local SEAL operations |
withMemWal | @mysten-incubation/memwal/ai | You already use the Vercel AI SDK and want memory as middleware |
Namespace Rules
- Set a default namespace in
create(...)when one app or tenant uses one boundary - Pass
namespaceper call when one client needs multiple boundaries - If omitted, namespace falls back to client config, then to
"default"
todo, personal, password, project-x. Avoid keeping everything in "default" after early testing.