Skip to the page

SpecStream for Haystack

SpecStream is the live web data engine for teams and agents. specstream-haystack adds SpecStreamListFetcher to your pipeline and SpecStreamListTool to your agent. Every match from the live web comes back as a Document with its columns.

What you get

Columns as a fields dict
Each Document's meta carries source_url, the time the row was read, and its columns as a fields dict for the next component.
Saves with the pipeline
A pipeline saved to YAML keeps the fetcher's max_price_usd and stores only the name of the env var that holds the key.
Reruns reach the same run
A retried step with the same request and limits reaches the run it started that hour, and its rows are paid for once.

Set it up

  1. Run pip install -U specstream-haystack on Python 3.10 or later, with haystack-ai 2.14 or newer.
  2. Set SPECSTREAM_API_KEY to a key from Agents & API; the components read it through Secret.from_env_var.
  3. Add SpecStreamListFetcher(max_price_usd=3) to a pipeline, or give SpecStreamListTool(max_price_usd=5) to a Haystack Agent.

The full setup guide has every step, with what to do if something doesn’t arrive.

Live web data, in Haystack.

Ask in your own words for companies, places, people, filings or anything else the web lists.