Skip to main content
DeepSeek Harness (dsh) is an open-source coding agent from DeepSeek. Within the working folder you select, dsh can read files, edit code, run shell commands, and complete multi-step tasks—via the web interface, headless mode, SDK, or ACP. dsh uses the Anthropic Messages protocol. Hostlinku provides it at POST /v1/messages, so dsh can be directed to Hostlinku with just two environment variables—no proxy, no additional plugins.

Before you begin

  • Latest Node.js LTS (node --version). The dsh package pulls in hundreds of dependencies, so the initial installation may take 1–3 minutes.
  • Hostlinku API key sk-… from console.hostlinku.com → API Keys.
  • Balance or sufficient spending limit for that key.
  • Secure test folder. The folder where you run dsh becomes its default workspace. Do not run it directly from your home directory or a folder containing sensitive data.
The model field can be populated with any slug from the catalog that supports tool calls. The list of active models for your key is available at GET /v1/models.

Security

  • While the task is running, prompts, code snippets, file contents, and tool outputs are sent to Hostlinku for inference. Do not run dsh on projects containing trade secrets or personal data without permission.
  • Use a separate API key specifically for dsh with a spending limit, so it can be easily revoked if compromised. See Authentication.
  • Do not write the API key directly in cordis.patch.yml. apiKeyEnv only stores the name of the variable; the key value is still read from the environment.

Troubleshooting

Full details on plugin options are available in the DeepSeek Harness repository. Related guides: Claude Code · CC Switch · Anthropic Messages.