Prerequisites
To implement agentic memory with ElastiCache for Valkey, you need:
An Amazon account with access to Amazon Bedrock, including Amazon Bedrock AgentCore Runtime and embedding models.
An ElastiCache cluster running Valkey 8.2 or later. Valkey 8.2 includes support for vector similarity search. For instructions on creating a cluster, see Creating a cluster for Valkey or Redis OSS.
An Amazon Elastic Compute Cloud instance or other compute resource within the same Amazon VPC as your ElastiCache cluster.
Python 3.11 or later with the following packages:
pip install strands-agents strands-agents-tools strands-agents-builder pip install mem0ai "mem0ai[vector_stores]"