dsh-llm-governor
Run the following command in DeepSeek Harness:
dsh plugin install young-tim/dsh-llm-governor
Paste the following prompt into your AI chat to install this plugin:
To install this plugin in DeepSeek Harness, run dsh plugin install young-tim/dsh-llm-governor; the source code is located at https://github.com/young-tim/dsh-llm-governor.
About this plugin
When building complex AI services, simple model calls often fall short in multi-user environments where cost control and permission management are critical. As teams grow, resource allocation can easily become unmanageable without a unified governance layer. dsh-llm-governor is designed to address this pain point. As a native extension for DeepSeek Harness, it injects powerful governance capabilities into the model invocation chain without proxying actual requests.
The plugin's core strength lies in its flexible smart routing and strict access control. It supports various routing strategies, including manual selection, Quality First based on model performance, and Credit First based on quotas, and can automatically handle fallback rerouting to ensure service stability. By assigning monthly Credits and fine-grained model profiles (Lite/Balanced/Pro) to each user, administrators can precisely control costs and performance. All decisions are recorded in the Governor Trajectory, providing a traceable audit log.
Whether you are a developer needing local configuration for a single user, a small team connecting via Header mode, or an enterprise integrating enterprise-level IdPs using JWT, this plugin offers flexible adaptation. It focuses on the policy layer and does not interfere with credential management, keeping DSH focused on inference itself. For enterprises looking to build scalable, secure, and easily auditable AI services on top of their existing architecture, this is an indispensable governance tool.
Use Cases
- Cost control for multi-tenant AI services
- Enterprise model access permission management
- Full-link audit tracking of AI calls
Best For
- AI SaaS providers needing fine-grained cost control
- Dev teams managing multi-user AI call permissions
- Enterprise IT admins requiring audit of AI usage
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.