pydantic-ai-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. It runs through the API and MCP, and inside Sheets, CRMs, Slack, n8n, Zapier and the other tools teams already use.
Source URL and read time on every value.
Three products:
- Search API:
GET /v1/web-search, $5 per 1,000 searches. The most accurate web search API in the world (scores and method: https://specstream.ai/benchmarks). - Extract API:
POST /v1/extract, up to 20 URLs a call (web pages, PDF, Word, Excel), $0.80 per 1,000 pages. A page with no text is not charged. - Deep Search: Ask in plain words. Get every match on the live web, in structured rows. Priced per row.
Install
pip install pydantic-ai-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.
What it adds
| Function | What it gives the agent | Cost |
|---|---|---|
specstream_search_tool() |
A specstream_search tool: calls GET /v1/web-search and returns the answer, matching rows and ranked sources, with page passages when passages=True |
$5 per 1,000 searches |
specstream_extract_tool() |
A specstream_extract tool: calls POST /v1/extract and returns the main text, title and published date of 1 to 20 web pages, PDF, Word or Excel files |
$0.80 per 1,000 pages (pages with no text are free) |
specstream_toolset() |
A FunctionToolset with both tools, for Agent(toolsets=[...]) |
Each function takes api_key (default: the SPECSTREAM_API_KEY environment variable), base_url and a shared httpx.AsyncClient as client. A failed call raises SpecStreamError with the API message.
MIT licensed.
Metadata
Release files for pydantic-ai-specstream 0.1.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 |
|---|---|---|---|---|
| pydantic_ai_specstream-0.1.0.tar.gz | 5.4 kB | With provenance | Details for pydantic_ai_specstream-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydantic_ai_specstream-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pydantic_ai_specstream-0.1.0-py3-none-any.whl |
Total release size: 10.6 kB
Release files / pydantic_ai_specstream-0.1.0.tar.gz
| Download URL | pydantic_ai_specstream-0.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f0218e2475f08371c33e49e8ef1cc3cc25bfc7b65ef5398466d140fdbeac91a
|
|
BLAKE2b-256 checksum How to use checksums |
80b3643cbf28b475bc97a13f7c877d7fef867fb7b95dca0296ded3b1bd6d2921
|
| 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 / pydantic_ai_specstream-0.1.0-py3-none-any.whl
| Download URL | pydantic_ai_specstream-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
153536e98b6e041d7f564cf64ed7bdc91056a1af680cbd4905f53607f1d200c7
|
|
BLAKE2b-256 checksum How to use checksums |
cc9fbad93f0f4ab36c9b32c3b216d5b7b8a291d0df7d050e13bd523f0adde186
|
| 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 pydantic-ai-specstream 0.1.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 pydantic_ai_specstream-0.1.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.