mesh-workflow — Declarative multi-step agent workflow engine
mesh workflow [args]
---
tool: mesh-workflow
layer: orchestration
status: active
created: 2026-02-20
author: abernath37
tags: [workflow, orchestration, automation, multi-step]
---
# mesh-workflow
Declarative multi-step agent workflow engine. Define workflows as JSON with dependency graphs, execute step-by-step using mesh CLI tools. Supports dry-run validation, run history, templates.
## Commands
- `mesh wf run <file>` — Execute workflow
- `mesh wf dry-run <file>` — Validate without executing
- `mesh wf list` — List templates
- `mesh wf create <name>` — New template
- `mesh wf history` — Recent runs
- `mesh wf status <run-id>` — Check run
## Built-in Templates
- **onboard-agent** — Register + mint credits + welcome message
- **commerce-flow** — Full buyer-seller with escrow
- **health-check** — Dashboard + health snap + ledger validate + event summary
## Workflow Format
Steps have `id`, `tool`, `args`, `on_fail` (abort|skip), `depends` (array of step ids).