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.