First: the language server
Zed, VS Code, and IntelliJ are thin clients over wyrm-lsp. Install it once,
on your PATH:
cargo install --git https://github.com/1ARdotNO/wyrm wyrm-lsp
Obsidian is the exception β it bundles the engine as WebAssembly, so it needs no binary.
GUI editor shipped
Prefer clicking to typing YAML? wyrm-gui is a light native window
(egui β no Electron) that live-edits a .otm.yaml: browse the model,
tweak trust zones, drag asset CIA ratings, add dataflow tags, and drop
mitigations from a built-in library. Every change saves to the file and re-runs
the STRIDE engine, so findings update as you edit. Cmd-Z /
Cmd-Shift-Z undo/redo; One Dark styling.
Install it
cargo install --git https://github.com/1ARdotNO/wyrm wyrm-gui
Open a model
wyrm gui .threatmodel/my-system.otm.yaml
From VS Code, run βWyrm: Open in GUI editorβ (also in the editor title bar). In Zed, add a
.zed/tasks.jsonentry:{ "command": "wyrm", "args": ["gui", "$ZED_FILE"] }.
Because it edits the same file your LSP watches, diagnostics in your text editor refresh the moment you save in the GUI β the two stay in sync.
Zed shipped
Install the dev extension
Command palette (
Cmd-Shift-P) β zed: install dev extension β selecteditors/zed. Zed compiles it (needs thewasm32-wasip2target:rustup target add wasm32-wasip2).Open a model
Open any
.otm.yamlβ the WYRM findings appear inline and in the Problems panel (Cmd-Shift-M).
Diagnostics not showing? Launch Zed from a terminal so it inherits your
PATH (with ~/.cargo/bin), or restart it after installing Rust.
VS Code shipped
Build the extension
cd editors/vscode npm install npm run build
Run it
Press
F5to launch an Extension Development Host, or package withnpx @vscode/vsce packageand install the.vsix.Open a model
Open a
.otm.yamlfile. Pointwyrm.serverPathat yourwyrm-lspin Settings if it isn't on PATH.
IntelliJ / JetBrains scaffold
Uses LSP4IJ for the LSP integration. This one ships as a scaffold β build it with a JDK 17+ and verify the LSP4IJ API against your platform version.
cd editors/intellij ./gradlew runIde # sandbox IDE with the plugin ./gradlew buildPlugin # build/distributions/*.zip
Install the LSP4IJ plugin in your IDE, and keep wyrm-lsp on PATH.
Obsidian shipped
Build the plugin
cd editors/obsidian npm install npm run build # needs wasm-pack: cargo install wasm-pack
Install into your vault
Copy
manifest.json,main.js, andstyles.cssinto<vault>/.obsidian/plugins/wyrm/and enable it.Use it
Write an
otmfenced code block in any note β wyrm renders the data-flow diagram and STRIDE findings below it. No binary needed (bundled WASM engine).