Neptune Analytics is a memory-optimized graph database engine for analytics. With Neptune Analytics, you can get insights and find trends by processing large amounts of graph data in seconds, including vector search.
Installation
The Neptune Analytics provider needs the AWS Neptune Graph client. Install it alongside mem0ai:
Usage
Configure AWS credentials in your environment (environment variables, shared config file, an IAM role, or an instance profile). Both SDKs pick them up automatically through the standard AWS credential chain.
Config
Both SDKs store vectors on graph nodes labeled MEM0_VECTOR_<collection_name>. Point them at the same
graph with the same collection_name — the defaults differ, mem0 in Python and memories in
TypeScript — and get(), list(), and delete() interoperate across SDKs.
search() is not currently cross-SDK compatible. The TypeScript provider filters on Neptune’s reserved
~label metafield, while the Python provider filters on a synthetic label property that only Python’s
own insert() writes. Python’s search() therefore cannot see nodes written by the TypeScript provider.
IAM Permissions
Your AWS identity (user or role) needs a policy that allows the ExecuteQuery actions used for reads, writes, and deletes:
For production, scope the resource ARN down to your specific graph.