crewai-specstream
SpecStream is the live web data engine for teams and agents. One platform to build, search, extract, enrich, map, and monitor data across the entire web. Ask for any dataset in plain words, and SpecStream builds it from the entire live web: every match found, extracted and enriched into structured records, then monitored for change. Source URL and read time on every value.
pip install -U crewai-specstream
export SPECSTREAM_API_KEY=ss_live_... # Agents & API in your SpecStream workspace
A free account comes with $10 of credit to use within 30 days and needs no card: specstream.ai. Works with CrewAI 1.x on Python 3.10 – 3.13.
A crew that can find lists
from crewai import Agent, Crew, Task
from crewai_specstream import specstream_tools
analyst = Agent(
role="Funding analyst",
goal="Answer questions about who is raising money, with a source for every claim",
backstory="You work from lists, not from memory. You cite the page each row came from.",
tools=specstream_tools(max_price_usd=5),
)
task = Task(
description=(
"Find US startups that raised $5M or more in a Form D filed after October 8, 2026. "
"Which industries lead? Link the filing for each company you name."
),
expected_output="The three leading industries, with the companies and their filing links.",
agent=analyst,
)
print(Crew(agents=[analyst], tasks=[task]).kickoff().raw)
The agent writes the request and picks how many rows. You decide what one list may cost. The agent uses your default model; pass llm="..." to Agent to choose another.
What comes back
One flat row per match: the list's own columns, then where the row was read. This is a real row from the request above.
{
"list_id": "fnd_gk5y3d0r97bvyz0t08zzh75kr6",
"position": 26,
"Organization": "RapidCanvas Inc",
"Published address": "801 BARTON SPRINGS RD, AUSTIN, TEXAS, 78704",
"Source industry classification": "Other Technology",
"Amount sold (USD)": "28999988",
"Funding filing date": "2026-10-14",
"source_url": "https://www.sec.gov/Archives/edgar/data/2052031/000205203126000006/primary_doc.xml",
"checked_at": "2026-10-14T19:56:02.016693Z",
"list_link": "https://specstream.ai/workspace/collections/fnd_gk5y3d0r97bvyz0t08zzh75kr6"
}
Columns follow the request. Ask for "breweries in Portland, Oregon that host events, with their website" and the rows carry the brewery and its website instead. A fact a source doesn't publish comes back empty, never guessed.
The four tools
| Tool | The model gives | What happens | Cost |
|---|---|---|---|
specstream_web_search |
q, passages |
Calls GET /v1/web-search and returns the answer, matching rows, ranked sources and optional page passages |
$5 per 1,000 searches |
specstream_extract_pages |
urls, format |
Calls POST /v1/extract and returns the clean main text, title and published date of 1 to 20 web pages, PDFs, Word or Excel files |
$0.80 per 1,000 pages (empty pages free) |
specstream_find_list |
request, max_results (1 to 1000, default 25) |
Reads the request, prices it, starts it only within max_price_usd, waits up to wait_seconds (7 minutes by default) and returns every row |
Only delivered rows |
specstream_get_list_results |
list_id |
Every row found so far, for a list that was still running | Free |
When the price is above your maximum, nothing runs: the tool returns the price, so the agent can ask for fewer rows or tell the user. When a request is too vague to price ("clinics"), it returns how SpecStream read it, so the agent can add the place or the conditions.
Use the classes directly when you want different settings per tool:
from crewai_specstream import SpecStreamFindListTool, SpecStreamGetListResultsTool
find = SpecStreamFindListTool(max_price_usd=20, wait_seconds=600)
results = SpecStreamGetListResultsTool()
Both read SPECSTREAM_API_KEY; pass api_key="..." to use another. The key is stored as a secret, so it stays out of reprs and dumps, and it is sent only in the Authorization header.
In a crew project
Give the tools to an agent in your @CrewBase class the way you would any other:
from crewai import Agent
from crewai.project import CrewBase, agent
from crewai_specstream import specstream_tools
@CrewBase
class LeadCrew:
@agent
def researcher(self) -> Agent:
return Agent(config=self.agents_config["researcher"], tools=specstream_tools(max_price_usd=5))
The tools also implement CrewAI's async hook (_arun) and run their requests in a worker thread, so an async crew's event loop isn't blocked while a list runs.
Money, plainly
max_price_usdlives on the tool, in your code. The model never sees it and can't change it.- You pay for rows that match. Candidates SpecStream couldn't confirm are left out and aren't billed.
- A retried step asking for the same list within the hour gets the list it already started, not a second bill. That covers CrewAI retrying a failed tool call.
- CrewAI caches tool calls by their arguments. These tools cache a list only once it has finished, so a list that was still running is read again instead of replayed.
- Rates and plans: specstream.ai/pricing.
When to reach for it
When the answer is many things that meet conditions: companies in a city, clinics with a service, funding filings, open grants, tenders, repositories, people in a role. For a single fact or a summary of one page, a search tool fits better.
More
- SpecStream docs and the CrewAI page
- Agents outside CrewAI: the MCP server at
https://api.specstream.ai/mcp - The Python SDK for everything else in the API
- Questions: support@specstream.ai
MIT licensed. Made by SpecStream, the live web data engine for teams and agents.
Metadata
Release files for crewai-specstream 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crewai_specstream-0.2.0.tar.gz | 14.4 kB | With provenance | Details for crewai_specstream-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crewai_specstream-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for crewai_specstream-0.2.0-py3-none-any.whl |
Total release size: 27.2 kB
Release files / crewai_specstream-0.2.0.tar.gz
| Download URL | crewai_specstream-0.2.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45278c5d3c2bd5ac19719152ef81ce61ddf4acb65897f2f0724232690a0ba267
|
|
BLAKE2b-256 checksum How to use checksums |
ad11b4ea49938fb3786b96ddedf5f2ca39e09119bfb920016f19eac3dc08e53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / crewai_specstream-0.2.0-py3-none-any.whl
| Download URL | crewai_specstream-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77846582a448db5cb8159ee3afcaeeb70435775ec1ef06c36b38676ec8b82a7c
|
|
BLAKE2b-256 checksum How to use checksums |
dcadc4785f6429a85b7ba10dfc20e1f91511990e9a935ec12f50a1c370e8d37c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for crewai-specstream 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for crewai_specstream-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.