Strands Agents Tools is a collection of specialized tools designed for use with Strands Agents. It provides functionalities like web search, code interpretation, and data interaction for Large Language Models. The library maintains a frequent release cadence, often with minor version updates addressing bug fixes, security enhancements, and new tool capabilities. The current version is 0.4.1.
pip install strands-agents-toolsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to load a specific tool (exa_search) from `strands_tools` and integrate it with an `Agent` from `strands_sdk`. It highlights the need to install optional dependencies for specific tools and set environment variables for authentication. Remember to install `strands-sdk` (`pip install strands-sdk`) and any optional dependencies like `strands-agents-tools[exa]`.
Update your `exa_search` calls to use the `deep` search mode. For example, `agent("Do a deep search on quantum computing breakthrough")`.Install the package with the desired optional dependency group, e.g., `pip install strands-agents-tools[exa]` or `pip install strands-agents-tools[selenium]`. Consult the project's `pyproject.toml` or documentation for available groups.
Set the required environment variables with your API keys before initializing tools or agents. Refer to the specific tool's documentation for the exact variable names.
Ensure you have `strands-sdk` installed (`pip install strands-sdk`) and import `Agent` from `strands_sdk` (e.g., `from strands_sdk import Agent`).
Upgrade to version 0.4.1 or higher to benefit from enhanced security measures for Elasticsearch and MongoDB tools.