Python SDK
pip install supermemory
JavaScript SDK
npm install supermemory
- TypeScript
- Python
Install the TypeScript SDK
Start a TypeScript client
Run common TypeScript operations
Handle TypeScript SDK errors
Connection errors, 408, 409, 429, and >=500 responses are retried automatically (
maxRetries, default 2, exponential backoff). Requests time out after 1 minute by default (timeout option). Set the SUPERMEMORY_LOG env var (or logLevel client option) to debug/info/warn/error/off — defaults to warn.Requires TypeScript >= 4.9, Node 20+, Deno 1.28+, or Bun 1.0+.