awslabs / awslabs/agentcore-samples
Amazon Bedrock AgentCore Samples - [Bug]
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 30
Description
The first example runtime_with_strands_and_bedrock_models.ipynb fails for me.
The #!uv add cell ran with no output, and the subsequent prompt command failed with:
Traceback (most recent call last):
File "../amazon-bedrock-agentcore-samples/01-tutorials/01-AgentCore-runtime/01-hosting-agent/01-strands-with-bedrock-model/strands_claude.py", line 1, in
from strands import Agent, tool
ModuleNotFoundError: No module named 'strands'
Running the "uv add" command from the terminal, I got this error:
"No pyproject.toml found in current directory or any parent directory"
After running uv init in the venv, the uv add succeeded.
Should "uv init" be included in the notebook?
Contributor guide
Research direction
Open runtime_with_strands_and_bedrock_models.ipynb and inspect the #!uv add cell and the subsequent prompt command. Reproduce the setup from a clean environment, then verify the first example runs without ModuleNotFoundError: No module named 'strands' and that the notebook documents any required initialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- ai, developer-experience
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100