Without memory, an AI agent treats each question independently. If you ask it to find flights from Seattle to Tokyo and then follow up with, "what about business class?", it will not know what you mean. Amazon Bedrock AgentCore Memory addresses this in two ways: short-term memory preserves context within a session, while long-term memory extracts durable facts and preferences for use across sessions.
In this lab, you will build an Amazon Bedrock AgentCore harness with memory enabled and put both mechanisms to the test. You will attach a pre-configured gateway that gives the agent a flight search tool, hold a multi-turn conversation that only works if the agent remembers, and then verify that a stated travel preference survives into a brand new session. Finally, you will inspect the raw memory events and extracted memory records in CloudWatch Logs.
Upon completion of this intermediate-level lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can be used to fulfill the prerequisites: