Back to home

anysearch-team

anysearch-dsh

AnySearch web search provider and advanced search tools for DeepSeek Harness (DSH)

Stars
18
Language
TypeScript
Created
Aug 13, 2026
Updated
Aug 14, 2026

Introduction

AnySearch logo

@anysearch/anysearch-dsh

Official AnySearch web search plugin for DeepSeek Harness.

AnySearch AI Search npm version MIT license DeepSeek Harness plugin

English | 简体中文

@anysearch/anysearch-dsh connects AnySearch to DeepSeek Harness. It powers Harness's native web_search and adds capability discovery, vertical search, and bounded batch search.

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

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.

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

  • Native AnySearch results through Harness's built-in web_search.
  • Live capability and vertical-search discovery.
  • Advanced search with tags, parameters, region, and language.
  • Concurrent batches of one to five searches with partial-failure handling.
  • Optional cleaned page content with a 200,000-character canonical response cap and a configurable rendering budget.
  • Caller cancellation, a 55-second HTTP deadline, 60-second advanced-tool budgets, response validation, and redirect-safe credential handling.

Optional API key

The plugin works without an API key using AnySearch's anonymous quota. For account-level quota, add the credential to $DSH_HOME/.credentials.yaml (~/.dsh/.credentials.yaml by default):

Need an API key? Sign up or sign in at anysearch.com, then visit API Keys to get one.

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

Configuration

The bundled profile layer automatically selects AnySearch as the existing ctx.web provider 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.
  • This plugin currently does not provide anysearch_extract.
  • 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

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