Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

wash

$ wash Foundation Med Risk
wasmCloud / CNCF · Cloud & Infra · Apache-2.0 · macos / linux / windows

wash (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.

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
brew install wasmcloud/wasmcloud/wash
CLI vs MCP Decision CLI Only

Local Wasm component builder and NATS/lattice control CLI with -o json; direct execution suits build/inspect loops.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

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 json on get and app subcommands
  • Predictable subcommand hierarchy with --help
Trust & Safety 22 / 25

Components run inside capability-restricted Wasm sandboxes; wash app validate verifies manifests before deploying.

  • Wasm capability isolation plus wash app validate pre-flight check
Setup & Portability 14 / 15

Distributed via Homebrew tap, Cargo, apt/rpm, and release binaries for macOS, Linux, and Windows.

  • Rust binary with Homebrew, Cargo, and OS package installers
Utility & Efficiency 13 / 15

Covers scaffolding, building, signing, local host control, and lattice debugging in one binary.

  • All-in-one toolchain for wasmCloud components and WADM apps
Maintenance & Lineage 9 / 10

CNCF Incubating project (wasmCloud) under Apache-2.0.

  • CNCF Incubating project under Apache-2.0
Docs & Verifiability 9 / 10

Thorough CLI reference at wasmcloud.com/docs/cli/.

  • Complete command reference at wasmcloud.com/docs/cli/

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Local hosts require no auth; remote NATS/wasmCloud lattices use NKeys/JWT credential files in ~/.wash/.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

CNCF Incubating Apache-2.0 open-source project; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect host inventory in JSON
wash get inventory -o json

Queries running components, providers, and links on the connected wasmCloud host as JSON.

List deployed WADM applications as JSON
wash app list -o json

Returns application deployment status across the lattice in JSON.

Controlled Writes & Previews

Build and sign Wasm component locally
wash build

Compiles the component from wasmcloud.toml into a signed .wasm artifact locally.

Strengths for Agents

  • + Native -o json output on wash get and wash app inspection commands.
  • + Pre-flight manifest checking via wash app validate.
  • + Capability-based Wasm runtime with clean local wash up / wash down lifecycle.

Caveats & Pitfalls

  • ! Background host/NATS processes started by wash up must be cleaned up with wash down.
  • ! Building components requires target language toolchains (cargo, tinygo, node) installed locally.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI