mayros workflow
Run, list, and track multi-agent workflows. Workflows coordinate teams of agents through defined phases with automatic knowledge fusion.
Global options
--cortex-host <host>— Cortex host (default:127.0.0.1or from config)--cortex-port <port>— Cortex port (default:8080or from config)--cortex-token <token>— Cortex auth token (or setCORTEX_AUTH_TOKEN)
Subcommands
workflow run <name>
Execute a pre-defined multi-agent workflow. Built-in workflows: code-review, feature-dev, security-review.
The command creates a team, runs all phases sequentially, and reports per-phase results including agent findings and conflicts.
Options:
| Flag | Description |
|---|---|
--path <path> | Target path (default: .) |
--strategy <strategy> | Merge strategy: additive, replace, conflict-flag, newest-wins, majority-wins |
--format <fmt> | Output: terminal, json (default: terminal) |
workflow list
List available workflow definitions with their phases, agent count, and default merge strategy.
Options: --format <fmt> (terminal or json)
workflow status [id]
Show progress of a workflow run. Without an ID, lists all recent runs.
Options: --format <fmt> (terminal or json)
workflow history
List past workflow runs.
Options:
| Flag | Description |
|---|---|
--limit <n> | Max results (default: 20) |
--format <fmt> | Output: terminal, json (default: terminal) |
Examples
bashmayros workflow list mayros workflow run code-review --path src/ mayros workflow run security-review --path . --strategy conflict-flag mayros workflow status mayros workflow status wf-abc123 mayros workflow history --limit 10