Model Laboratory 1.17.0 is a native desktop environment for creating, analysing, preserving, and reproducing mathematical experiments. It combines a Tauri 2 desktop host, a persistent Python scientific sidecar, typed model and artifact protocols, content-addressed experiment bundles, and a local authoring interpreter.
The project is intended for students, researchers, lecturers, and developers of research software. It is local-first and licensed under Apache-2.0.
Computational experiments often combine editable source, numerical settings, environment details,
plots, and derived results. Model Laboratory records these elements as one inspectable experiment
state. Its .mlab container binds models, run plans, artifacts, provenance, environment data, and
checksums so that opening, reviewing, and reproducing an experiment are separate explicit actions.
The local interpreter follows the same boundary. It proposes typed Model Transactions; the deterministic compiler validates those proposals before the scientific engine can execute them.
- Canonical Model IR 3.0 and expression AST 1.2
- Typed scalar, vector, matrix, and extensible Model Graph objects
- Namespaced Run, Artifact, View, renderer, and comparator protocols
- Content-addressed
.mlab2.0 experiment bundles - Exact, tolerance-based, and stochastic reproduction reports
- Immutable experiment commits with checksum-bound state restoration
- Local Qwen authoring with bounded context and explicit acceptance provenance
- Workload estimation and capability validation before execution
- Persistent Python sidecar with a native Tauri desktop interface
- Thirteen official scientific capability packs
The initial catalogue covers multidimensional mathematics and units; probability and stochastic processes; graphs and networks; generative models and finite POMDPs; dynamical systems and control; spatial fields and PDEs; geometry and meshes; mechanics and structures; statistical inference; optimisation and inverse problems; electrical and electromagnetic systems; chemical and biological systems; and machine learning and computational intelligence.
The exact object kinds, capability versions, assumptions, and method boundaries are documented in Official scientific packs.
Model Laboratory separates four document layers:
- The Model Graph contains typed objects, relationships, assumptions, and asset references.
- A Run Record binds one capability, its settings, workload, backend identity, and outputs.
- A Scientific Artifact stores immutable renderer-independent results.
- A View maps an artifact to a versioned renderer and display configuration.
Opening an experiment performs integrity and schema inspection. Scientific execution begins only through an explicit run or reproduction action. Experiment files name required capabilities but do not carry executable extension code.
Version 1.17.0 is the canonical source release for the initial architecture and thirteen-pack roadmap. The verified catalogue contains 13 manifests, 34 object kinds, and 45 capabilities. The release includes 444 Python regression tests, frontend contract tests, analytical reference checks, bundle and reproduction checks, protocol checks, and official-pack verification.
The interpreter assets comprise a checksum-bound 150-case development benchmark and a 6,300-record compiler-replayed corpus. Its adapter lifecycle is at the review and environment- capture phase, with a stratified 725-record human-review queue and versioned QLoRA configuration.
Generated artifacts required by the current code and tests remain in the main source release. Earlier unreferenced interpreter artifacts are preserved in the companion historical archive; see Generated-artifact policy.
Requirements:
- Python 3.11 or later
- Node.js 20 or later
- Rust and the Tauri platform prerequisites
- MSVC Rust host for a Windows native build
- Ollama only for optional local-interpreter execution
python -m pip install -r constraints-tested.txt
python -m pip install -r requirements-dev.txt
npm install
npm run desktop:devRun the principal checks:
python -m pytest -q
npm test
python verification/run_reference_verification.py
python verification/run_bundle_verification.py
python verification/run_reproduction_verification.py
python verification/run_expression_ast_verification.py
python verification/run_model_graph_protocol_verification.py
python verification/run_official_packs_verification.pyBuild a Windows release:
powershell -ExecutionPolicy Bypass -File scripts/build_windows.ps1The build script verifies its prerequisites, packages the Python sidecar, generates an immutable build-identity manifest, and invokes the Tauri release build.
Start with the documentation index. Principal references include:
- Desktop architecture
- Official scientific packs
- AI interpreter protocol
- AI interpreter boundary
- Training corpus
- Baseline evaluation
- Fine-tuning and candidate lifecycle
- Compatibility and migration
- Verification state
- 1.17.0 release notes
Contribution guidance is in CONTRIBUTING.md. Security reports follow SECURITY.md. Citation metadata is provided in CITATION.cff.
Unless a file states otherwise, original Model Laboratory source code, tests, documentation, schemas, examples, generated corpora, benchmark fixtures, and verification material are licensed under the Apache License, Version 2.0. See LICENSE, NOTICE, and LICENSING.md. Third-party components retain their respective terms as recorded in THIRD_PARTY_LICENSES.md and their embedded notices.
Models, datasets, attachments, and .mlab experiments created by users retain their own terms.