web=True; PraisonAI routes searches through DuckDuckGo, Tavily, Serper, or a custom provider.
How It Works
Quick Start
1
Simple Usage
Give your agent web search with the default DuckDuckGo provider:
2
Switch providers via config
Select Tavily or Serper from the CLI or bot config:
3
Register a custom search provider
Distribute a custom provider as a pip plugin:
Built-in Providers
Entry-point group:
praisonai.tools.search
Which Provider Should I Pick?
Best Practices
Store API keys in the environment
Store API keys in the environment
Set
TAVILY_API_KEY or SERPER_API_KEY in your shell or deployment secrets — never hard-code keys in agent instructions.Fall back to DuckDuckGo
Fall back to DuckDuckGo
The registry falls back to
duckduckgo when an unknown provider name is requested — useful for resilient bot configs.Cache repeated queries
Cache repeated queries
For high-volume agents, cache search results in Redis or session memory to avoid rate limits on paid providers.
Related
Tool Search
Progressive disclosure when agents have many MCP tools
Endpoint Provider Registry
Plug custom endpoint types into serve / discovery

