refactor(agui): build agent directly in entrypoint, make Memory optional#113
Open
razkenari wants to merge 1 commit into
Open
refactor(agui): build agent directly in entrypoint, make Memory optional#113razkenari wants to merge 1 commit into
razkenari wants to merge 1 commit into
Conversation
|
Latest scan for commit: Security Scan ResultsScan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies: Column Explanations: Severity Levels (S/C/H/M/L/I):
Other Columns:
Scanner Results:
Severity Thresholds (Thresh Column):
Threshold Source: Values in parentheses indicate where the threshold is configured:
Statistics calculation:
|
Simplify both AG-UI patterns by removing the ActorAware* subclasses and instantiating the framework agent directly inside @app.entrypoint. Memory is now opt-in: the helper returns None when MEMORY_ID is unset, so the patterns run without provisioning AgentCore Memory. - Move model and Code Interpreter setup to module load - Rename user_id to actor_id for consistency - Use AWS_REGION instead of AWS_DEFAULT_REGION
a599f0b to
7a764db
Compare
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.
Simplify both AG-UI patterns by removing the ActorAware* subclasses and instantiating the framework agent directly inside @app.entrypoint. Memory is now opt-in: the helper returns None when MEMORY_ID is unset, so the patterns run without provisioning AgentCore Memory.