Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

New pattern submission - lambda-web-agentcore-nodejs-terraform

Đang mở
#3,358 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ai-infra-agents, aws, express, nodejs, python, terraform
Lĩnh vực
ai, cloud

Hướng nghiên cứu

This issue is a pattern submission announcement; the code lives in pull request #3359, which the body links but the linkedPullRequests field does not list. Start by reading that PR's pattern folder and its README to see the Terraform, Node.js Express app and Python agent, and check it against the repository's pattern template. Done means the maintainers review the pattern and either merge it or request changes on the PR.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Pattern name: lambda-web-agentcore-nodejs-terraform

Pull request: https://github.com/aws-samples/serverless-patterns/pull/3359

Description:

A fully serverless streaming chat app for an AI agent. An Express server running as an AWS Lambda Web Function serves the chat UI and calls a Strands agent hosted on Amazon Bedrock AgentCore Runtime, which calls Claude Haiku 5.5 on Amazon Bedrock. The answer streams back as server-sent events, token by token, from the model through AgentCore Runtime and the Web Function to the browser. Amazon CloudFront is the single public URL and adds a secret origin header that the Web Function checks, so the endpoint cannot be used to bypass CloudFront. The agent is deployed with AgentCore direct code deployment (no container image, Docker or Amazon ECR), and each sign-in gets its own AgentCore session for a private, multi-turn conversation. A login secret stored in AWS Secrets Manager, signed session tokens and caps on prompt length and answer tokens keep the public demo from being open access to the model.

Based on the Lambda Web Functions and AgentCore Runtime integration sample by Anton Aleksandrov (@aal80): https://github.com/aws-samples/sample-genai-strats/tree/main/agentcore/lambda-web-function-integration

Services used: AWS Lambda Web Functions, Amazon Bedrock AgentCore Runtime, Amazon Bedrock, Amazon CloudFront, AWS Secrets Manager, Amazon S3.

Language: Node.js (web app), Python 3.13 (agent)
Framework: Terraform
Level: 300

Tested end to end in a live account in us-east-1 and eu-central-1, then destroyed with nothing left behind.

Ngôn ngữ chính
Python
Star
1.8k
Fork
1.1k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws-samples/serverless-patterns

Tất cả issue của aws-samples/serverless-patterns

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.