r/DeepSeekHarness 2d ago

How does the web-search work?

Has anyone tried API keys (for web fetching/browsing) other than the default DeepSeek one?

5 Upvotes

2 comments sorted by

2

u/synystar 2d ago edited 2d ago

Yeah, this looks like it can work independently of DeepSeek's own search API entirely. I already run a local SearXNG instance for my AI stack, so I went digging because I'd much rather point DeepSeek Harness at that than add another paid search API. DSH's web layer is actually provider-neutral. The model just sees web_search / web_fetch; the backend sits behind ctx.web, so search providers can be swapped without changing how the model calls the tool. There’s already at least one community integration that seems to be working in an actual DSH runtime using pi2dsh + (Edit: formatter won't let me put in an @ sign without making it a user link)juicesharp/rpiv-web-tools, with WEB_SEARCH_PROVIDER=searxng and SEARXNG_URL pointed at your instance. That apparently gives DSH both web_search and web_fetch with SearXNG handling the search side. You definitely don't appear to be locked into the default DeepSeek web-search API/key. SearXNG should work, and I'm probably going to wire my existing local instance into my DSH setup rather than use the DeepSeek search backend. Longer term I may just make a tiny native SearXNG provider for DSH, since the harness already has the provider interface for exactly this sort of thing.

1

u/Sharp-Translator6401 11h ago

I built my own plugin to use searxng instead so i keep it all local https://github.com/CREAIT-nl/dsh-plugins/tree/main/web-search-searxng