Files
Alessandro Frau 58df763237 Add hosted providers to web search
Add Brave Search, Perplexity Fast, and DeepSeek Search to Search Engine settings. Keep SearXNG as the default and route every provider through the shared CLI and existing JSON contract. Preserve the old SearXNG command as an alias.

Store provider keys through the framework's dotenv helper and cover provider routing, response normalization, and status checks with regression tests.
2026-12-01 20:24:09 +01:00
..
2026-12-01 20:24:09 +01:00
2026-12-01 20:24:09 +01:00
2026-12-01 20:24:09 +01:00
2026-12-01 20:24:09 +01:00
2026-12-01 20:24:09 +01:00
2026-12-01 20:24:09 +01:00

Web Search

The web-search skill runs python -m plugins._search_engine.search 'query' from the Agent Zero repository root in the local terminal. Results are JSON with query, up to ten results (title, url, content), and unresponsive_engines.

Choose a provider under Settings → External Services → Search Engine → Config.

  • SearXNG is the default and works without an API key. First use installs dependencies in a private sandbox. SearXNG setup
  • Brave Search returns ranked web results. Set the key in settings or provide BRAVE_SEARCH_API_KEY in the environment.
  • Perplexity Search uses its direct Search API in Fast mode. Set the key in settings or provide PERPLEXITY_SEARCH_API_KEY or PERPLEXITY_API_KEY in the environment.
  • DeepSeek Search uses the standalone Search API, which accepts queries up to 128 characters. Set the key in settings or provide DEEPSEEK_SEARCH_API_KEY or DEEPSEEK_API_KEY in the environment.

The settings form stores keys in usr/.env. Leave the password field blank when changing providers to retain any existing keys. Each query uses the selected provider. With a hosted provider, it goes to that provider and may be billed to your API account.

--status checks readiness without sending a query. For SearXNG it reports sandbox progress; for hosted providers it checks that a key is configured. The former plugins._searxng.search command delegates to the same CLI.

There is no search_engine agent tool. WebUI handlers remain for displaying saved search-tool messages.