dshbase

插件目录 / Developer / anysearch-dsh

anysearch-dsh

已验证 · 实测可装 anysearch-team

✓ 持续维护 2 位贡献者 基于 7 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

434Stars
11Forks
6未关闭 issue
TypeScript语言
2026-09-20最近推送
跨平台平台

功能简介

AnySearch搜索提供方及高级搜索工具

✅
我们的评价
推荐 — 实测可用且热门

AnySearch搜索提供方及高级搜索工具 实测能干净安装、正常启动。434+ stars,社区认可度高,是低风险选择。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

  • 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 preserves useful structured results without source URLs, while page-backed results can return cleaned content on demand.

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

  • 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

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.
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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 anysearch-dsh」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

Web profile:

dsh plugin --profile web add @anysearch/anysearch-dsh

Headless(CLI)profile:

dsh plugin --profile headless add @anysearch/anysearch-dsh

包信息

npm:@anysearch/anysearch-dsh · 版本 — · 实测环境 dsh 0.1.0-rc.6

实测报告

端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。

使用场景

给 agent 一个可配置的搜索提供方加高级工具,让你选后端和查询整形。

适合谁

有偏好的搜索 API、或需要对结果抓取与排序做精细控制的人。

二次开发建议

加提供方、自定义查询预处理——适配层就是设计来换的。

✓ 低风险 静态扫描 · 25 个文件 · 2026-09-29

分享徽章

Developer 里更多

浏览全部 7797 个插件 →