wash
$ wash Foundation Med Riskwash (wasmCloud Shell) manages local wasmCloud hosts, compiles WebAssembly components (wash build), inspects cluster inventories, and deploys declarative WADM applications (wash app deploy). Many inspection commands support -o json / --output json for structured parsing.
brew install wasmcloud/wasmcloud/wash Local Wasm component builder and NATS/lattice control CLI with -o json; direct execution suits build/inspect loops.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -o json (--output json) across get and app inspection subcommands and runs non-interactively, though wash up manages background NATS/host processes.
- Consistent
-o json/--output jsonongetandappsubcommands - Predictable subcommand hierarchy with
--help
Components run inside capability-restricted Wasm sandboxes; wash app validate verifies manifests before deploying.
- Wasm capability isolation plus
wash app validatepre-flight check
Distributed via Homebrew tap, Cargo, apt/rpm, and release binaries for macOS, Linux, and Windows.
- Rust binary with Homebrew, Cargo, and OS package installers
Covers scaffolding, building, signing, local host control, and lattice debugging in one binary.
- All-in-one toolchain for wasmCloud components and WADM apps
CNCF Incubating project (wasmCloud) under Apache-2.0.
- CNCF Incubating project under Apache-2.0
Thorough CLI reference at wasmcloud.com/docs/cli/.
- Complete command reference at wasmcloud.com/docs/cli/
Security, Auth & Guardrails
Local hosts require no auth; remote NATS/wasmCloud lattices use NKeys/JWT credential files in ~/.wash/.
CNCF Incubating Apache-2.0 open-source project; completely free.
# wash Agent Rules - Always pass `-o json` (`--output json`) on `wash get` and `wash app list`. - Run `wash app validate wadm.yaml` before `wash app deploy`. - Stop local hosts cleanly via `wash down` after integration tests.
Agent-Ready Command Recipes
Safe Read-Only Queries
wash get inventory -o json
Queries running components, providers, and links on the connected wasmCloud host as JSON.
wash app list -o json
Returns application deployment status across the lattice in JSON.
Controlled Writes & Previews
wash build
Compiles the component from wasmcloud.toml into a signed .wasm artifact locally.
Strengths for Agents
- + Native
-o jsonoutput onwash getandwash appinspection commands. - + Pre-flight manifest checking via
wash app validate. - + Capability-based Wasm runtime with clean local
wash up/wash downlifecycle.
Caveats & Pitfalls
- ! Background host/NATS processes started by
wash upmust be cleaned up withwash down. - ! Building components requires target language toolchains (
cargo,tinygo,node) installed locally.