Install
Westering is a Rust command line tool, published on crates.io. Cargo builds it from source with Rust 1.88 or newer, and each release also carries prebuilt binaries.
From crates.io
cargo install westering --locked
This builds the latest published version and puts westering in the cargo bin directory, usually ~/.cargo/bin. With cargo-binstall installed, cargo binstall westering fetches the archive a release carries for the machine, where it carries one, instead of building from source. The section on prebuilt binaries below names those archives.
From a clone
git clone https://github.com/david-engelmann/westering.git
cd westering
cargo build --release
The binary lands at target/release/westering. A debug build with cargo build lands at target/debug/westering, which is the path every example in these docs uses.
From the main branch
cargo install --git https://github.com/david-engelmann/westering --locked
This builds the main branch, which can hold changes that no release carries yet, and puts westering in the cargo bin directory.
Prebuilt binaries
Westering builds and passes its test suite on Linux, macOS, and Windows.
Each release carries archives for macOS on Apple silicon and Intel, Linux on x86_64 and aarch64, and Windows on x86_64 as a zip holding westering.exe, with a SHA256SUMS file beside them. The Linux binaries are static musl builds, so they run on any Linux distribution whatever its C library version. Every archive carries a build provenance attestation, which gh attestation verify <archive> --repo david-engelmann/westering checks.
The install.sh script at the repository root downloads the archive for the current Linux or macOS machine over HTTPS, checks it against SHA256SUMS, runs the binary once, and installs it into $HOME/.local/bin. --to <dir> or WESTERING_INSTALL_DIR picks another directory, and --version <tag> or WESTERING_VERSION picks a release other than the latest.
curl -fsSLO https://raw.githubusercontent.com/david-engelmann/westering/main/install.sh
sh install.sh
On Windows, download the zip from the release page, compare the hash Get-FileHash -Algorithm SHA256 <zip> prints with the zip's line in SHA256SUMS, ignoring the case of the letters since Get-FileHash prints uppercase hex and SHA256SUMS holds lowercase, and put westering.exe on your PATH.
Check the install
An installed binary runs as westering from the path, and a build from a clone runs as ./target/debug/westering, the path the block below uses.
$ ./target/debug/westering --help
An offline policy lab for a graded stall rescue ladder. It reads recorded traces of agent work, detects looping and fixation stalls, and replays scripted scenarios against the ladder, recording which rung clears the stall.
Usage: westering <COMMAND>
Commands:
detect Run the stall detectors over a trace file or a tool call log
import Print the native trace a tool call log imports to
intervene Run a scripted sandbox session
mcp Serve the Model Context Protocol over standard input and output
Options:
-h, --help Print help
-V, --version Print version
As a Claude Code plugin
The repository is also a Claude Code plugin, which adds the Agent Skill and the MCP server to the client in one step. The plugin carries the skill and the MCP server but not the binary, so install the binary first.
claude plugin install westering --marketplace david-engelmann/westering
Inside a session the same step is /plugin install westering --marketplace david-engelmann/westering.