Skip to content

New serverless pattern - appsync-events-lambda-agentcore#2990

Open
pjdavis-aws wants to merge 32 commits intoaws-samples:mainfrom
pjdavis-aws:pjdavis-aws-feature-appsync-events-lambda-agentcore-cdk
Open

New serverless pattern - appsync-events-lambda-agentcore#2990
pjdavis-aws wants to merge 32 commits intoaws-samples:mainfrom
pjdavis-aws:pjdavis-aws-feature-appsync-events-lambda-agentcore-cdk

Conversation

@pjdavis-aws
Copy link
Copy Markdown

Issue #, if available:

Description of changes:

Real-time streaming chat using AppSync Events, Lambda, and Bedrock AgentCore Runtime. A Strands agent streams AI responses token-by-token to clients over WebSockets.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Pete Davis added 19 commits March 11, 2026 12:22
- Wire http_request, calculator, and current_time tools into the agent
  entrypoint with an updated system prompt
- Add strands-agents-tools dependency to requirements
- Add integration tests: test_http_request_tool, test_calculator_tool,
  test_current_time_tool
- Print streaming chunks in _collect_response for visibility with -s
- Rework session test to use web fetch for more realistic multi-turn
Copy link
Copy Markdown
Contributor

@ellisms ellisms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pjdavis-aws - thanks for the submission. Requesting a few changes. Also, one of the integration tests fails and the console-based test fails to deliver the message to the subscriber. I don't see any errors in the Lambda logs.

Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md
Comment thread appsync-events-lambda-agentcore-cdk/cdk/constructs/standard_lambda.py Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md Outdated
Comment thread appsync-events-lambda-agentcore-cdk/README.md
Comment thread appsync-events-lambda-agentcore-cdk/README.md
pjdavis-aws and others added 7 commits April 14, 2026 17:43
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
Co-authored-by: ellisms <114107920+ellisms@users.noreply.github.com>
@pjdavis-aws
Copy link
Copy Markdown
Author

Thanks for the feedback @ellisms, I've made the requested changes, so hopefully should be good to go now. Let me know if you see anything else.

@pjdavis-aws pjdavis-aws requested a review from ellisms April 15, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants