anysearch-dsh README

The project's README from github.com/anysearch-team/anysearch-dsh. As one markdown file: README.md.

AnySearch logo

@anysearch/anysearch-dsh

AnySearch-powered real-time web and vertical search for DeepSeek Harness.

AnySearch AI Search npm version MIT license DeepSeek Harness plugin

English | 简体中文

@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

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 case Harness tool
Ordinary web search web_search
Fetch and clean a specific URL web_fetch
Discover available domains and tags anysearch_capabilities
Vertical or parameterized search anysearch_search
Run one to five searches together anysearch_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
Field Default Purpose
apiKeyEnv ANYSEARCH_API_KEY DSH credential reference; missing uses anonymous access
baseURL https://api.anysearch.com AnySearch API base URL
maxRenderedContentChars 12000 Maximum result-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

Documentation

Community & Support

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

WeChat group survey
WeChat group survey QR code
Discord invite
Discord invite QR code

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

anysearch-dsh (anysearch-team/anysearch-dsh)

Searching Database…

这是什么?这是一个把 AnySearch 搜索 API 接入 DeepSeek Harness(DSH)的插件,为智能体提供实时网页搜索、净化后的网页内容提取、垂直/专项搜索以及并发批量搜索。
这是独立应用,还是其他东西的插件?它是 DSH 插件,不是独立应用:它把 AnySearch 替换为 Harness 现有 websearch 和 webfetch 工具背后的服务商,并在此基础上添加新的垂直/批量搜索工具。
怎么把它安装进 DeepSeek Harness?把插件安装到你的 DSH web profile,然后启动 DeepSeek Harness;同一安装命令在 Windows、Linux 和 macOS 上都适用。
添加这个插件之前需要装好什么?你需要 Node.js 22.19 或 24+、pnpm 11.7(PATH 上可访问),以及 DeepSeek Harness 本身,因为插件命令用 pnpm 管理 profile 依赖。
依赖它之前有什么要注意的?DeepSeek Harness 本身仍处于开发者预览阶段,可能引入破坏兼容性的变更;插件刻意不添加单独的 URL 提取工具,因为 Harness 的 webfetch 已经覆盖了该功能。
这个插件面向谁?面向在 DeepSeek Harness 上运行 AI 智能体、希望获得比内置默认更好的网页搜索和研究工具的开发者。
除基本网页搜索外,这个插件还添加了哪些工具?它添加了 anysearch-capabilities 用于发现可搜索的域名和标签、anysearch-search 用于垂直/参数化搜索,以及 anysearch-batchsearch 用于并发运行一至五个搜索且各自独立处理失败。
凭证轮换是怎么工作的?插件在每次操作时都会从 $DSHHOME/.credentials.yaml 读取托管凭证,因此轮换密钥会在下一次请求时生效,无需重启 DSH;如果设置了 ANYSEARCHAPIKEY 环境变量,则优先使用它。
高级搜索能返回完整页面内容而不只是摘要吗?可以,高级搜索可以按需获取净化后的页面内容用于更深入的研究,并且 maxRenderedContentChars 设置(默认 12000)限制了展示给模型的内容量。
Size
0.3 MB
Stars
516
Age
2mo
Commits · 90 Days