DeepSeek Harness
Install dsh, manually configure your model, and use the local Web interface.
Follow the Windows or macOS steps for your system.
Windows
1. Install
Open PowerShell from the Start menu.
Check Node.js and npm:
node --version
npm --versionIf either command is missing, install the LTS release from Node.js and reopen the terminal. Once both version numbers appear, run:
npm install --global @deepseek-ai/dsh
dsh --version2. Configure
Prepare an API Key and copy a model ID from the model catalog that supports Chat Completions and is available to your Key. Replace YOUR_MODEL with that ID.
The configuration file is %USERPROFILE%\.dsh\settings.yaml.
- Press
Win + Eto open File Explorer. - Enter
%USERPROFILE%\.dshin the address bar and press Enter. - Right-click
settings.yamland choose Open with → Notepad. - If the directory is missing, create the
.dshfolders inside%USERPROFILE%. If the file is missing, create it in Notepad.
llm-pi-ai:
providers:
getrun:
displayName: GetRun
apiKeyEnv: GETRUN_API_KEY
api: openai-completions
baseURL: https://api.get-apikey.com/v1
models:
- id: YOUR_MODEL
name: YOUR_MODELReplace both YOUR_MODEL values with the same model ID. Keep apiKeyEnv: GETRUN_API_KEY as shown; enter the API Key in the Web interface next. For an existing file, merge llm-pi-ai.providers.getrun and keep other settings. Use spaces for YAML indentation.
Save in the directory above. In Notepad, use Save As → All files → UTF-8 and name the file settings.yaml without an extra .txt extension.
3. Use
Open your project folder in File Explorer, enter powershell in the address bar, and press Enter.
dsh webOpen the local URL printed in the terminal, then:
- Open Models and find the GetRun provider.
- Enter and save your API Key.
- Start a session and select the model you configured.
- Send
Reply only OK. Once you receive a reply, enter your task.
Keep the terminal running during use. Press Ctrl + C in that terminal to stop it.
macOS
1. Install
Press Command + Space to find and open Terminal.
Check Node.js and npm:
node --version
npm --versionIf either command is missing, install the LTS release from Node.js and reopen the terminal. Once both version numbers appear, run:
npm install --global @deepseek-ai/dsh
dsh --version2. Configure
Prepare an API Key and copy a model ID from the model catalog that supports Chat Completions and is available to your Key. Replace YOUR_MODEL with that ID.
The configuration file is ~/.dsh/settings.yaml.
- Open Finder and press
Command + Shift + G. - Enter
~/.dshand select Go. - Open
settings.yamlin TextEdit or VS Code. - If the folder or file is missing, choose File → Open Folder in VS Code, press
Command + Shift + G, and enter~to open your home directory. Create the.dshfolders in the Explorer sidebar, then createsettings.yamlinside.
llm-pi-ai:
providers:
getrun:
displayName: GetRun
apiKeyEnv: GETRUN_API_KEY
api: openai-completions
baseURL: https://api.get-apikey.com/v1
models:
- id: YOUR_MODEL
name: YOUR_MODELReplace both YOUR_MODEL values with the same model ID. Keep apiKeyEnv: GETRUN_API_KEY as shown; enter the API Key in the Web interface next. For an existing file, merge llm-pi-ai.providers.getrun and keep other settings. Use spaces for YAML indentation.
Press Command + S to save. In TextEdit, choose Format → Make Plain Text and keep the filename settings.yaml.
3. Use
Open Terminal, type cd with a trailing space, drag your project folder from Finder into Terminal, and press Enter.
dsh webOpen the local URL printed in the terminal, then:
- Open Models and find the GetRun provider.
- Enter and save your API Key.
- Start a session and select the model you configured.
- Send
Reply only OK. Once you receive a reply, enter your task.
Keep the terminal running during use. Press Ctrl + C in that terminal to stop it.
Configuration location
If DSH_HOME is set, edit settings.yaml in that directory. Linux uses the same installation and launch commands and defaults to ~/.dsh/settings.yaml. See the official DeepSeek Harness documentation for more usage details.