AgentCoreCodeInterpreter sandbox for Strands

オープン
#742 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
ai, backend

調査の方向性

Read the strands.sandbox.Sandbox interface and the existing memory/integrations/strands and gateway/integrations/strands integrations; the issue also points to the deprecated Code Interpreter implementation for action behavior. Map each listed sandbox method to its corresponding Code Interpreter action, then verify the integration can be installed with the strands-agents extra.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Is your feature request related to a problem? Please describe.

Yes. I want to create Strands agents with sandboxes that use AgentCore Code Interpreter as a backend. This will let my agents read and manipulate data/files safely outside the host.

Describe the solution you'd like

An implementation of Sandbox that uses AgentCore Code Interpreter

Describe alternatives you've considered

Wrap AgentCoreCodeInterpreter and expose custom tools.

We are doing this already but that repository is deprecated. Sandbox is also a stable interface and will be used for proposed context management techniques improvements in Strands framework.

Additional Context

Method mapping (strands.sandbox.Sandbox, available since strands-agents 1.43.0) to Code Interpreter actions:

Sandbox method Code Interpreter action
execute_streaming executeCommand
execute_code_streaming executeCode
read_file readFiles
write_file writeFiles
list_files listFiles
remove_file removeFiles

Suggested location: src/bedrock_agentcore/tools/integrations/strands/, alongside the existing memory/integrations/strands and gateway/integrations/strands, installed via the strands-agents extra.

Related:

  • strands-agents/harness-sdk#1968: the original Sandbox proposal deferred AgentCoreSandbox to "own package with bedrock-agentcore dependency".
  • strands-agents/tools#629: deprecated AgentCoreCodeInterpreter, pointing users to the vended python_repl and shell tools, which run in the agent's configured sandbox.
主要言語
Python
スター
786
フォーク
163
平均マージ
4時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/bedrock-agentcore-sdk-python のほかの issue

aws/bedrock-agentcore-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。