Develop SysML v2 models with feedback you can trust.

Spec42 · Free & open source

An editor for the engineering model, with views that make it understandable and checks that follow it into CI.

Work with SysML v2 and KerML in VS Code. Keep your models in local files and Git, explore the relationships behind the text, and review changes with the same analysis engine throughout your workflow.

MIT licensed · No account required · Bundled language server and libraries

A drone model in Spec42: SysML v2 source, an interconnection view, diagnostics and Feature Inspector in VS Code
Source, views and resolved model information in one workspace. View full size ↗

From intent to a checked model

A connected workflow for everyday modeling.

Edit with useful feedback

Navigate across files, complete model elements and inspect diagnostics as you work. Keep requirements, architecture and behavior in a readable textual model.

Open your first model →

Understand what the model means

Open authored diagram views and follow elements into Feature Inspector. Explore resolved types, inherited features, relationships and values.

Explore diagram views →

Check changes consistently

Use the same analysis engine in the editor and CI. Publish diagnostics in formats your existing quality workflow understands, including SARIF and JUnit.

Validate models in CI →

Your first result

Start with a model you can explore.

  1. 01 · Install

    Add Spec42 to VS Code

    The extension includes the language server, standard library and examples. No separate authoring service is required.

  2. 02 · Explore

    Open an included example

    Use the Examples entry in the Spec42 sidebar. Follow the getting-started guide for the current recommended model.

  3. 03 · Change

    See the model respond

    Inspect a view, follow an element to its source, then make a change and review the diagnostics.

Follow the maintained getting-started guide →

Keep the editor and CI aligned

Model checks belong in your change review.

Run validation on your own machine or in your repository's automation. Diagnose project setup with the CLI, then check the same sources you edit in VS Code.

Use the GitHub Actions guide to publish validation results alongside your changes. Supported reports include text, JSON, SARIF and JUnit.

Set up automated validation →

The same model, outside the editor

spec42 doctor path/to/model
spec42 check path/to/model

Replace the path with your project folder. The documentation explains configuration, library paths and report options.

Explore the model beyond its text

Views, resolved features and reusable libraries.

Your files. Your repositories.

Work with textual models in Git. Keep the source and the generated output.

Processed where you work.

Model analysis and document generation run on your machine or CI runner.

Help from the people building it.

Public issue tracking and direct email support. Read about data and support →

Supported features and help

Spec42 is actively developed and does not claim complete OMG SysML v2 coverage. Check the supported features and limitations for your installed version before adopting a workflow.