feat: add strands search crawling actor tools#457
Closed
daveomri wants to merge 33 commits into
Closed
Conversation
Made-with: Cursor
…-crawling-actor-tools
…ed details on input, usage, and examples.
…-crawling-actor-tools
fix: improve Apify tools docstrings with Apify context
This was referenced Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR extends the Apify integration (
src/strands_tools/apify.py) with five new search & crawling tools that wrap popular Actors from Apify Store, giving agents structured access to Google Search, Google Maps, YouTube, multi-page website crawling, and e-commerce product data.New tools
apify_google_search_scraperapify/google-search-scraperapify_google_places_scrapercompass/crawler-google-placesapify_youtube_scraperstreamers/youtube-scraperapify_website_content_crawlerapify/website-content-crawlerapify_scrape_url)apify_ecommerce_scraperapify/e-commerce-scraping-toolAll tools share the existing
ApifyToolClient, error handling, and Rich console output from the core module. A shared_search_crawl_resulthelper keeps the implementations DRY.Two new export lists are added:
APIFY_SEARCH_TOOLS— the five search & crawling toolsAPIFY_ALL_TOOLS—APIFY_CORE_TOOLS + APIFY_SEARCH_TOOLSfor convenienceFiles changed
src/strands_tools/apify.py@tool-decorated functions,_search_crawl_resulthelper, Actor ID constants,APIFY_SEARCH_TOOLSandAPIFY_ALL_TOOLSexportstests/test_apify.pydocs/apify_tool.mdREADME.mdPR series
feat/strands-core-apify-toolsapify_run_actor,apify_get_dataset_items,apify_run_actor_and_get_dataset,apify_run_task,apify_run_task_and_get_dataset,apify_scrape_urlfeat/strands-search-crawling-actor-toolsfeat/strands-social-media-actor-toolsRelated Issues
#456
#458
Documentation PR
strands-agents/docs#769
Type of Change
New Tool
Testing
Added unit tests for all five search & crawling tools, including:
maxReviewsset to 0 when disabled), optional languageurl_typevalidation, URL validationRan
hatch run preparelocally — no warnings or lint issues.I ran
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.