Mem0 Python SDK (v2.2.0)
Mem0 Python SDK v2.2.0 adds User Profile management to both sync and async clients, alongside a bug fix for Valkey vector store timestamp handling.
Why this signal matters
Mem0 Python SDK v2.2.0 introduces User Profiles to MemoryClient and AsyncMemoryClient. User profiles are structured JSON summaries of users shaped by a project-configured JSON Schema and populated by an LLM using the user's memories. New client methods include get profile(), generate profile(), get profile settings(), update profile settings(), sample profiles(), and get profile job(). Generation runs asynchronously, and job POST requests support an Idempotency-Key header to prevent duplicate runs on retry. Additionally, a bug fix guards against None timestamps in the Valkey vector store's insert() and update() paths, preventing TypeError during datetime.fromisoformat() by aligning fallback behavior with the Redis provider.
Actionable summary
Mem0 Python SDK v2.2.0 introduces User Profiles in MemoryClient and AsyncMemoryClient with asynchronous generation and idempotency keys, and fixes a TypeError in Valkey vector store caused by None timestamps.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade Mem0 Python SDK to v2.2.0.
- Adopt the new profile API methods (e.g., generate profile(), get profile()) and configure project-level JSON Schemas if utilizing User Profiles.
- Ensure Idempotency-Key is reused when retrying asynchronous profile generation job requests.
- Verify Valkey vector store workflows if previously impacted by TypeError on None timestamps in insert() or update().