11350613/SymPy-Calculate ↗★ 1

dsh-sympy-calculate

A DeepSeek Harness bundle: the minimal agent preset plus one stateless SymPy tool. 适合需要进行符号数学计算和积分求解的用户。

Package
dsh-sympy-calculate
Compatibility
Unverified
Version
1.0.4
License
MIT
Last updated
Oct 2, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:11350613/SymPy-Calculate

Usage

In a session using the SymPy Calculate preset, ask:

Use sympy_calculate to compute $\int_{-\infty}^{\infty} \frac{x^2}{1 + x^4}\,\mathrm{d}x$.

sympy_calculate expects one complete script:

{
  "code": "from sympy import *\n\nx = symbols('x')\nprint(integrate(x**2 / (1 + x**4), (x, -oo, oo)))\n"
}

Output:

sqrt(2)*pi/2

Because every call starts a fresh interpreter and pays the SymPy import cost, batch related computations into one script instead of making many small calls. stdout and stderr are combined; a non-zero exit is returned as a tool error.