openworker icon indicating copy to clipboard operation
openworker copied to clipboard

Add Serply as a web search provider

Open googio opened this issue 1 month ago • 1 comments

Add Serply as a keyed web_search provider alongside serper and brave.

Same shape as the existing keyed providers: a SerplyProvider class and one _PROVIDERS entry. It calls Serply's Google web search endpoint and maps results[].title/link/description into SearchResult. duckduckgo stays the default, so nothing changes for anyone who does not pick it.

Config

web_search_provider = "serply"

Key via SERPLY_API_KEY or the existing SecretStore web_search:default profile. Settings already lists provider_names(), so it shows up there without extra wiring.

Scope

  • coworker/web/providers.py: provider and registry entry
  • api.serply.io in PROVIDER_HOSTS and the sandbox's SEARCH_APIS, so the allowed-sites wall knows it
  • exports and the two config comments
  • unit test for the request shape and result parsing (mocked HTTP)

I have this ready and will open the PR linked to this issue. Disclosure: I work with Serply. API docs: https://serply.io/docs

googio avatar Oct 27 '26 20:10 googio

PR: #801

googio avatar Oct 27 '26 20:10 googio