Skip to content
Sector
Engineering computation
Client
Personal R&D
Year
2026
Role
Design and development

Letting a language model write the formula, never the number.

EngSuite and EML: a unit-aware engineering calculation language compiled to a sandboxed VM, with 340+ hydraulic, geotechnical and sensor tools and an LLM front end that never produces the numbers itself.

Abstract cover artwork for the engineering language case study

Results

  • 340+

    engineering tools

  • 5

    pipeline stages, question to result

  • 3

    repair retries before failing

Language models are good at turning a question about a rain gauge or a pump into a formula, and bad at arithmetic they cannot show. I built EngSuite to split those jobs cleanly: the model proposes the calculation in a small typed language, a static checker validates it and a deterministic engine computes every value.

EML, a language with units

  • Its own parser with an AST whitelist, so only permitted constructs ever reach evaluation.
  • Gradual type inference over physical quantities and time series, for example Quantity[m3/s] and TimeSeries[...].
  • A typed intermediate representation with constant folding, common-subexpression and dead-code elimination.
  • Signed bytecode (Ed25519) executed by a register VM with fuel, time and memory limits.
  • Stateful pipelines with incremental runs, late data, backfill and checkpoints.

From a question to a checked answer

A five-stage pipeline — understand, profile the data, write the formula, check it statically, run it — repairs the model’s mistakes with up to three retries. Separate model roles handle maths, classification and writing, served from local models over an HTTP API, a CLI and an MCP server, with a .NET SDK for integration.

The tool library

More than 340 tools cover hydraulics, geotechnics (liquefaction, bearing capacity), sensor conversions (vibrating wire, thermistors, 4–20 mA), data cleaning (Kalman/RTS smoothing, Hampel, Butterworth), alignment and spectra (DTW, clock drift, Welch) and statistics (GEV/LP3, Mann-Kendall, Pettitt). It is an advanced prototype with its own test suite.

Services

  • Scientific & engineering computation
  • Platform & application software
  • Time-series data engineering

Tools & tech

  • Python
  • NumPy / SciPy / SymPy
  • Ollama (local LLMs)
  • MCP server
  • .NET SDK
  • MQTT
  • KaTeX

Got a similar challenge?Let’s talk.

Get in touch