Rewrite the AgentCore tutorial on the AgentCore CLI - #303
Open
manoj-selvakumar5 wants to merge 4 commits into
Open
Rewrite the AgentCore tutorial on the AgentCore CLI#303manoj-selvakumar5 wants to merge 4 commits into
manoj-selvakumar5 wants to merge 4 commits into
Conversation
Replace the Starter Toolkit with the AgentCore CLI, run as terminal commands in %%bash cells so a failed teardown stops the notebook instead of leaving runtimes billing. boto3 handles the execution role, invocation, and cleanup verification.
Read each runtime ARN from the CLI's deployment state file instead of searching the account by name, and drop the helpers that only wrapped boto3 calls. Trim the markdown to what the reader needs.
The remove and deploy commands fail loudly on their own, so the extra boto3 assertions and the stack name lookup were redundant. utils.py is now just the execution role helpers.
Fix two wrong claims: removing the only agent deletes the stack, so the restaurant deploy creates it rather than extending it, and the CDK staging bucket retains deployment archives. Describe session handling as isolation with in-memory state rather than managed conversation storage. Align the remaining markdown with what each cell does.
|
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. |
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.
Issue #, if available:
Description of changes:
python/02-deploy/03-agentcore/deploy-agent.ipynbused the Bedrock AgentCore Starter Toolkit, which is no longer supported. The tutorial now uses the AgentCore CLI for create, deploy, and remove, run as terminal commands in%%bashcells, with boto3 for the IAM execution role andInvokeAgentRuntime. The Starter Toolkit is gone.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.