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

# SpecStream for smolagents

SpecStream is the live web data engine for teams and agents. ApiWebSearchTool takes an endpoint. Give it SpecStream's Brave address and your smolagents agents search through SpecStream's Search API.

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

## What you get

One argument to change

Set endpoint and api\_key\_name on ApiWebSearchTool. The tool's name, output and prompts stay the same.

Brave's shape, as the tool reads it

Results come back as web.results with title, url and description.

Pages read for the agent

A small tool sends URLs to the Extract API and gets each page's main text as Markdown.

Status

Live

Category

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

Built by

SpecStream

You need

Python with smolagents, and a SpecStream account.

Pricing

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

Setup guide

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

Help

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

## Set it up

1.  Get a SpecStream API key on the Search API screen and set it as SPECSTREAM\_API\_KEY.
2.  Create ApiWebSearchTool with endpoint https://api.specstream.ai/res/v1/web/search and api\_key\_name SPECSTREAM\_API\_KEY.
3.  Add the tool to your CodeAgent or ToolCallingAgent and run it.

[The full setup guide](https://specstream.ai/docs/integrations/smolagents.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)
-   [LangChain](https://specstream.ai/integrations/langchain.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)
-   [See all](https://specstream.ai/integrations.md#frameworks)

## Live web data, in smolagents.

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

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