Skip to content

Blaczz/dsh-sci

30Last commit Aug 14, 2026

dsh-sci DSH plugin

dsh-sci is a pure tool plugin for DeepSeek Harness that provides three model-callable tools: unit conversion, physical constants lookup, and ODE simulation. It is implemented with zero dependencies, using pure functions and no network. The plugin is designed for safe simulation with a curated model library of 9 dynamical systems.

How to install the dsh-sci DSH plugin

dsh plugin --profile web add "github:Blaczz/dsh-sci#main

Copying does not run this command. Review the repository and version before installing the dsh-sci DSH plugin.

dsh-sci DSH plugin data source

dsh-sci DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-sci DSH plugin can do

  • Unit conversion for 70+ units across 11 categories (length, mass, time, temperature, energy, pressure, frequency, force, angle, volume, area, electric).
  • Lookup of CODATA 2018 physical constants (c, h, e, k, G, N_A, etc.).
  • 4th-order Runge–Kutta integration for 9 dynamical systems (exponential, logistic, harmonic, damped, pendulum, predator-prey, SIR, Lorenz, Van der Pol).
  • Zero dependencies: all tools are hand-written pure functions, no runtime node_modules or network.
  • Safe simulation: ODE solver uses a curated model library with parameters, no arbitrary code execution.
  • Verified accuracy: RK4 integrator checked against analytic solutions in unit tests.

Where the dsh-sci DSH plugin fits

  • Convert energy units (e.g., 1 eV to joules) during a scientific discussion.
  • Look up the Planck constant or other physical constants on demand.
  • Simulate a damped oscillator with given parameters (ω, ζ) to see behavior over time.
  • Model predator-prey dynamics (Lotka-Volterra) with custom coefficients.
  • Convert temperature (0 °C to K) or pressure (1 atm to Pa) in a chat context.

Who the dsh-sci DSH plugin is for

  • Scientists and engineers who need quick unit conversions or constant lookups within a DSH-powered agent.
  • Researchers and educators who want to simulate dynamical systems without external dependencies.
  • DSH users who need numerical computation tools in a chat interface.

dsh-sci DSH plugin limitations

  • Only supports a curated set of 9 dynamical systems; arbitrary ODEs are not supported.
  • ODE solver uses fixed-step 4th-order Runge–Kutta, not adaptive methods.
  • Unit conversion covers 70+ units but may lack very specialized or obscure units.
  • Requires Node ≥ 22.19 and pnpm; no standalone runtime without DSH.
  • Plugin is early-stage; features like FFT or more advanced numerical methods are not yet implemented.

dsh-sci DSH plugin: from the repository README

Quoted from the Blaczz/dsh-sci README, the upstream source of the dsh-sci DSH plugin. Copyright remains with the original authors.

> Zero-dependency scientific computing tools for DeepSeek Harness: physical-unit conversion, CODATA physical constants, and Runge–Kutta ODE/dynamical-system simulation. No core changes. [English](./README.md) | [简体中文](./README.zh.md) A **DeepSeek Harness (DSH)** pure tool plugin registering three model tools that scientists reach for daily — all implemented as **zero-dependency pure functions**: no network, no external software, fully unit-tested. | Tool | Purpose | Example | |---|---|---| | `units_convert` | Physical unit conversion (length/mass/time/temperature/energy/pressure/frequency/force/angle/volume/area/electric, 70+ units) | `1 eV → J`, `0 ℃ → K`, `1 kWh → J` | | `physical_constants` | Look up CODATA physical constants (c, h, e, k, G, N_A, …) | `physical_constants("h")` | | `ode_solve` | 4th-order Runge–Kutta integration of common dynamical systems (the **simulation engine**) | exponential / logistic / harmonic / damped / pendulum / predator-prey / SIR / Lorenz / Van der Pol | ## ✨ Features - **Zero dependencies**: unit conversion, physical constants, and the RK4 integrator are hand-written pure functions — no runtime `node_modules`, no network. - **Safe simulation**

Read the full READMERepository license: MIT

dsh-sci DSH plugin questions

How do I install dsh-sci in DSH?

You can install it via `dsh plugin --profile web add "github:Blaczz/dsh-sci#main"` if you have a GitHub connection. Alternatively, clone the repo, run `npm install --legacy-peer-deps && npm run build`, then use `dsh plugin --profile web add ./dsh-sci`. After installation, restart `dsh web` and the tools will be available.

How do I convert units using this plugin?

Ask the agent something like 'convert 5 eV to joules' or 'how many meters is 1 light-year?'. The agent will call the `units_convert` tool. You can also convert temperature, pressure, force, and more. The plugin supports 70+ units across 11 categories.

Can I get the value of a physical constant?

Yes, simply ask the agent: 'look up the Planck constant' or 'what is the value of the speed of light?'. The agent will call `physical_constants`. You can also list all constants by asking 'list all physical constants'. The data is based on CODATA 2018.

What dynamical systems can I simulate with dsh-sci?

The plugin includes 9 predefined models: exponential, logistic, harmonic, damped oscillator, pendulum, predator-prey (Lotka-Volterra), SIR epidemic, Lorenz system, and Van der Pol oscillator. You can specify parameters like alpha, beta, omega, damping, etc. The solver uses a 4th-order Runge–Kutta method.

Does dsh-sci require any external dependencies?

No, it is zero-dependency. All unit conversion, constant lookup, and ODE integration logic is implemented as pure functions in TypeScript. There is no runtime node_modules, no network requests, and no external software. However, you need Node ≥ 22.19 and pnpm to build the plugin from source.