> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/integrations/langchain. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# SpecStream for LangChain

SpecStream is the live web data engine for teams and agents. langchain-specstream adds tools and a retriever to LangChain, so your agent can ask for data in plain words and get every match from the live web, under a price cap the model can't raise.

[Read the guide](https://specstream.ai/docs/langchain.md)

## What you get

Matches as Documents

SpecStreamRetriever turns each match into a Document with its facts in page\_content and its source\_url in metadata.

The cap stays in Python

When a quote tops max\_price\_usd, the agent gets the price back and can ask for fewer rows or tell the user.

Schedules through MCP adapters

Load the whole SpecStream server with langchain-mcp-adapters when the agent should also keep results up to date, export them, or fill in records you already hold.

Status

Live

Category

[Agent frameworks & builders](https://specstream.ai/integrations.md#frameworks)

Built by

SpecStream

You need

Python 3.10+, LangChain 0.3 or 1.x, and a SpecStream API key.

Pricing

[You pay for the matches](https://specstream.ai/pricing.md)

Setup guide

[Read the guide](https://specstream.ai/docs/langchain.md)

Help

[Talk to a human](https://specstream.ai/talk-to-a-human.md)

## Set it up

1.  Run pip install -U langchain-specstream on Python 3.10 or later, with LangChain 0.3 or 1.x.
2.  Export SPECSTREAM\_API\_KEY with a key made under Agents & API in SpecStream.
3.  Pass specstream\_tools(max\_price\_usd=5) to create\_agent, or call SpecStreamRetriever from a chain.

[The full setup guide](https://specstream.ai/docs/langchain.md) has every step, with what to do if something doesn’t arrive.

## Also in Agent frameworks & builders

The same live web data, in the other tools of this kind.

-   [OpenAI API](https://specstream.ai/integrations/openai.md)
-   [OpenAI Agents SDK](https://specstream.ai/integrations/openai-agents-sdk.md)
-   [LlamaIndex](https://specstream.ai/integrations/llamaindex.md)
-   [CrewAI](https://specstream.ai/integrations/crewai.md)
-   [Vercel](https://specstream.ai/integrations/vercel.md)
-   [Haystack](https://specstream.ai/integrations/haystack.md)
-   [Amazon Bedrock AgentCore](https://specstream.ai/integrations/amazon-bedrock-agentcore.md)
-   [See all](https://specstream.ai/integrations.md#frameworks)

## Live web data, in LangChain.

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

[Read the guide](https://specstream.ai/docs/langchain.md)[Talk to a human](https://specstream.ai/talk-to-a-human.md)
