Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#3,358 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

@manishh-13 已经在做这个了。

开始于 2026年10月15日。

  • #3359 来自 @manishh-13 —— 未关闭

评估

难度
3/5
预计耗时
半天
新手友好度
22/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
ai-infra-agents, aws, express, nodejs, python, terraform
领域
ai, cloud

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
1.8k
派生
1.1k
平均合并
4 天 14 小时
30 天内合并 PR
21

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws-samples/serverless-patterns 的其他 Issue

查看 aws-samples/serverless-patterns 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。