Skip to content

Search Toolset

The Search toolset provides web and news search capabilities using various search providers.

Basic Usage

agents:
  researcher:
    toolsets:
      - type: search
        provider: tavily

Supported Providers

  • tavily - Tavily AI search
  • brave - Brave Search
  • searxng - SearXNG meta search
  • serper - Serper.dev Google search
  • you - You.com search
  • tavily - Tavily news search
  • brave - Brave News
  • serper - Serper news
  • newsapi - NewsAPI.org

Configuration

Web Search Only

toolsets:
  - type: search
    provider: tavily
    api_key: ${TAVILY_API_KEY}

News Search Only

toolsets:
  - type: search
    news_provider: newsapi
    news_api_key: ${NEWSAPI_KEY}

Both Web and News

toolsets:
  - type: search
    provider: brave
    api_key: ${BRAVE_API_KEY}
    news_provider: newsapi
    news_api_key: ${NEWSAPI_KEY}

Configuration Reference

Search Toolset

Configuration for web/news search toolset.

Search Toolset (YAML)
1
2
3
4
5
toolsets:
- type: search
  web_search: null  # Web search provider configuration.
  news_search: null  # News search provider configuration.
  namespace: null  # Optional namespace prefix for tool names

Environment Variables

Most providers require API keys. You can provide them directly or via environment variables:

Provider Environment Variable
Tavily TAVILY_API_KEY
Brave BRAVE_API_KEY
Serper SERPER_API_KEY
NewsAPI NEWSAPI_KEY