DeepSeek Harness Plugin: AgentRouter

Introduction

DeepSeek Harness (DSH) embraces the “everything is a plugin” philosophy, enabling developers to extend model reasoning capabilities through plugins. When building agents that need to call external tools, developers often face two challenges: first, how to find the right provider among numerous available tools; second, how to preview pricing and control the budget without losing oversight. The AgentRouter for DeepSeek Harness plugin opens the AgentRouter tool catalog directly within DSH, providing price previews and budget-constrained research execution.

Plugin Overview

AgentRouter for DeepSeek Harness (agentrouter-dsh) is a DSH plugin maintained by PageOneLab, categorized under “Model Reasoning.” It helps DSH users discover tools provided by AgentRouter locally, view current pricing and billing rules, and execute research tasks within a budget funded from a local wallet. Once the plugin is loaded, two catalog tools are immediately available without any additional configuration.

Core Features

  • Tool Catalog & Price Preview
  • Use agentrouter_find to search for available provider tools.
  • Use agentrouter_describe to view a tool’s input schema, current pricing, and billing rules.
  • Both catalog tools (e.g., Google Organic Search, Reddit Search) are free to use once the plugin is loaded.
  • Research Execution & Budget Control
  • Use agentrouter_invoke to initiate a research request with a specified USD budget cap.
  • Each invocation displays the selected provider tool, input, and budget decision (explicit cap or actual usage).
  • Requests are sent via the AgentRouter HTTPS API, with AgentRouter enforcing quota and account budget validation.
  • Use agentrouter_get_run with the returned run ID to query status, costs, and results; retries must preserve the idempotency key and parameters.
  • Skills
  • Several predefined skills are built in, including competitor-brief, job-shortlist, growth-teardown, and ugc-teardown, enabling quick access to competitive comparisons, job filtering, growth teardowns, and UGC content creation scenarios.

Installation & Enablement

Requires DeepSeek Harness 0.2.2-rc.5, Node.js 24.9 or later, and pnpm. Add the plugin to your local Web profile and start DSH:

dsh plugin --profile web add -w github:pageonelab/agentrouter-dsh
dsh --profile web

If using a local checkout, replace the GitHub spec with an absolute directory path. To remove the plugin, run:

dsh plugin --profile web remove -w agentrouter-dsh

Typical Usage

1. Price Preview & Tool Discovery

# Find tools
agentrouter_find

# View a tool's schema and pricing
agentrouter_describe

2. Execute a Budget-Constrained Research Request

  1. Create an API key in your AgentRouter account settings with read and invoke permissions.
  2. Set the environment variable AGENTROUTER_API_KEY in your DSH local credentials or startup environment, and place the key in your personal DSH profile (avoid exposing it in shared profiles or repositories).
  3. Specify a USD budget (optional) when invoking, for example:
agentrouter_invoke --budget 5.0
  1. Use agentrouter_get_run to read status, costs, and results; preserve the idempotency key and parameters when retrying.

3. Using Built-in Skills

Ask in natural language or by skill name in DSH; the plugin will select the corresponding instruction based on the description. For example:

  • “Which alternatives do buyers mention on Reddit, and what made them switch?”
  • “Find three Toronto sales roles I can apply for today. Link the employer forms.”
  • “How does this product turn free users into referrals? Show where that happens.”
  • “Use my clip notes to write a 12-second Reel for this product, with two opening lines.”

Use Cases & Notes

  • Target audience: DSH users who need to call external data and research tools via AgentRouter, especially developers who prioritize cost control and pricing transparency.
  • Permissions & Security: The plugin runs with the permissions of the current DSH process. Ensure your environment and configuration are secure; grant only the necessary permissions to the API key and store it in your personal profile.
  • Dependency versions: Requires Node.js >= 24.9.0 and DSH 0.2.2-rc.5; the plugin and @deepseek-ai/dsh-tools 0.2.2-rc.5 are mutual peerDependencies.
  • License: Licensed under the MIT License. Please review the source code and license notice before use.

In Summary

AgentRouter for DeepSeek Harness closes the loop between tool discovery and cost control within DSH, helping developers achieve visibility and control when calling external tools. For more details, visit the plugin catalog page and the GitHub repository.

  • Plugin catalog page: https://www.skillhub.cn/plugins/pageonelab/agentrouter-dsh
  • GitHub: https://github.com/pageonelab/agentrouter-dsh
  • AgentRouter tool catalog: https://www.agentrouter.to/tools?utm_source=dsh&utm_medium=plugin
  • AgentRouter examples & docs: https://docs.agentrouter.to/examples?utm_source=dsh&utm_medium=plugin
  • DeepSeek Harness bundle spec: https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.2-rc.5/docs/user/develop/basic/publish.md
羽毛球分组比赛记分
小程序二维码

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

Xiaoye