Introduction

DeepSeek Harness (DSH) uses a plugin-based architecture. The native web_search capability usually requires extra configuration or is limited to specific environments. The tokens_DshWebSearch_code plugin aims to solve this problem, providing Harness with plug-and-play multi-source search capability without the need to build complex remote services.

Plugin Purpose

This is a locally maintained web search plugin, with the npm package name tokens-dsh-web-search. It modifies DSH’s runtime configuration to inject multiple search sources into the native web_search feature, enabling seamless switching from free search engines to various API-based search services.

Core Features

  • Multi-source search support: Provides search sources such as Bing, DuckDuckGo, AnySearch, and SearXNG for the native web_search.
  • API integration: Supports Exa, Tavily, Keenable, Perplexity, and DeepSeek API search.
  • Advanced filtering and caching: Supports time-range filtering, platform search, web page extraction, and result caching.
  • Settings page management: Allows switching between different search engines in DSH’s settings page.

Installation and Activation

Before installation, make sure DeepSeek Harness Desktop is installed in the local environment and Node.js version is >= 20.

  1. Open a terminal and navigate outside the project directory.
  2. Run the following command to install the plugin (replace the path with the actual file path):
    dsh plugin --profile desktop add file:C:\path\to\tokens_DshWebSearch_code
  1. After installation is complete, restart DSH Desktop to apply the changes.

Typical Usage

After the plugin is installed, it automatically patches Harness and sets web.searchProvider to ddg (DuckDuckGo) by default.

In practical use, you can manually select a specific search engine in the settings page provided by the plugin. If you need to use services such as Exa, Tavily, or the DeepSeek API, enter the corresponding API key in the relevant setting.

Notes

  • Maintenance approach: Code updates are fully maintained by this repository and do not include remote version checking or one-click upgrade logic.
  • Restart requirement: After plugin changes, DSH Desktop must be restarted to load the new code.
  • Environment dependency: Requires Node.js >= 20.

Conclusion

By using locally maintained code and comprehensive source support, this plugin lowers the barrier to integrating web search for DSH agents. The related directory and source code are hosted on SkillHub and GitHub.