Skip to main content
WebSearchTools is a versatile toolkit that enables an Agent to search the web using multiple search backends. It uses the DDGS meta-search library which supports backends like Google, Bing, DuckDuckGo, Brave, Yandex, Yahoo, and more. This is the recommended toolkit for general web search functionality. For DuckDuckGo-specific usage, see DuckDuckGoTools.

Prerequisites

The following example requires the ddgs library. To install it, run the following command:

Example

Toolkit Params

Toolkit Functions

Supported Backends

The backend parameter supports the following options:

Developer Resources