Prerequisites - Amazon ElastiCache
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Prerequisites

To implement agentic memory with ElastiCache for Valkey, you need:

  1. An Amazon account with access to Amazon Bedrock, including Amazon Bedrock AgentCore Runtime and embedding models.

  2. 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.

  3. An Amazon Elastic Compute Cloud instance or other compute resource within the same Amazon VPC as your ElastiCache cluster.

  4. 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]"