AI Agent Hub
Back to plugins
🤖

dsh-nth-root

Model Inference Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-nth-root

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

Run dsh plugin install uckkk/dsh-nth-root in DeepSeek Harness to install the plugin; the source is available at https://github.com/uckkk/dsh-nth-root

About this plugin

When LLMs tackle mathematical reasoning, N-th root computations often fall short: the model may return an approximation, lose a sign, or produce inconsistent formatting. dsh-nth-root wraps this deterministic calculation into a session-level plugin tool so the model can call it directly instead of relying on linguistic guessing.

The implementation is pure Node.js with zero network dependencies, no external services, no heavyweight runtimes. Once installed, the plugin registers a computation tool in the session; the model simply passes the base and the index in a standard function call and receives an exact result.

Best suited for developers building model-inference pipelines, crafting prompts heavy in algebraic expressions, or anyone who wants to pull deterministic math steps out of the generative loop and into a reliable, isolated utility.

Use Cases

  • When model reasoning requires precise N-th root computation
  • When prompts involve algebra and deterministic math steps need isolation from generation
  • When a local math tool is needed in offline or air-gapped environments

Best For

  • Developers building model-inference pipelines
  • Engineers whose prompts frequently involve algebraic expressions
  • Tech-stack users who prefer zero-dependency lightweight plugins