Feat/14 session management tutorial#255
Open
vaibhavjainv wants to merge 4 commits into
Open
Conversation
- 5 notebooks: baseline, FileSessionManager, S3SessionManager, custom DynamoDB backend, multi-agent (Swarm/Graph) sessions - Self-contained S3 notebook with bucket create/delete - DynamoDB notebook with Decimal type handling for production use - Architecture diagram (SVG) - Tested end-to-end against live AWS (Bedrock, S3, DynamoDB)
…ix, AWS architecture diagram - Add botocore[crt] to all notebook install cells and requirements.txt - S3 notebook: auto-create/delete bucket using account ID - DynamoDB notebook: int() casts for Decimal types from DynamoDB - Replace SVG with PNG architecture diagram using AWS icons - Strip notebook outputs
|
Latest scan for commit: ✅ Security Scan Report (PR Files Only)Scanned Files
Security Scan Results
Threshold: High No security issues detected in your changes. Great job! This scan only covers files changed in this PR. |
Collaborator
|
Hi @vaibhav-jain-lilly - Thanks for this — the progression is good.
|
…mber to 19 - Merge 01-baseline, 02-file-session-manager, 03-s3-session-manager, 04-custom-dynamodb-backend into 01-single-agent-persistence.ipynb - Merge 05-multi-agent-sessions into 02-multi-agent-persistence.ipynb - Notebook 02 uses S3SessionManager for Swarm, FileSessionManager for Graph - Add setup cell with optional AWS_PROFILE placeholder in both notebooks - Pass boto_session explicitly to S3SessionManager for reliable credential resolution - Update README with AWS credentials setup section and correct cleanup entries - Fix broken link in 01-learn/README.md (was pointing to old 14- path)
Author
|
@manoj-selvakumar5 - I've made the changes, please take a look |
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.
Adds the 14-session-management tutorial to python/01-learn/.
The tutorial covers how to persist Strands agent conversation state across restarts using the session management system. It progresses through 5 notebooks:
01-baseline.ipynb — demonstrates the default stateless behavior (no persistence)
02-file-session-manager.ipynb — local persistence with FileSessionManager
03-s3-session-manager.ipynb — cloud persistence with S3SessionManager (self-contained: creates and deletes the S3 bucket)
04-custom-dynamodb-backend.ipynb — implementing a custom SessionRepository backed by DynamoDB
05-multi-agent-sessions.ipynb — session persistence with Swarm and Graph multi-agent patterns