DeepSeek Harness (dsh)
Point DeepSeek Harness at HopBase with one custom provider entry.
DeepSeek Harness (dsh) is DeepSeek's open-source agent runtime. It connects to any gateway through a custom provider — base URL, protocol and model IDs, nothing hardcoded. Function calling and streaming usage have been verified end to end against the HopBase gateway.
Settings file
Add a provider to $DSH_HOME/settings.yaml:
providers:
hopbase:
api: openai-completions
baseURL: https://api.hop-base.com/v1
apiKeyEnv: HOPBASE_API_KEY
models:
- id: deepseek-v4-pro-202606
- id: deepseek-v4-flash-202605
- id: glm-5.3Export the key before launching: export HOPBASE_API_KEY=sk-your-key.
Web UI
Settings → Models → Add a custom provider, then fill in the same values. Pick the protocol by model family:
| Model family | Protocol | Base URL |
|---|---|---|
| GPT / GLM / Kimi / Grok / DeepSeek | openai-completions | https://api.hop-base.com/v1 |
| Claude | anthropic-messages | https://api.hop-base.com (no /v1) |
Use the exact model IDs returned by GET /v1/models for your plan key. Claude models need a Claude plan key.