docs/guides/configure-web-search.md
nanobot includes built-in web search and web fetch tools. Search uses DuckDuckGo by default and can be configured for API-backed or self-hosted providers.
config.jsonConfigure web search when the agent needs current information, public web research, source discovery, or page fetching during a task.
python -m pip install nanobot-ai
nanobot onboard --wizard
nanobot agent -m "Hello!"
Web tools are enabled by default. Configure them only when you want a specific provider, API key, proxy, fetch behavior, or SSRF allowlist.
For local interactive setup:
nanobot webui.For manual or deployment-managed config, use the default search provider:
{
"tools": {
"web": {
"enable": true,
"search": {
"provider": "duckduckgo"
}
}
}
}
Or use an API-backed provider:
{
"tools": {
"web": {
"search": {
"provider": "brave",
"apiKey": "${BRAVE_API_KEY}"
}
}
}
}
Ask a question that requires current information and inspect the tool activity in the WebUI or logs.
maxResults when you need fewer or more search results per query.tools.web.proxy only to a proxy you trust.fetch.useJinaReader: false if you need local page conversion.tools.ssrfWhitelist only for narrow trusted CIDRs.NO_PROXY and proxy settings.