설치
npx -y @deepseek-ai/dsh plugin --profile web add github:hatter123/dsh-math이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
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
저장소 정보
- 언어
- JavaScript
- 라이선스
- MIT
- 마지막 업데이트
- 2026. 8. 17. AM 9:38
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.