dsh-math
未验证 hatter123
功能简介
Scientific computing plugin for DeepSeek Harness: numeric + symbolic math (mathjs + Algebrite)
未验证 — 尚未实测
Scientific computing plugin for DeepSeek Harness: numeric + symbolic math (mathjs + Algebrite) 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-math
Scientific computing plugin for DeepSeek Harness. It registers a single math tool that covers both numeric computation and symbolic algebra (CAS), so an agent can evaluate expressions and derive/simplify formulas without leaving the conversation.
Features
The math tool takes an operation, an expression, and an optional variable.
| operation | description | engine |
|---|---|---|
eval |
numeric expression: units, matrices, statistics, complex numbers, big numbers | mathjs |
simplify |
simplify an expression | Algebrite |
expand |
expand an expression | Algebrite |
factor |
factor a polynomial | Algebrite |
derivative |
differentiate with respect to a variable | Algebrite |
integral |
symbolic indefinite integral | Algebrite |
solve |
find the roots of a polynomial | Algebrite |
Two engines share the work: mathjs handles numeric evaluation (units, matrices, statistics, complex numbers, big numbers), and Algebrite handles symbolic algebra (integration, factoring, and equation solving that mathjs does not provide).
Install
From npm:
dsh plugin --profile web add dsh-math
From a git host (requires the repository's prepare script to build, or pin a commit):
dsh plugin --profile web add github:owner/dsh-math
Usage
The agent calls the math tool automatically when it needs a computation. Examples of what it can answer:
- determinant:
det([[1,2],[3,4]])→-2 - unit conversion:
5 cm to inch→1.9685039370078743 inch - big number:
2^100→1.2676506002282294e+30 - derivative:
derivative(x^2, x)→2*x - integral:
integral(x^2, x)→1/3*x^3 - solve:
roots(x^2 - 3x + 2)→[1,2]
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-math」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:hatter123/dsh-math Headless(CLI)profile:
dsh plugin --profile headless add github:hatter123/dsh-math 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。