@slatehq/agent-cli
v0.13.3
Published
Slate workflow operator CLI (wf-ir@1 planning/compile/apply/run)
Readme
@slatehq/agent-cli
Agent-first CLI for discovering blocks, compiling wf-ir@1, applying workflows, and running/inspecting executions.
Core commands
slate-cli auth login --token <slat_...> [--profile default] [--endpoint https://api.slatehq.ai]
slate-cli status [--profile default] [--format json]
slate-cli wf blocks [--ids googleSearch,webScrape,llm] [--runtime all|supported|unsupported] [--format json|markdown]
slate-cli wf validate --ir /abs/path/workflow.wf-ir.json --format json
slate-cli wf compile --ir /abs/path/workflow.wf-ir.json --out /tmp/workflow.graph.json --format json
slate-cli wf apply --ir /abs/path/workflow.wf-ir.json --mode create-new --publish --format json
slate-cli wf run --workflow-id <id> --inputs-json '{"query":"best ai seo tools"}' --check-inputs true --wait true --format json
slate-cli wf inspect --run-id <run-id> --format jsonLifecycle
wf blocksReturns full discoverable catalog (purpose-first rows).wf blocks --ids ...Use detail mode to load schema/constraints only for selected blocks.Author
wf-ir@1IR is the canonical authoring format for agents.wf validateLints IR and returns required runtime inputs, issues, fingerprint, and normalized IR. Add--strictonly for optional hardening gates.wf compileDeterministically compiles IR into backend graph JSON.wf applyCreates/patches workflow and optionally publishes.wf run+wf inspectRuns and returns terminal status; inspect loads failure step context.
Notes
wf-ir@1supportsstep,forEach, andifflow nodes.wf export --to iris best-effort linear export from graph JSON.- Manifest drift check:
npm run check:manifest
