AI Agent Hub
Back to plugins
🧰

dsh-web-search-session-follow

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install NattoCB/dsh-web-search-session-follow

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install NattoCB/dsh-web-search-session-follow inside your DeepSeek Harness setup to install; full docs and configuration reference at https://github.com/NattoCB/dsh-web-search-session-follow

About this plugin

The built-in web_search in DeepSeek Harness hardcodes the DeepSeek official endpoint and credentials, so any self-hosted gateway or alternative provider will fail authentication with no way to override. dsh-web-search-session-follow replaces that backend so every call reads the session's routed provider and model in real time, using that provider's own endpoint, credential reference, and wire dialect.

Core capabilities: per-session routing across two protocol dialects (anthropic-web-search and openrouter-online); transparent fallback to the built-in official path for unrecognized providers with a two-hop error message; credential resolution across literal key, credentials service, and environment variable planes; and a local JSONL audit log that never writes custom event types into the session log, avoiding SessionFormatUnsupportedError on cold reads.

Ideal for teams running DSH with non-DeepSeek gateways, multi-provider routing, or OpenRouter proxies. Enable by pointing the search selector at this plugin in cordis.patch.yml; remove the override to revert.

Use Cases

  • Built-in search fails authentication on a self-hosted gateway and needs a swappable backend
  • Multi-provider routing that auto-selects the matching search endpoint and dialect per session
  • Routing search through an OpenRouter proxy with server-side web search

Best For

  • Developers running DSH with a non-DeepSeek gateway
  • Teams that switch between multiple model providers within one session
  • Users relying on OpenRouter or similar aggregators for web search capabilities