Skip to content

docs: add optional uv setup to Python quick start - #322

Merged
manoj-selvakumar5 merged 2 commits into
strands-agents:mainfrom
ikenyal:docs/uv-quick-start
Oct 9, 2026
Merged

manoj-selvakumar5 merged 2 commits into
strands-agents:mainfrom
ikenyal:docs/uv-quick-start

Conversation

@ikenyal

@ikenyal ikenyal commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Issue #, if available: Fixes #177

Description of changes

Add an optional uv setup path to the Python Quick Start in README.md, without replacing the existing pip instructions.

  • Link to uv's official installation instructions.
  • Clarify that the pip prerequisite does not apply to the uv alternative.
  • Explicitly create .venv with uv venv before installing packages.
  • Show activation commands for macOS/Linux (bash or zsh) and Windows (PowerShell).
  • Link to Python's official guidance if PowerShell blocks the activation script, without prescribing an execution-policy change.
  • Install the same strands-agents and strands-agents-tools packages, then continue to the existing first-agent example.

This revisits the README portion of the closed #233 as a standalone, README-only change. It does not include Streamlit changes or modify sample code, dependencies, or model-provider setup. Feedback on whether this optional setup path belongs in the Quick Start is welcome.

Testing

Verified on macOS arm64 with Python 3.13.9 and uv 0.9.21, starting in a fresh temporary directory:

uv venv
source .venv/bin/activate
uv pip install strands-agents strands-agents-tools
python -c 'from strands import Agent; from strands_tools import calculator'
uv pip check
  • Installation succeeded (strands-agents 1.57.2 and strands-agents-tools 0.8.9); imports succeeded; uv pip check reported that all 75 installed packages are compatible.
  • Confirmed that the package imports succeed in the uv-created environment with no pip module installed.
  • Confirmed virtual-environment activation in both bash and zsh on macOS.
  • Checked GitHub's Markdown renderer output for the added links and code blocks inside the existing Quick Start table.
  • git diff --check passed.
  • Windows and Linux were not tested on those operating systems; their documented commands were checked against uv's official environment documentation, and the Windows execution-policy note was checked against Python's official venv documentation.
  • No model calls were made. The unchanged first-agent example and sample scripts/notebooks were not executed; validation was limited to the setup instructions added by this README-only change.

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

@manoj-selvakumar5
manoj-selvakumar5 merged commit 91b510b into strands-agents:main Oct 9, 2026
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.

uv install instructions [enhancement]

2 participants