Introduction¶
When building agents or having daily conversations in DeepSeek Harness (DSH), model sources often come from more than one place: self-hosted gateways, third-party APIs, or Codex or Copilot within subscription accounts. If you have to modify configurations for each source individually and scatter keys across environment variables or the browser, switching and troubleshooting become cumbersome. While the DSH community already has plugins dedicated to handling subscription OAuth and quotas, a dedicated settings entry is still needed for “Provider presets + centralized key storage + same-screen integration with subscription UI.”
Below is an introduction to dsh-provider-hub released by maintainer arzvaak (GitHub: arzvaak/dsh-provider-hub), categorized under model inference. It adds Settings → Providers to the native DSH settings, consolidating BharatCode presets, OpenAI-compatible endpoints, and subscription logins (ChatGPT / GitHub Copilot, etc. via installed subscription plugins) onto a single page. It utilizes DSH’s native llm-pi-ai adapter and credential Remote API.
What is this¶
dsh-provider-hub is an installable DSH plugin (npm package name @arzvaak/dsh-provider-hub, version 0.1.0 in current materials, license MIT). It does not rewrite the Harness, nor does it duplicate subscription plugin logic; subscription-related OAuth, refresh, quota, and adaptation remain the responsibility of dsh-plugin-subscriptions. This plugin simply embeds that plugin’s existing settings components within the Providers page.
API keys are written to DSH’s credential store, rather than being stored in provider configurations or browser storage. The plugin requires DSH engine >=0.2.0-rc.2 and works on profiles utilizing the native @deepseek-ai/dsh-llm-pi-ai adapter (which standard profiles usually include).
Core Features¶
BharatCode Presets¶
- Built-in BharatCode presets containing model entries such as Qwen and DeepSeek.
- Supports entering an API Key and performing live catalog discovery for the account.
- The preset defaults to connecting to
https://bharatcode.ai/api/model/v1; initial model IDs and context capacities come from local integration defaults and are not guaranteed to match the account’s currently available list. It is advisable to verify discovery results before saving.
OpenAI-Compatible Endpoints¶
- Allows adding OpenAI-compatible routes: custom unique route ID, API base URL (must include
/v1or gateway prefix), API format (Chat Completions or Responses), and key. - Supports model discovery, and also manual entry of model IDs when discovery capability is unavailable.
- If a local gateway accepts any key, a placeholder key can be used; remote endpoints require HTTPS.
Subscriptions (ChatGPT / GitHub Copilot, etc.)¶
- Expand Manage subscription sign-in to use the original controls of the installed
dsh-plugin-subscriptionsplugin. - ChatGPT subscriptions are authenticated via Codex; GitHub subscriptions refer to GitHub Copilot (a standard GitHub account itself does not provide paid Copilot models).
- Subscription-side inference and account limitations remain the responsibility of the upstream subscription plugin; the README states that it aligns with V1ki/dsh-plugin-subscriptions and lists other subscription bridging projects as alternatives not verified on this hub.
Settings and Security Behavior (Explicitly stated behaviors in materials)¶
- Forms do not read back stored keys; if the key field is left blank, the stored key or the exported environment variable name pointed to by the Key reference is retained.
- Route-level options (headers, reasoning compatibility, retries, timeouts, etc.) are preserved; models matching IDs will retain existing advanced options.
- Uses namespace revision to reject stale saves; if the settings save succeeds but the credential write fails, the page will indicate a partial save and prompt to retry the key.
- Model discovery is executed within the host; when context/output capacities are missing, editable estimates of 32768 / 4096 tokens are provided by default and should be checked before saving.
- Discovery replaces the draft model list; it will not delete existing routes. Advanced editing or deletion requires the use of DSH’s native Models settings.
Installation and Enablement¶
The profile must have the native @deepseek-ai/dsh-llm-pi-ai adapter enabled. Under the desktop profile, install the pre-built GitHub package:
dsh plugin --profile desktop add github:arzvaak/dsh-provider-hub
If the subscription plugin is not yet installed in the same profile:
dsh plugin --profile desktop add dsh-plugin-subscriptions
After restarting DSH, open Settings → Providers. If using the web profile, replace desktop with web in the commands above. If the subscription plugin is already installed, there is no need to install it again. You can also download the standalone .tgz from Releases and pass the local path to the same dsh plugin add command.
Typical Usage¶
BharatCode: Select BharatCode in Providers, enter the key, optionally “Discover” models for the current account and verify capacities. After saving, select the provider/model in the conversation’s model selector.
Other Endpoints: Select Add OpenAI-compatible, fill in a unique route ID, base URL, API format, and key; discover models or manually add IDs. After saving, use them in the model selector.
Subscriptions: Expand Manage subscription sign-in and log in according to the subscription plugin’s original flow; the meanings of ChatGPT and GitHub Copilot are described above. Once completed, select the corresponding subscription model in the model selector as well.
Use Cases and Notes¶
Suitable for: Developers already developing on DSH desktop or web profiles who wish to manage BharatCode, local or remote OpenAI-compatible gateways, and coexist with subscriptions like ChatGPT / Copilot in one place.
Notes:
- The plugin runs with the current DSH process permissions; please review the GitHub repository source code and MIT license before installation.
- The community catalog entry on skillhub.cn and GitHub are public sources of information; the catalog site is a community ecosystem index and has no official affiliation with DeepSeek / High-Flyer.
- The combined tests (
test:composition) in the README cover the settings component contract for the isolated Harness and subscription plugin 0.9.7, but do not represent online inference verification against real BharatCode, ChatGPT, or Copilot accounts. - Development builds require Node >= 24.0.0 (see package.json); regular users only need to install the pre-built package via the installation commands.
Conclusion¶
dsh-provider-hub centralizes BharatCode presets, OpenAI-compatible route configuration, and subscription login entries into Settings → Providers. Keys go into the DSH credential store, consistent with the native llm-pi-ai path. When subscription capabilities are needed, installing dsh-plugin-subscriptions in the same profile allows it to work in conjunction with this plugin.
- Catalog Page: https://www.skillhub.cn/plugins/arzvaak/dsh-provider-hub
- GitHub: https://github.com/arzvaak/dsh-provider-hub