Build multi-step AI workflows visually or in YAML. Mix shell scripts, LLM calls, autonomous agents, and human approval gates — with automatic parallelization, cost tracking, and a real-time web UI.
A full authoring environment built into Stepwise. Write YAML in the editor, see the DAG update live, or let AI generate flows for you.
YAML + live DAG, side by side
Describe what you want, get working YAML
A portable YAML workflow engine with the features you need and nothing you don't.
Flows are portable YAML files — or directories with co-located scripts and prompts. No DSL, no vendor lock-in. Automatic parallelization from dependency analysis.
Shell scripts, LLM calls via OpenRouter, autonomous agents with ACP, and human approval gates — all in a single flow. Each step uses the right tool.
Conditional branching with route steps, expression-based exit rules, loop-back on failure, for-each parallel fan-out. First-match dispatch with inline or registry flows.
Multi-step agent workflows with session continuity. Prior conversations compile into structured context blocks so each agent builds on the last.
Share, discover, and install community flows. Publish with stepwise share, install with stepwise get, or browse the registry from within the editor.
Cap spend per LLM call, set timeouts and retries per step, limit loop iterations. Decorators for timeout, retry, fallback, and notification — composable per step.
A real flow in 30 lines of YAML.
name: content-pipeline steps: research: executor: llm model: anthropic/claude-sonnet-4 prompt: "Research trends in {topic}." outputs: [insights, sources] inputs: topic: $job.topic draft: run: python scripts/draft_article.py outputs: [content, word_count] inputs: insights: research.insights review: executor: human prompt: "Review this draft." outputs: [decision, feedback] exits: - when: "outputs.decision == 'approve'" action: advance - when: "attempt < 3" action: loop target: draft publish: run: python scripts/publish.py
$ stepwise run content-pipeline --watch ✓ research (2.3s) — 847 tokens, $0.08 ✓ draft (1.1s) — 1,247 words ⏸ review Waiting for human input... → Decision: approve ✓ publish (0.8s) — /articles/ai-workflows ✓ Completed in 4.2s | 4 steps | $0.08 total
Three commands to your first flow.
Creates a .stepwise/ project, scaffolds a flow directory, and runs it with the real-time web UI.
Launches a persistent server with the visual flow editor, DAG visualization, AI chat, and the registry browser — all in your browser.
Discover production-ready flows from the community. Each flow is tested, documented, and ready to run.