Skip to content

ModelScriptOne open toolchain for every engineering model

Import 65+ simulation, CAE, chemistry, bio, and clinical formats, link them to requirements, then simulate, verify, and export — in your browser, the CLI, VS Code, or air-gapped enterprise appliances.

ModelScript Turbine Engine

Reads, checks, and simulates the formats your teams already use

Industries

Built for the way your industry engineers

Domain formats, standards, and verification workflows, all connected in one open digital thread.

How it works

One computable digital thread, from import to evidence

The same compiler core powers the CLI, the browser IDE, VS Code, and CI, so every step is scriptable and reproducible.

Installnpm install -g @modelscript/cli
~/project — msx import
# Translate a Simulink block diagram to Modelica
$ msx simulink to-modelica Suspension.slx --out=Suspension.mo
# Project AUTOSAR software components into SysML v2
$ msx autosar to-sysml Steering.arxml --out=Steering.sysml
Sources.slx.arxml.pscx.step.sysml
AI-Native Engineering · Model Context Protocol

Give AI agents a deterministic compiler and physics engine

Language models hallucinate when guessing differential equations in plain text. @modelscript/mcp exposes 60 compiler, solver, and formal verification tools so AI agents can compile, simulate, and prove engineering designs in a closed loop.

Add ModelScript AI to your IDE All 60 MCP tools
.vscode/mcp.json (or CLI)
{
  "servers": {
    "modelscript": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelscript/mcp"]
    }
  }
}
CLIcode --add-mcp '{"name":"modelscript","command":"npx","args":["-y","@modelscript/mcp"]}'
stdio & SSE transportsIn-WASM AOT dispatchllms.txt context ↗
Actuator.mo·model DCMotorPID
Auto-showcase · Switch to ⚡ Live Mode to test
Tune the DC motor PID gains in Actuator.mo so step overshoot stays below 4% and settling time is under 0.35s.
Thought Process
Flattening Actuator.DCMotorPID to linear DAE arena (18 equations), computing forward sensitivities d(y)/d(Kp,Ki,Kd), and shaping loop bandwidth for overshoot < 4% and Ts < 0.35s.
1modelica_flattenJSON-RPC tools/call
{ "className": "Actuator.DCMotorPID", "includeMetrics": true }
Arena DAE lowered · 18 states/algebraics · 18 equations [Balanced]
Index reductionIndex-1 ODE
BLT blocks6×6 torn
2modelscript_closed_loop_synthesizeJSON-RPC tools/call
{
  "className": "Actuator.DCMotorPID", "tunableParameters": ["Kp", "Ki", "Kd"],
  "maxOvershootPct": 4, "maxSettlingS": 0.35, "tEnd": 1
}
Converged in 4 sensitivity iterations (SUNDIALS CVODE + Forward AD)
Overshoot2.8% (< 4.0%)
Settling time0.29s (< 0.35s)
STL robustness ρ+0.062 PASS
modelscript_patch_codeActuator.mo+3-3
Deterministic Compiler Proof:Verified patch applied: Kp = 14.2, Ki = 38.5, Kd = 0.84
Tuned Actuator.DCMotorPID in Actuator.mo to Kp = 14.2, Ki = 38.5, Kd = 0.84. Step overshoot is 2.8% (limit < 4.0%) and 2% settling time is 0.29s (ρ = +0.062).
Quick tune:
Under the hood

Compiler-grade engineering, documented in the open

Every algorithm is documented in the architecture and algorithms catalog, so you can read exactly how your models are compiled and solved.

Editor Tooling

ModelScript for VS Code & VSCodium

Full language intelligence, live schematics, and simulation debugging for 66 formats — published to both primary extension ecosystems.

Visual Studio Marketplace

Official

VS Code · Cursor · Windsurf · Trae

Directly available from Microsoft's Visual Studio Marketplace for official VS Code and compatible editor distributions.

VS Marketplace Version
CLI Installcode --install-extension modelscript.modelscript

Open VSX Registry

Open Source

VSCodium · Gitpod · Eclipse Theia · Code-OSS

Neutral open-source extension registry maintained by the Eclipse Foundation for privacy-focused and cloud-hosted editors.

Open VSX Version
CLI Installcodium --install-extension modelscript.modelscript

Polyglot Language Server

Deep diagnostics, AST hover, semantic completion, and document symbols across 66 engineering formats.

770+ Compiler Lint Rules

Pre-flight checks for unit consistency, typing, causality, acausal balancing, and syntax errors as you type.

Interactive 2D & 3D Schematics

Visual schematic editing with auto-routed acausal connect diagrams, block diagrams, and OpenCASCADE CAD viewports.

In-Editor DAE Simulation

Run stiff numerical ODE/DAE solvers (SUNDIALS CVODE, IDA, Rodas4P) with interactive trajectory plots in editor panes.

Bundled MSL & Standard Libraries

Pre-indexed Modelica Standard Library (MSL 4.0.0), SysML v2 standard libraries, and schema definitions ready out of the box.

100% Offline & Private

Native WebAssembly GLR execution; zero cloud telemetry or internet dependency. Safe for air-gapped engineering.

Open-core architecture

AGPL-3.0 core compiler & solvers, with OEM & Enterprise editions.

Offline & air-gapped ready

Run locally in WASM/CLI or deploy offline Ed25519-licensed appliances.

Standards first

FMI, SSP, SysML v2, STEP, and ReqIF interchange.

Start building your digital thread today

Free AGPL-3.0 Community Edition. Try it in the browser in seconds, install the CLI, or explore Enterprise plans.

Open-Core under the GNU AGPL v3 License; Enterprise Edition (ee/) under the ModelScript Enterprise License. • Pricing • Trademark Policy