Create AgentCore Memory - Amazon Bedrock AgentCore

Amazon Bedrock AgentCore is in preview release and is subject to change.

Create AgentCore Memory

You can create an AgentCore Memory with the Amazon Bedrock AgentCore Console or with the CreateMemory AWS SDK operation. When creating a memory, you can configure settings such as name, description, encryption settings, expiration timestamp for raw events, and memory strategies if you want to extract long-term memory.

When creating a AgentCore Memory, consider the following factors to ensure it meets your application's needs:

  • Event retention – Choose how long raw events are retained (upto 365 days) for short-term memory.

  • Security requirements – If your application handles sensitive information, consider using a customer-managed KMS key for encryption. The service still encrypts data using a service managed key, even if you don't provide a CMK For more information, see Storage encryption and security.

  • Memory strategies – Define how events will be processed into meaningful long-term memories using built-in or custom strategies. If you do not define any strategy, only short-term memory containing raw events will be stored. For more information, see Long-term memory.

  • Naming conventions – Use clear, descriptive names that help identify the purpose of each AgentCore Memory, especially if your application uses multiple stores.