Use short-term memory - Amazon Bedrock AgentCore

Use short-term memory

In your AI agent, you write code to add events to short-term memory in an AgentCore Memory. These events are stored as short-term memory. They form the foundation for structured information extraction into long-term memory.

The following section discusses short-term memory with the AWS SDK. For examples that use the Amazon Bedrock AgentCore starter toolkit and the AWS SDK, see Scenario: A customer support AI agent using AgentCore Memory. For other SDKs see Amazon Bedrock AgentCore Memory examples.