WORKFLOW.md
How Workflows Work
StartEnd
Start → Search → Screen → Analyze → CheckQuality
↓ Pass ↓ Fail
Review Analyze (retry)
↓ Approve
Publish → EndCall an agent — run a Stencila agent with a prompt, receiving the agent's full tool-calling capabilities Execute a shell command — run a build, test suite, or script directly Pause for human input — present choices and wait for a decision Route conditionally — branch based on the outcome of the previous stage
Workflows vs Agents
AGENT.md | WORKFLOW.md | |
.stencila/agents/~/.config/stencila/agents/ | .stencila/workflows/ | |
Build [agent="code-engineer", prompt="Implement the design"]code-engineercode-engineer
Workflow Discovery
.stencila/workflows/
.stencila/
workflows/
code-review/
WORKFLOW.md
test-and-deploy/
WORKFLOW.mdname
Next Steps
Creating Workflows — create and configure your own workflows Using Workflows — run workflows from the CLI Configuration Reference — full reference for WORKFLOW.mdproperties Pipelines — detailed pipeline syntax: nodes, edges, conditions, patterns, and graph attributes