返回目录
学习研究 插件

dsh-wolfram

hatter123/dsh-wolfram

Call Wolfram Mathematica from DeepSeek Harness

Stars
1
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:hatter123/dsh-wolfram

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-wolfram

Call Wolfram Mathematica (or the free Wolfram Engine) from DeepSeek Harness. It registers a wolfram tool that runs Mathematica code through wolframscript and returns the result.

Prerequisites

Install Wolfram Mathematica or the free Wolfram Engine, which provides the wolframscript command. Verify it works:

wolframscript -code "Integrate[Cos[x], x]"

Install

dsh plugin --profile web add dsh-wolfram

Usage

The agent calls the wolfram tool automatically with one expression argument (a string of Mathematica code).

Examples:

  • integral: Integrate[Cos[x], x]Sin[x]
  • solve: Solve[x^2 - 1 == 0, x]{{x -> -1}, {x -> 1}}
  • limit: Limit[Sin[x]/x, x -> 0]1
  • series: Series[Exp[x], {x, 0, 3}]1 + x + x^2/2 + x^3/6 + O[x]^4

How it works

The plugin uses Node's built-in child_process module to run wolframscript -code <expression> and captures the standard output. It has no npm dependencies.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类学习研究
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mathematica。