crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[FEATURE] Add SpecStream web search and extract tools to crewai-tools

Open Specstreamai opened this issue 3 weeks ago • 1 comments

Feature Area

Integration with external tools

Is your feature request related to a an existing bug? Please link it here.

NA

Describe the solution you'd like

Add two tools to lib/crewai-tools for the SpecStream web APIs, so an agent can search the live web and read pages with a SpecStream key:

  1. SpecStreamSearchTool: calls GET https://api.specstream.ai/v1/web-search?q=... with a Bearer key and returns the results as JSON (title, url, snippet, and a published date where the page states one). Arguments: query, plus optional max_results and speed ("fast" for the cheaper tier).
  2. SpecStreamExtractTool: calls POST https://api.specstream.ai/v1/extract with {"urls": [...]} and returns the text of each page.

The shape follows the tools already in the package:

  • one folder per tool under src/crewai_tools/tools/ with __init__.py, the tool module and a README.md, like tavily_search_tool and tavily_extractor_tool;
  • plain requests calls with no new dependency, an env_vars entry for SPECSTREAM_API_KEY and the same error handling as brave_search_tool/base.py;
  • exports in crewai_tools/__init__.py and tools/__init__.py, entries in tool.specs.json and the package README;
  • unit tests under tests/tools/ that mock requests the way brave_search_tool_test.py does, so no test makes a live call;
  • a docs page under docs/edge/en/tools/search-research/ next to bravesearchtool.mdx, with the translations that DOCS_TRANSLATIONS.md asks for.

The pricing a user would see: $5 per 1,000 searches, $1 per 1,000 with speed="fast", and $0.80 per 1,000 extracted pages. API reference: https://specstream.ai/docs

Describe alternatives you've considered

Users can point an existing tool at SpecStream today only where that tool lets them change its base URL, and the results then come back in the other vendor's shape without the published date. A small dedicated tool keeps the parameters and output honest to the API, the same way Brave, Exa, Tavily and Linkup each have their own tool.

Additional context

Disclosure: I work on SpecStream, so this is a vendor interest.

If a maintainer agrees, I will open one focused PR that links this issue, with tests passing under uv run pytest lib/crewai-tools/tests/ -x -q and uv run mypy. If you would rather keep vendor tools in the community repo that was mentioned in #7569, I am happy to wait for that instead. Cheers.

Willingness to Contribute

Yea, I'd be happy to submit a pull request

Specstreamai avatar Nov 14 '26 10:11 Specstreamai

Thanks for reaching out! This request is a better fit for the CrewAI Community Tools repository.

Please open an issue there and submit any corresponding pull request there as well.

github-actions[bot] avatar Nov 18 '26 03:11 github-actions[bot]