View a markdown version of this page

Use short-term memory - Amazon Bedrock AgentCore
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).

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 Amazon SDK. For examples that use the Amazon Bedrock AgentCore samples repository and the Amazon SDK, see Scenario: A customer support AI agent using AgentCore Memory . For other SDKs see Amazon Bedrock AgentCore Memory examples.