Keenable for DeepSeek Harness: API-Key-Free Web Search and Scraping Plugin

Introduction

DeepSeek Harness (DSH)’s plugin system supports web_search and web_fetch tools. Typically, these tools require a DeepSeek account or API key to run. If running a local model or lacking these credentials, the search functionality will fail. The keenableai/dsh-keenable plugin points DSH’s built-in tools to Keenable’s public endpoint, allowing usage without a key.

Plugin Overview

This plugin bridges DSH’s web_search and web_fetch tools to the Keenable service. It does not add new tools: models ask questions (queries or URLs) in exactly the same way as before, and Keenable handles the responses.

Maintainer: keenableai
License: MIT
Core Value: Provides web search and page scraping capabilities for local models without a DeepSeek account or key.

Core Features

  1. web_search: Returns ranked web results, a summary of each page, and the publication date (if known).
  2. web_fetch: Returns pages in Markdown format. Pages are fetched on the Keenable server, so URLs selected by the model are not requested from the machine running the Harness. Keenable will reject private or internal hosts.

Installation and Activation

Before installation, ensure the environment meets the following requirements:
* DeepSeek Harness 0.1.7-rc.2 or higher
* Node.js 22.12 or higher

Steps:

  1. Run the following command in the terminal to install the plugin to the web profile (if TUI or Headless mode is needed, replace web with the corresponding profile name):
    npx @deepseek-ai/dsh plugin --profile web add @keenable/dsh-keenable
    npx @deepseek-ai/dsh web
  1. Restart the Harness to activate the plugin.

After installation, simply have the model perform search or fetch operations — no further configuration is needed.

Rate Limits and API Key

Keyless Mode:
Requests are sent to Keenable’s public endpoint, limited to 10 requests per second and 1,000 requests per hour per IP. Search and fetch requests are counted separately. Users on the same network share this limit.

Using an API Key:
The API key is optional and is used only to increase rate limits.
1. Create a key at Keenable Console.
2. Set the environment variable KEENABLE_API_KEY in the environment where Harness is launched.
3. Alternatively, enter apiKey in the plugin’s Plugins page settings.

Configuration Options

The plugin provides the following configuration options:

Setting Default Meaning
apiKey $KEENABLE_API_KEY Optional. Switches to the authenticated endpoint.
maxSnippetChars 500 Length of the summary for each search result, ranging from 180 to 10,000 characters.
fetchLive true Whether to fetch pages live from the source site. When disabled, Keenable’s indexed copy is returned (unindexed pages will fail).
maxBodyChars 100000 Maximum number of characters returned by web_fetch. Excess content will be truncated and marked.
baseURL https://api.keenable.ai API address, HTTPS only.

Notes

  1. Privacy: Both search queries and fetched URLs are sent to the Keenable server. Requests are identified by the X-Keenable-Title: dsh-keenable header. Returned content should be treated as untrusted data.
  2. Local Address Restrictions: Keenable does not fetch localhost or private addresses. To handle these addresses, use Harness’s local HTTP fetch provider (see README).
  3. Coexistence Configuration: If you want to retain Harness’s local HTTP fetch provider and use Keenable only for search, you need to override the configuration in cordis.patch.yml.

Summary

This plugin provides DSH users with account-free web retrieval capabilities, making it suitable for local model development scenarios. It works without additional configuration after installation, and rate limits can be lifted by using an API key.

GitHub: https://github.com/keenableai/dsh-keenable
Directory Page: https://www.skillhub.cn/plugins/keenableai/dsh-keenable

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye