Skip to content

Conversation

@wjquigsAZ
Copy link

Description

When running Strands agents in Bedrock AgentCore Runtime, the tools run as lambdas, so they do not have write access to their runtime directory. The only writable directory is /tmp. I changed all the references to mkdir or os.makedirs to prepend /tmp so the tools will work in AgentCore.
There should not be any changes to documentation required.

Related Issues

Documentation PR

Type of Change

Bug fix

Testing

Tested in AgentCore runtime

  • I ran hatch run prepare

Checklist

  • [ x] I have read the CONTRIBUTING document
  • [ x] I have added any necessary tests that prove my fix is effective or my feature works
  • [ x] I have updated the documentation accordingly
  • [ x] I have added an appropriate example to the documentation to outline the feature
  • [ x] My changes generate no new warnings
  • [ x] Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wjquigsAZ wjquigsAZ requested a review from a team as a code owner November 24, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant