AgentCoreCodeInterpreter sandbox for Strands

Ouverte
#742 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
55/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python
Domaine
ai, backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Python
Étoiles
786
Forks
163
Merge moyen
4 h
PR mergées (30 j)
22

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de aws/bedrock-agentcore-sdk-python

Toutes les issues de aws/bedrock-agentcore-sdk-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.