cnChenKai/dsh-web-search-tavily

DeepSeek Harness(ctx.web)的Tavily驱动WebSearchProvider——无密钥模式,无需API密钥

项目介绍Project Overview

DSH 插件 dsh-web-search-tavily 为 DeepSeek Harness 的 web 能力接缝提供 Tavily 后端搜索,将内置 web_search 工具切换到 Tavily API。支持无密钥模式与 TAVILY_API_KEY 升级模式,密钥每次请求重新解析,默认 search_depth 为 basic。需要 dsh 配置文件设置 searchProvider: tavily。

dsh-web-search-tavily is a DSH plugin that swaps DeepSeek Harness's built-in web_search tool to Tavily's search API through the ctx.web seam. It supports keyless mode via the X-Tavily-Access-Mode header and an optional TAVILY_API_KEY upgrade with 1,000 monthly credits, resolving the key per request. Default params follow Tavily's agent guidance. Requires setting searchProvider: tavily in the profile's cordis.patch.yml.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-web-search-tavily

cnChenKai/dsh-web-search-tavily 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-web-search-tavily

npm version npm downloads GitHub stars License

English | 中文

A Tavily-backed search provider for the DeepSeek Harness web capability seam (ctx.web): it makes the built-in web_search tool run on Tavily's search API instead of the shipped DeepSeek route.

Features

  • Keyless mode - no API key needed at all: the provider sends the official X-Tavily-Access-Mode: keyless header when no key is configured. Responses are identical to keyed ones.
  • Keyed upgrade - set TAVILY_API_KEY in ~/.dsh/.credentials.yaml or the environment to use the keyed tier (1,000 free credits/month at app.tavily.com). The key is resolved fresh for every search.
  • Official defaults - search_depth: basic (1 credit), include_answer: false, max_results: 5, chunks_per_source: 3, per Tavily's agent guidance.

Install

dsh plugin --profile web add dsh-web-search-tavily

Then set your API key (optional - keyless mode works without one):

# ~/.dsh/.credentials.yaml
TAVILY_API_KEY: tvly-...

Select the provider (the bundle patch does this automatically; to switch manually):

# your profile's cordis.patch.yml
- id: web
  name: '@deepseek-ai/dsh-web'
  config:
    searchProvider: tavily

License

MIT

上一个 Prev dsh-suggest-prompt 下一个 Next dsh-pixel-ui