feat: Implement AgentCore Memory integration with session persistence#172
Open
omrsamer wants to merge 2 commits intoaws-samples:mainfrom
Open
feat: Implement AgentCore Memory integration with session persistence#172omrsamer wants to merge 2 commits intoaws-samples:mainfrom
omrsamer wants to merge 2 commits intoaws-samples:mainfrom
Conversation
- Fixed multiple memory ID creation issue by separating setup from runtime - Added setup_memory.py script for one-time memory creation - Implemented session-based S3 file persistence - Added memory viewing scripts (conversation history and long-term memories) - Updated memory_manager.py to load from SSM instead of creating - Enhanced agent.py with proper memory context loading - Added comprehensive MEMORY_SETUP.md documentation - Fixed script parameter passing for actor_id and session_id
- Integrated memory setup into deploy.sh (idempotent, SSM-first approach) - Fixed multiple memory IDs issue by using SSM Parameter Store as source of truth - Added session summaries support using list_sessions() and list_memory_records() - Updated Streamlit UI Tab 3 to display conversation summaries - Updated view_memories.sh CLI to show session summaries - Added get_session_summaries() method to memory_manager.py - Fixed turn numbering in Streamlit (most recent turn shows highest number) - Removed setup_memory.py (functionality moved to deploy.sh) - Added comprehensive README.md with updated documentation - Added .gitignore for generated files - Follows customer-support-assistant pattern from AWS samples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #