DeepSeek Harness 插件

anysearch-dsh

AnySearch web search provider and advanced tools for DeepSeek Harness(英文原文)

跳到安装方式

来源信息

GitHub 仓库
anysearch-team/anysearch-dsh
最近更新
2026年8月21日
分类
工具与能力
GitHub stars
195
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/anysearch-team/anysearch-dsh
插件名:anysearch-dsh
作者:anysearch-team

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

<div align="center"> <a href="https://anysearch.com"><img src="docs/assets/anysearch-logo.svg" alt="AnySearch logo" width="96" height="96"></a> <h1>@anysearch/anysearch-dsh</h1> <p>AnySearch-powered real-time web and vertical search for DeepSeek Harness.</p> <p><a href="https://anysearch.com"><img src="https://img.shields.io/badge/AnySearch-AI_Search-485DC9.svg?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzQ4NzZfNzgwKSI+CjxwYXRoIGQ9Ik02IDguNUgzLjVWMy41SDguNVY2SDExVjFIMVYxMUg2VjguNVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMSA4LjVIOC41VjExSDExVjguNVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik02IDguNUgzLjVWMTFINlY4LjVaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMy41IDFIMVYzLjVIMy41VjFaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNOC41IDFIMy41VjMuNUg4LjVWMVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMSAxSDguNVYzLjVIMTFWMVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMSAzLjVIOC41VjZIMTFWMy41WiIgZmlsbD0id2hpdGUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF80ODc2Xzc4MCI+CjxyZWN0IHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K" alt="AnySearch AI Search"></a> <a href="https://www.npmjs.com/package/@anysearch/anysearch-dsh"><img src="https://img.shields.io/npm/v/%40anysearch%2Fanysearch-dsh?logo=npm" alt="npm version"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT license"></a> <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://img.shields.io/badge/DeepSeek-Harness-4F46E5" alt="DeepSeek Harness plugin"></a></p>

<p><strong>English</strong> | <a href="README.zh-CN.md">简体中文</a></p>

</div>

@anysearch/anysearch-dsh connects AnySearch to DeepSeek Harness as a plugin. Keep using Harness's native web_search and web_fetch while gaining real-time web search, cleaned URL content, vertical search, and concurrent batch search.

AnySearch is search infrastructure for AI agents, covering the public web and specialized data sources across code, finance, academia, law, security, and more.

Quick start

For AI Agents

# Fetch the complete installation guide, read it end to end, and then follow it step by step:
curl -fsSL https://raw.githubusercontent.com/anysearch-team/anysearch-dsh/refs/heads/main/docs/agent-installation.md

For Humans

Install the plugin into the web profile:

npx -y @deepseek-ai/dsh plugin --profile web add @anysearch/anysearch-dsh

Start DeepSeek Harness:

npx -y @deepseek-ai/dsh web

No API key is required for a quick start. Requests use AnySearch's anonymous quota until you configure one.

What you get

  • Through Harness's built-in web_search, AnySearch returns results with titles, snippets, and URLs for easy citation.
  • Through Harness's built-in web_fetch, AnySearch Extract retrieves and cleans the content of a specific public HTTP(S) URL.
  • Discover searchable domains, vertical categories, and supported parameters in real time, then run advanced searches using tags, regions, languages, and structured parameters.
  • Run one to five searches concurrently; an individual failure does not affect the other results.
  • Advanced search can return cleaned page content on demand for deeper research.

Optional API key

Try it without an API key.

Sign up for an AnySearch account and configure an API key to get 1,000 free search calls per day.

Sign up or sign in at anysearch.com, then visit API Keys to get one. Store the key in $DSH_HOME/.credentials.yaml (~/.dsh/.credentials.yaml by default):

ANYSEARCH_API_KEY: "as_sk_your_key"

The plugin resolves the managed credential for every operation, so credential rotation reaches the next request without restarting DSH. A launching ANYSEARCH_API_KEY environment variable has higher priority.

Inspect the composed profile without exposing the credential value:

npx -y @deepseek-ai/dsh --profile web --dump-config

Tools

Use caseHarness tool
Ordinary web searchweb_search
Fetch and clean a specific URLweb_fetch
Discover available domains and tagsanysearch_capabilities
Vertical or parameterized searchanysearch_search
Run one to five searches togetheranysearch_batch_search

For ordinary prompts, let Harness select the tool. Models can discover live domain and parameter definitions before making a specialized search.

Environment requirements

Requires Node.js 22.19 or Node.js 24+, pnpm 11.7, and DeepSeek Harness. The DSH plugin command uses pnpm to manage profile dependencies, so pnpm must be available on PATH.

Windows, Linux, and macOS use the same installation command. Before installing, ensure that Node.js, npx, and pnpm can all be run directly from PATH.

Configuration

The bundled profile layer automatically selects AnySearch as the existing ctx.web search and fetch provider, enables web_fetch, and mounts the advanced tools, so no changes are required by default.

To customize it, ask an AI assistant—or edit it manually—to add the complete block below to the target DSH profile's user configuration layer, overriding the bundled id: web-search-anysearch entry. Keep the id unchanged, replace the complete config, and do not add a second AnySearch provider under a different ID:

- id: web-search-anysearch
  config:
    apiKeyEnv: ANYSEARCH_API_KEY
    baseURL: https://api.anysearch.com
    maxRenderedContentChars: 12000
FieldDefaultPurpose
apiKeyEnvANYSEARCH_API_KEYDSH credential reference; missing uses anonymous access
baseURLhttps://api.anysearch.comAnySearch API base URL
maxRenderedContentChars12000Maximum cleaned-content characters rendered to the model per advanced tool call

Manage the plugin

Update:

npx -y @deepseek-ai/dsh plugin --profile web update @anysearch/anysearch-dsh

Remove:

npx -y @deepseek-ai/dsh plugin --profile web remove @anysearch/anysearch-dsh

Compatibility and limitations

  • DeepSeek Harness is in developer preview and may make compatibility-breaking changes.
  • URL extraction is exposed through Harness's provider-neutral web_fetch; the plugin does not add a duplicate anysearch_extract tool.
  • Configure the API key through DSH-managed credentials or an environment variable; the DSH settings page does not currently provide a third-party Provider credential field.

Documentation

  • [Chinese user guide](docs/user-guide.zh-CN.md)
  • [DSH plugin, Skill, MCP, and HTTP integration comparison](docs/integration-options.zh-CN.md)

Community & Support

Join the AnySearch community to share your experience, report issues, and get technical support.

  • GitHub Issues: submit bug reports and usage feedback.
  • WeChat Group: scan the QR code below and complete the group survey; staff will invite you after review.
  • Discord Community: scan the QR code or follow the link to join directly.

<div align="center"> <table> <tr> <td align="center"><strong>WeChat group survey</strong><br><img src="docs/assets/wechat-community-qr.jpg" alt="WeChat group survey QR code" width="180"></td> <td align="center"><strong>Discord invite</strong><br><img src="docs/assets/discord-community-qr.png" alt="Discord invite QR code" width="180"></td> </tr> </table> </div>

Development

git clone https://github.com/anysearch-team/anysearch-dsh.git
cd anysearch-dsh
pnpm install
pnpm run check

The live AnySearch E2E suite is opt-in. Run it without ambient credentials in anonymous mode:

ANYSEARCH_E2E=1 ANYSEARCH_E2E_ANONYMOUS=1 pnpm run test:e2e

License

[MIT](LICENSE)