Skip to content

chore(deps): bump strands-agents pin to >=1.51.0 - #4

Closed
arielnabavian wants to merge 1 commit into
notowen333:harbor-adapterfrom
arielnabavian:arielnabavian/bump-strands-agents-pin
Closed

arielnabavian wants to merge 1 commit into
notowen333:harbor-adapterfrom
arielnabavian:arielnabavian/bump-strands-agents-pin

Conversation

@arielnabavian

Copy link
Copy Markdown

Summary

The pre-1.51 SDK exports the sandbox-routed shell tool as bash and does not expose shell at all. strands-agents/harness-sdk#3574 (merged 2026-07-31, released as 1.51.0 on 2026-08-07) renamed the tool: the public export is now shell, with bash kept as a deprecated alias in vended_tools.__init__.__getattr__ only.

Stan updated its default builtin_tools list to \"shell\" (awsarron/stan#6, strands-agents/stan#2). On an orchestrator whose venv was built with the old pin, from strands.vended_tools import shell now fails at import time, which crashes run-benchmark.sh before any fleet instance launches.

Fix

Bump the floor in pyproject.toml:

-    \"strands-agents>=1.42.0\",
+    \"strands-agents>=1.51.0\",

New orchestrators pick this up automatically on pip install. Existing orchestrators need a one-time pip install --upgrade 'strands-agents>=1.51.0' since >=1.42.0 still resolves the older installed version.

Verified

  • curl https://pypi.org/pypi/strands-agents/jsonlatest = 1.51.0, published 2026-08-07.
  • from strands.vended_tools import shell succeeds on 1.51.0 (the export exists at module top level).
  • from strands.vended_tools import bash still works on 1.51.0 (via the __getattr__ deprecation-warning shim), so pre-rename consumers keep working.

Failure observed

Live orchestrator, 2026-08-12:

File \"/home/ubuntu/evals/.venv/lib/python3.13/site-packages/strands_stan/agent.py\", line 15, in <module>
    from strands.vended_tools import shell
ImportError: cannot import name 'shell' from 'strands.vended_tools'

Post-bump + pip install --upgrade on the live orchestrator recovers the run.

The pre-1.51 SDK exports the sandbox-routed shell tool as `bash` and does
not expose `shell` at all. strands-agents/harness-sdk#3574 (merged
2026-07-31, released as 1.51.0 on 2026-08-07) renamed the tool: the
public export is now `shell`, with `bash` kept as a deprecated alias in
`vended_tools.__init__.__getattr__` only.

Stan updated its default builtin_tools list to `"shell"`
(awsarron/stan#6, strands-agents/stan#2). On an orchestrator whose venv
was built with the old pin, `from strands.vended_tools import shell`
now fails at import time, which crashes `run-benchmark.sh` before any
fleet instance launches.

Fix: bump the floor in pyproject.toml so a fresh install of
strands-agents-evals gets an SDK with the shell rename. Existing
orchestrator venvs need one-time `pip install --upgrade strands-agents`;
new orchestrators pick it up automatically.

Verified: 1.51.0 exports `shell` at module top level and keeps `bash` as
the deprecation-warning-emitting alias, so this bump has no other
observable effect on consumers of the pre-rename API.
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