AI Agent Hub
Back to plugins
⚙️

dsh-laa

Workflow Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install FireOpalus/dsh-laa

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install FireOpalus/dsh-laa in the DeepSeek Harness terminal to install this plugin; the source repository is at https://github.com/FireOpalus/dsh-laa

About this plugin

DeepSeek bills different rates for peak and off-peak hours, so letting an agent run through the peak window quietly inflates your bill. dsh-laa adds a per-session LAA toggle to DSH: once enabled, the instant a peak window begins every running turn is cancelled and subsequent steps are blocked before a single model request is built, so zero tokens are spent. When the off-peak window opens, the interrupted turn receives a continuation prompt to pick up where it left off, and all deferred inputs are replayed in their original order, nothing lost.

Switching is lightweight: type /laa on or tap the sliding switch in the Web UI. Sub-sessions inherit the parent session setting automatically, so the whole session tree shares one toggle. Peak windows follow the official DeepSeek Beijing-time schedule out of the box and are fully configurable, so official pricing changes never require a code update. To extend peak-hour blocking to a self-hosted route, simply add its route id to peakProviders. A small HTTP surface under /dsh-laa (health, state, mode) lets any script read or change the toggle programmatically.

Built for DSH users with long-running tasks, developers who want zero peak-hour spend without changing their workflow, and automation pipelines that need a single knob to gate many sessions at once. The package is a zero-dependency, pure-ESM module that drops straight into a profile with no extra installs or build steps.

Use Cases

  • Start a long task before leaving for the day; it auto-pauses at peak and resumes at off-peak without manual intervention
  • Gate multiple running sessions in one tap to avoid nighttime peak-hour charges
  • Drive /dsh-laa HTTP endpoints from a script to start or stop a batch of sessions on a cost policy

Best For

  • Developers running long DSH tasks who want to cut peak-hour costs
  • Automation engineers managing multiple agent sessions with a unified peak gate
  • Heavy users on self-hosted routes who want to reuse DeepSeek peak-off-peak policy