AgentCoreCodeInterpreter sandbox for Strands

Aberta
#742 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
ai, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Python
Estrelas
786
Forks
163
Merge médio
4h
PRs com merge (30d)
22

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de aws/bedrock-agentcore-sdk-python

Todas as issues de aws/bedrock-agentcore-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.