Skip to the page

Web search in Agno

Point Searxng or TavilyTools at SpecStream.

Two of Agno's web search toolkits take an address: Searxng by its host argument, and TavilyTools by api_base_url or the environment variable TAVILY_API_BASE_URL. SpecStream answers both. Our test on November 9, 2026 passed Agno with only the setting changed.

Set TAVILY_API_BASE_URL=https://api.specstream.ai/tavily and TAVILY_API_KEY to your SpecStream key, and your agent's code stays as it is. Or pass host="https://api.specstream.ai/searxng/<key>" to Searxng.

It is the most accurate web search API in the world: 97.9 F-score on all 1,000 SimpleQA Verified questions, at $5 per 1,000 searches. New accounts get $10 of credit, which covers 2,000 searches.

New accounts get $10 of credit, no card. It covers 2,000 searches.

SpecStream next to the search toolkits Agno ships, from each company's own pages and Agno's source on Nov 10, 2026

SpecStreamTavilyExaBrave Search API
What you set in AgnoTAVILY_API_BASE_URL=https://api.specstream.ai/tavily for TavilyTools, or Searxng(host="https://api.specstream.ai/searxng/<key>")TAVILY_API_KEY. With no api_base_url, TavilyTools calls https://api.tavily.comAn API key. ExaTools builds its client with the key alone, with no address argumentAn API key. BraveSearchTools builds its client with the key alone, with no address argument
Price per 1,000 searches$5, with up to 10 results a search$0.008 a credit on pay as you go. A basic search takes 1 credit and an advanced search 2$4, $7 or $12, with up to 10 results, by search type$5 per 1,000 requests
Free to start$10 of credit, no card. It covers 2,000 searches1,000 credits a month, no card$10 of credits every month plus a $10 onboarding bonus, no payment method$5 in free credits every month
What one call counts asOne search of up to 10 results at $0.005. Each 10 results more add $0.006. A call stopped by a 429 charges nothingCredits by the type of request: search, extract or crawlOne request at the base price for up to 10 results, plus $1 per 1,000 requests for each result above 10One request, up to 50 queries per second
What is kept from a searchNothing, on a key with zero retention: no request text and no answer after the reply, in the history or in a log lineIts privacy page says it may use portions of your query data to improve its responses to future queriesIts privacy page says query data is used to improve its products, including by training and fine tuning modelsQueries are never shared or trained on
Who gets zero retentionEvery account. One field on the key, zero_retention, at the same $5 per 1,000Its privacy page says it keeps information for the period necessary to provide and improve the servicesAn Enterprise plan: its security page says to contact salesEnterprise customers

Why Agno builders set SpecStream as their agent's search

Other web search toolkits in Agno

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to set SpecStream as web search in Agno

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Check the key with the call TavilyTools will make.

import requests

reply = requests.post(
    "https://api.specstream.ai/tavily/search",
    headers={"Authorization": "Bearer YOUR_SPECSTREAM_KEY"},
    json={"query": "open source vector databases", "max_results": 5},
).json()

for result in reply["results"]:
    print(result["title"], result["url"], result["content"])

3. Set TAVILY_API_BASE_URL=https://api.specstream.ai/tavily and TAVILY_API_KEY to your SpecStream key where the agent runs. For Searxng, pass host="https://api.specstream.ai/searxng/<key>".

4. Run the agent. Each search is billed as one search on your key, inside the spending limit the key carries.

When an agent needs a whole dataset in place of a results page, write the request in plain words. SpecStream reads it back as the conditions every row must meet, quotes the most it can cost, and delivers the rows after you approve.

Frequently asked questions

Something we didn't answer? Talk to a human

How do I add web search to an Agno agent?
Add TavilyTools or Searxng to the agent's tools and point it at SpecStream: TAVILY_API_BASE_URL=https://api.specstream.ai/tavily, or Searxng(host="https://api.specstream.ai/searxng/<key>"). Our test on November 9, 2026 passed Agno with only the setting changed, and each search costs $0.005.
Which environment variable sets the Tavily address in Agno?
TAVILY_API_BASE_URL. TavilyTools reads it when no api_base_url is passed, and reads the key from TAVILY_API_KEY.
Do I need to host SearXNG for Agno's Searxng toolkit?
No. Pass host="https://api.specstream.ai/searxng/<key>" and SpecStream answers in SearXNG's JSON, at a median of 0.82 s a search on production.
What is the best web search tool for Agno agents?
SpecStream, at 97.9 F-score on all 1,000 SimpleQA Verified questions and $5 per 1,000 searches. It answers Agno's TavilyTools and Searxng at their own address settings, so the agent's code stays as it is.
How much does web search in Agno cost with SpecStream?
$0.005 a search of up to 10 results, at basic or advanced depth, with the answer included. A call stopped by a 429 charges nothing, and new accounts get $10 of credit, no card.
Why is my Agno Tavily search slower than one second?
TavilyTools asks for an advanced search with an answer by default, which SpecStream runs on its default search in about 3 s. Pass search_depth="basic" and include_answer=False and the call runs on the fast search, at a median of 0.82 s.

Sources

SpecStream wrote this page. Each figure on another provider comes from that company's own page, and each Agno setting from Agno's source on GitHub.

  1. Agno Searxng toolkitgithub.com/agno-agi/agno/blob/main/libs/agno/agno/tools/searxng.py, read Nov 10, 2026
  2. Agno Tavily toolkitgithub.com/agno-agi/agno/blob/main/libs/agno/agno/tools/tavily.py, read Nov 10, 2026
  3. Agno Exa toolkitgithub.com/agno-agi/agno/blob/main/libs/agno/agno/tools/exa.py, read Nov 10, 2026
  4. Agno Brave toolkitgithub.com/agno-agi/agno/blob/main/libs/agno/agno/tools/bravesearch.py, read Nov 10, 2026
  5. Agno Serper toolkitgithub.com/agno-agi/agno/blob/main/libs/agno/agno/tools/serper.py, read Nov 10, 2026
  6. Tavily pricingtavily.com/pricing, read Nov 9, 2026
  7. Tavily search endpointdocs.tavily.com/documentation/api-reference/endpoint/search, read Nov 9, 2026
  8. Tavily privacy policytavily.com/privacy, read Nov 9, 2026
  9. Exa pricingexa.ai/pricing, read Nov 9, 2026
  10. Exa privacy policyexa.ai/privacy, read Nov 9, 2026
  11. Exa securityexa.ai/docs/reference/security, read Nov 9, 2026
  12. Brave Search APIbrave.com/search/api/, read Nov 9, 2026
  13. Serperserper.dev/, read Nov 9, 2026
  14. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  15. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  16. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026