# Mem0 Node SDK (v3.3.1)

Category: agent-infrastructure
Published: 2026-09-25T17:36:35Z
Source: [Mem0 releases](https://github.com/mem0ai/mem0/releases/tag/ts-v3.3.1)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-27T18:17:51.308Z
Tags: memory, agents, personalization

## Human Summary
Mem0 Node SDK v3.3.1 resolves LLM config fallback issues for non-OpenAI providers, fixes Turbopuffer filtering and distance mapping, and makes pg an optional peer dependency.

## Agent Summary
Mem0 Node SDK v3.3.1 fixes ConfigManager erroneously injecting OpenAI baseURL and model defaults into third-party providers (DeepSeek, xAI). It also addresses Turbopuffer operator dropping and squared Euclidean distance inversion, and shifts pg , @types/pg , and natural to optional peer dependencies with dynamic imports for PGVector.

## Body
Mem0 released Node SDK v3.3.1 containing multiple bug fixes and packaging improvements. In LLM configuration, ConfigManager now restricts default OpenAI baseURL and model injections strictly to 'openai' and 'openai structured' providers, allowing alternative providers like DeepSeek and xAI to properly fall back to their respective defaults and environment variables. In vector store implementations, Turbopuffer now supports all filter operators (eq, ne, gt, gte, lt, lte, in, nin), throws on unsupported operators, and resolves an issue where Euclidean squared distance ranking inverted for values above 1 by transitioning to a 1 / (1 + distance) mapping. Additionally, packaging updates make pg , @types/pg , and natural optional peer dependencies with caret range support; the PGVector store dynamically imports pg only when utilized, and @types/jest was moved to dev dependencies.

## Recommended actions
- If using PGVector store with the Node SDK, manually install pg (e.g., npm install pg ) alongside mem0ai .
- Verify DeepSeek, xAI, or custom LLM configurations to confirm environment variables (e.g., DEEPSEEK API BASE, XAI API BASE) resolve as expected without unintended OpenAI defaults.
- Review any Turbopuffer vector store filtering and search ranking logic to ensure compatibility with corrected operators and adjusted Euclidean squared distance scoring.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.