1. Default SDK
Use@mysten-incubation/memwal when you want the fastest working integration.
- relayer handles embedding, encryption, retrieval, and restore
- best starting point for most teams
2. Managed Relayer
Use a hosted relayer, or deploy your own self-hosted relayer with access to a wallet funded with WAL and SUI.Following endpoints are provided as public good by Walrus Foundation.
| Network | Relayer URL |
|---|---|
| Production (mainnet) | https://relayer.memwal.ai |
| Staging (testnet) | https://relayer.staging.memwal.ai |
3. Manual Client Flow
Use@mysten-incubation/memwal/manual when you want full client-side control over encryption and embeddings. Recommended for Web3-native users who want to minimize trust in the relayer - it never sees your plaintext data.
- client handles embeddings and SEAL encryption locally
- relayer only sees encrypted payloads and vectors
4. AI Middleware
Use@mysten-incubation/memwal/ai when you already use the AI SDK and want recall plus auto-save behavior.
Go to: AI Integration