Attaches Amazon Bedrock AgentCore Memory β the agent remembers you across sessions.
pip install -r requirements.txt
python create_memory.py # prints the memory ID
export BEDROCK_AGENTCORE_MEMORY_ID=<paste printed value>python agent.pySession 1:
π¦ My name is Sam. I prefer Python, love sailing, and I'm building ag-drones.
π¦ exit
Session 2 (same terminal or new):
python agent.py
π¦ what do you remember about me?
π¦ suggest a weekend project
Each actor_id (defaults to $USER) gets its own memory namespace.
Next β step-04-ambient.