The recommended default client. The relayer handles embeddings, SEAL encryption, Walrus upload, and vector indexing. The SDK only signs requests and sends text.Documentation Index
Fetch the complete documentation index at: https://docs.memwal.ai/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
- The SDK signs each request with your delegate key (Ed25519 via PyNaCl)
- The relayer verifies delegate access
rememberreturns an accepted job while the relayer encrypts, uploads, and indexes in the backgroundrecallsearches by namespace and returns decrypted matches
MemWalSync.create(...) takes the same arguments for synchronous code.
Core Methods
namespace= override that wins over the client default for that call.
Restore
Rebuild missing indexed entries for one namespace from Walrus. Incremental and namespace-scoped — meant to repair PostgreSQL vector state from Walrus-backed memory.Lower-Level Methods
Use these when you already have a vector or a pre-uploaded blob — see Manual methods:remember_manual(RememberManualOptions(blob_id=..., vector=..., namespace=...))recall_manual(RecallManualOptions(vector=..., limit=..., namespace=...))embed(text)— embedding vector only, no storageget_public_key_hex()— the delegate public key
Errors
| Exception | Raised when |
|---|---|
MemWalError | Base class for all SDK errors (also raised on a failed health()) |
MemWalRememberJobNotFound | A polled job_id is unknown or not owned by the caller |
MemWalRememberJobFailed | An async remember job reached terminal status=failed |
MemWalRememberJobTimeout | A polling loop exceeded its timeout_ms budget |
429, 5xx) are retried inside the polling loops rather than surfaced.