[FEATURE] Support offline custom dependencies for Code Interpreter sessions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Code Interpreter のセッション作成パスと SDK の install_packages() ヘルパーから始め、filesystemConfigurations がセッションにどのように渡されるかを比較します。アプリケーションでオフラインの依存関係設定を宣言でき、セッションが公開パッケージインデックスにアクセスせずにそれを初期化し、エージェントコードの実行前に初期化の失敗が通知されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
AgentCore Code Interpreter provides a fixed set of pre-installed libraries. The
SDK's install_packages() helper runs a normal pip install, which requires
access to PyPI or another package index.
Code Interpreter sessions running in an isolated VPC without NAT cannot use
this mechanism. Enabling public internet access solely to install dependencies
increases cost and weakens the sandbox's network isolation.
Code Interpreter supports mounting S3 Files and EFS through
filesystemConfigurations, but there is no first-class way to declare an
offline dependency bundle or initialization step. Applications must currently:
- Mount or upload a wheelhouse.
- Execute
pip install --no-indexmanually after every session starts. - Configure
sys.pathandPYTHONPATHseparately forexecuteCodeand
executeCommand. - Detect initialization failures themselves before allowing agent code to run.
This creates duplicated bootstrap logic and makes session readiness ambiguous.
Describe the solution you'd like
Add first-class support for application-defined, offline dependencies when
creating a Code Interpreter or starting a session.
One possible API shape would be:
client.start(
identifier=interpreter_id,
filesystem_configurations=[dependency_mount],
dependency_configuration={
"python": {
"requirementsPath": "/mnt/dependencies/requirements.txt",
"wheelhousePath": "/mnt/dependencies/wheels",
"offline": True,
}
},
)
- 主要言語
- Python
- スター
- 786
- フォーク
- 163
- 平均マージ
- 4時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/bedrock-agentcore-sdk-python のほかの issue
-
bug high-severity
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/bedrock-agentcore-sdk-python#752 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws/bedrock-agentcore-sdk-python#751 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
delete_all_long_term_memories_in_namespace deletes only the first 10 records対応中かも @Fire162 が 18 日前に担当しました。 オープンbug high-severity
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/bedrock-agentcore-sdk-python#727 ·
メンテナーはふだん 1 日以内に返信
-
MPP: credential is always sent in Authorization, ignoring header="Payment-Authorization" in the challenge対応中かも @abhiramshaji-cyber が 24 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aws/bedrock-agentcore-sdk-python#702 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] update_message fails with parameter validation error when SessionMessage.message_id is a Strands positional integer index対応中かも @citizen204 が 144 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aws/bedrock-agentcore-sdk-python#556 ·
メンテナーはふだん 1 日以内に返信
aws/bedrock-agentcore-sdk-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug difficulty:2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MakazhanAlpamys/Soup#3167 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
snap-stanford/Biomni#380 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jsboige/CoursIA#27768 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
rossant/awesome-math#206 ·