AgentCoreCodeInterpreter sandbox for Strands
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
Sandboxproposal deferredAgentCoreSandboxto "own package withbedrock-agentcoredependency". - strands-agents/tools#629: deprecated
AgentCoreCodeInterpreter, pointing users to the vendedpython_replandshelltools, which run in the agent's configured sandbox.
- Dominant language
- Python
- Stars
- 786
- Forks
- 163
- Avg merge
- 4h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/bedrock-agentcore-sdk-python
-
bug high-severity
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/bedrock-agentcore-sdk-python#752 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
aws/bedrock-agentcore-sdk-python#751 · 1 reaction ·
Maintainers usually reply within 1 day
-
delete_all_long_term_memories_in_namespace deletes only the first 10 recordsPossibly taken @Fire162 claimed this 18 days ago. Openbug high-severity
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
aws/bedrock-agentcore-sdk-python#727 ·
Maintainers usually reply within 1 day
-
MPP: credential is always sent in Authorization, ignoring header="Payment-Authorization" in the challengePossibly taken @abhiramshaji-cyber claimed this 24 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aws/bedrock-agentcore-sdk-python#702 ·
Maintainers usually reply within 1 day
-
[Bug] update_message fails with parameter validation error when SessionMessage.message_id is a Strands positional integer indexPossibly taken @citizen204 claimed this 144 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aws/bedrock-agentcore-sdk-python#556 ·
Maintainers usually reply within 1 day
All issues in aws/bedrock-agentcore-sdk-python
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
snap-stanford/Biomni#380 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
microsoft/playwright-python#3361 ·
Maintainers usually reply within 1 day
-
documentation priority: low size: S status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
cubrid-lab/sqlalchemy-cubrid#1397 ·
Maintainers usually reply within 1 day
-
documentation priority: low size: S status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cubrid-lab/pycubrid#1307 ·
Maintainers usually reply within 1 day
-
[Bug]: Installer hides SSL certificate errors as bare URLError, and the suggested fix can't workOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
ShaftHQ/chaosengine-harness#143 ·
Maintainers usually reply within 1 day