New pattern submission - agentcore-runtime-code-interpreter-s3
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with the submitted pattern in agentcore-runtime-code-interpreter-s3/python/cdk and compare its README and example-pattern.json with _pattern-model and the publishing guidelines. Run node _scripts/validate.js agentcore-runtime-code-interpreter-s3/python/cdk/example-pattern.json to check the metadata. The submission is ready for review when it follows the model, includes the required pattern information, and passes validation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Pattern: a Strands agent on Amazon Bedrock AgentCore Runtime writes Python code and runs it in an Amazon Bedrock AgentCore Code Interpreter session that reads files from an Amazon S3 bucket through an Amazon S3 Files mount. Folder: agentcore-runtime-code-interpreter-s3/python/cdk (AWS CDK, Python).
Services: Amazon Bedrock AgentCore Runtime, Amazon Bedrock AgentCore Code Interpreter, Amazon S3 Files, Amazon S3.
How it works:
- The agent starts a Code Interpreter session per request and mounts an S3 Files access point read-only at
/mnt/s3data. A small custom Strands sandbox sendspython_replcode to that session instead of running it in the runtime. - The Code Interpreter runs in VPC network mode in isolated subnets with no internet access. Its security group allows only NFS to the S3 Files mount targets and HTTPS to an S3 gateway endpoint, whose policy allows only reads of the document bucket by the Code Interpreter's role.
- The runtime's role can only start, invoke and stop Code Interpreter sessions and has no access to the bucket.
- Every prompt, code run and result is logged to CloudWatch Logs;
client/logs.pyprints the code the agent ran.
Deployed and tested in my own AWS account with ./deploy.sh and ./test.sh, which generates a sample PDF statement and Excel ledger and asks the agent to reconcile them. node _scripts/validate.js passes.
IMPORTANT
Patterns are intended to be primarily IaC-focused implementations of 2-4 AWS services, with minimum custom code. They should be commonly used combinations that help developers get started quickly. If you have a utility, demo, or application, submit these to the Serverless Repos Collection instead.
ONLY SUBMIT ONE PATTERN CHANGE PER PR. Multiple patterns or files spanning multiple pattern directories will be automatically rejected.
Patterns may take up to 4-6 weeks to review, test, and merge but there is no SLA and can take significantly longer due to other work the team has.
To learn more about submitting a pattern, read the publishing guidelines page.
-
Use the model template located at https://github.com/aws-samples/serverless-patterns/tree/main/_pattern-model to set up a README, template and any associated code.
-
THIS PROCESS HAS BEEN SIMPLIFIED. All the information below must be provided in the "example-pattern.json" file cloned from the model **
Note the following information for the model:
- Description (intro.text) should be a 300-500 word explanation of how the pattern works.
- Resources should like to AWS documentation and AWS blogs related to the post (1-5 maximum).
- Author bio is a 1-sentence bio and may include links to your LinkedIn, X, GitHub, Bluesky and AWS Builder Center profiles. Use handles, not URLs:
linkedin(profile ID),twitter(X handle),github(username),bluesky(e.g.janedoe.bsky.social) andbuilderid(the alias after@inbuilder.aws.com/community/@alias). - Returning authors with a profile page at https://serverlessland.com/about/your-name can list
"contributors": ["content/contributors/your-name.json"]instead ofauthors. - Pull requests check "example-pattern.json" against the pattern schema. To check it locally, run
cd _scripts && npm i, then from the repo rootnode _scripts/validate.js your-pattern/example-pattern.json.
You must ensure that the sections of the model README.md are completed in full.
GitHub PR for template:
- Ngôn ngữ chính
- Python
- Star
- 1.8k
- Fork
- 1.1k
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 134
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/serverless-patterns
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
aws-samples/serverless-patterns#3415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New pattern submission - sfn-codebuild-release-gateCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws-samples/serverless-patterns#3402 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New pattern submission - eventbridge-webhook-sfn-typescript-cdkCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aws-samples/serverless-patterns#3562 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New pattern submission - appconfig-ai-model-lambda-bedrock-typescript-cdkCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
aws-samples/serverless-patterns#3560 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
aws-samples/serverless-patterns#3429 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aws-samples/serverless-patterns
Issue tương tự
-
Triage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Ikalus1988/MisakaNet#5718 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
facebookresearch/autoform-bot#872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dataset.to_json() writes "Value": [] for an empty sequenceCó thể đã có người làm @DG47 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
finos/open-resource-broker#933 ·
Maintainer thường phản hồi trong vòng 1 ngày