dsh-fuse
Run the following command in DeepSeek Harness:
dsh plugin install openplancc/dsh-fuse
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install openplancc/dsh-fuse in your terminal to add this plugin (source: https://github.com/openplancc/dsh-fuse), then restart the Harness for the budget fuse to become active.
About this plugin
In multi-agent pipelines every LLM call silently burns budget, yet most teams lack a local guard that can reject a request before it ever hits the wire. dsh-fuse fills that gap: at the agent pre-step stage it measures tokens and cost for each call, and the moment the cumulative spend in a window exceeds the configured limit the local fuse trips an instant rejection with zero network dependency. Price resolution draws from both a pricing registry and the gateway, and models that no source can price are flagged as unpriced rather than silently zeroed, so the fuse always fires when it should.
The plugin also bridges the control plane and the data plane. On boot it pulls org-level budgets and policies from the panel, pushing edits to every machine in real time; every 60 seconds it ships a batch of usage events and fuse-cut records, with session IDs SHA-256 hashed on the client so raw content never leaves the machine. On the panel side, graduated 50 / 80 / 95% alerts and anomaly spend detection can be routed to Telegram or a webhook. For the agent itself, the plugin registers a read-only dsh_budget_status tool that lets the model inspect current quota, spend, and headroom mid-session, so it can adapt by choosing a cheaper route or stopping gracefully instead of retrying blindly.
It is aimed at teams running multiple agents, organisations that need unified inference budget control in CI or headless containers, and developers who want to bolt a financial circuit breaker onto their DeepSeek Harness stack without touching business code.
Use Cases
- Reject and log over-budget requests across parallel agents before they hit the wire
- Enforce org-wide inference spend in CI or headless containers without manual monitoring
- Apply hard budget limits locally during offline development without network access
Best For
- Teams running multiple agents that need cross-project LLM cost governance
- Platform engineers deploying DeepSeek Harness in CI or container environments
- Developers who want a financial circuit breaker on inference spend without modifying business logic
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.