Documentation Index
Fetch the complete documentation index at: https://docs.upsonic.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
AsyncMem0Storage provides asynchronous integration with the Mem0 memory platform. Supports both the hosted Mem0 Platform (AsyncMemoryClient) and self-hosted Mem0 Open Source (AsyncMemory) deployments.
Install
Install the Mem0 storage optional dependency group:
Basic Usage
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
memory_client | AsyncMemory or AsyncMemoryClient | None | Pre-configured async Mem0 client |
api_key | str | None | Mem0 Platform API key (or use MEM0_API_KEY env var) |
host | str | None | Mem0 Platform host URL |
org_id | str | None | Mem0 Platform organization ID |
project_id | str | None | Mem0 Platform project ID |
config | MemoryConfig | None | Configuration for self-hosted AsyncMemory |
session_table | str | None | Custom name for the session table (used in metadata) |
user_memory_table | str | None | Custom name for the user memory table |
knowledge_table | str | None | Custom name for the knowledge registry table (used by KnowledgeBase) |
cultural_knowledge_table | str | None | Custom name for the cultural knowledge table |
default_user_id | str | "upsonic_default" | Default user ID for Mem0 operations |
id | str | None | Unique identifier for this storage instance |

