AI Agent Hub
Back to plugins
🤖

dsh-sum

Model Inference Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-sum

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

Run dsh plugin install uckkk/dsh-sum in your DeepSeek Harness terminal to install the plugin; the source code is available at https://github.com/uckkk/dsh-sum.

About this plugin

Large language models frequently stumble on arithmetic, and even a straightforward addition can drift when the context window grows. dsh-sum extracts summation into a local, in-session tool so that deterministic math is delegated to code rather than left to probabilistic reasoning, giving you stable and reproducible numeric output every time.

Written in pure Node.js with zero network calls, the plugin runs fully synchronously inside the conversation loop. Once registered, the model can invoke it whenever it needs to accumulate a set of numbers, receive an exact sum, and then move on to the next reasoning step without any external service or extra dependency in the mix.

It fits well in DeepSeek Harness pipelines that involve frequent numeric roll-ups — report field aggregation, cumulative tallies across multi-turn dialogues, or feeding a validated sum into a downstream decision step. Lightweight, offline, and released under MIT, it is ready to drop in and use as-is.

Use Cases

  • Reliably summing multiple numbers in long-context sessions
  • Aggregating report or log fields that need exact totals
  • Tracking cumulative values across multi-turn dialogues without drift

Best For

  • Developers building numeric pipelines in DeepSeek Harness
  • AI engineers who need deterministic arithmetic over probabilistic guesses
  • Teams that prefer zero-network, fully local toolchains