fix(patterns): align langgraph and strands agents with AG-UI docs#81
fix(patterns): align langgraph and strands agents with AG-UI docs#81ranst91 wants to merge 2 commits intoawslabs:mainfrom
Conversation
Both patterns were using the legacy HTTP streaming approach — parsing prompt/runtimeSessionId from the payload and yielding raw dicts — instead of the AG-UI protocol described in the AgentCore docs. Switch to RunAgentInput as the input format and wrap agents with LangGraphAgent (ag_ui_langgraph) and StrandsAgent (ag_ui_strands) so both patterns produce proper AG-UI event streams when deployed with --protocol AGUI.
|
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:
|
|
@ranst91 The files in |
Description of changes:
Both patterns were using the legacy HTTP streaming approach — parsing prompt/runtimeSessionId from the payload and yielding raw dicts — instead of the AG-UI protocol described in the AgentCore docs.
Switch to RunAgentInput as the input format and wrap agents with LangGraphAgent (ag_ui_langgraph) and StrandsAgent (ag_ui_strands) so both patterns produce proper AG-UI event streams when deployed with --protocol AGUI.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.