DeepSeek Harness Access
Configure the site address, independent keys and available models in DeepSeek Harness.
Before accessing DeepSeek Harness (DSH), you need to confirm the protocol of the selected Provider. The built-in DeepSeek configuration and the Messages configuration of the web interface need to be checked separately.
Step one: Installation and preparation
Check the operating environment requirements from DeepSeek Harness Project, and then install:
npm install -g @deepseek-ai/dsh
dsh --version
Create an independent key for this site, press Quick Start and put it into DUNDUN_API_KEY of the current terminal to query the available actual models.
Step 2: Merge configuration
Back up ~/.dsh/settings.yaml; when DSH_HOME is set, the configuration in this directory shall prevail. Merge the following fields and retain other settings of the original file:
llm-deepseek:
apiKeyEnv: DUNDUN_API_KEY
baseURL: https://dunduntoken.com/v1
apiKeyEnv fill in the variable name. The process that starts DSH needs to inherit this variable. Services and containers do not automatically inherit the environment of another terminal.
Step 3: Check Web Settings
Run dsh web, enter Settings → Model → DeepSeek → Edit → Custom Settings, and check the key, API address and model directory. Use the actual value of this site for the model ID, save it and create a new session. If the interface is clearly marked Anthropic Messages, press Messages Access to check the final path /v1/messages and select a model that supports this protocol. The protocol will not be inferred based on the Provider name.
Step 4: Verification and troubleshooting
First send “reply OK only”, go to Call Record to confirm, and then test reading files and tool return. 401 Check the actual process variables; 404 Check the protocol and final URL; Model Not Available Check the ID of the built-in directory. When the web page is accessible but inference fails, check whether the environment running the DSH service can access the site. The configuration structure and interface may change with versions, and the reference layout cannot be regarded as a guarantee for all versions.