This directory contains example workflow files demonstrating various features of Conductor.
A minimal workflow with a single agent that answers questions. Demonstrates:
- Basic workflow structure
- Input parameters
- Output schema validation
- Simple routing to
$end
conductor run examples/simple-qa.yaml --input question="What is Python?"Dynamic parallel processing with for-each groups. Demonstrates:
- For-each group definition
- Processing variable-length arrays
- Loop variable access (
{{ item }},{{ _index }}) - Aggregating parallel outputs
conductor run examples/for-each-simple.yaml --input items='["apple", "banana", "cherry"]'Parallel research from multiple sources. Demonstrates:
- Static parallel groups
- Multiple specialized research agents
- Result aggregation from parallel outputs
conductor run examples/parallel-research.yaml --input topic="Renewable energy"Parallel code validation checks. Demonstrates:
- Static parallel groups for concurrent validation
- Multiple validation agents (security, performance, style)
- Failure mode configuration
conductor run examples/parallel-validation.yaml --input code="def hello(): print('world')"An iterative design workflow with human approval. Demonstrates:
- Multiple agents with conditional routing
- Loop-back patterns for refinement
- Human gates for approval decisions
- Context accumulation between iterations
- Safety limits (max_iterations, timeout)
# Interactive mode
conductor run examples/design-review.yaml --input requirement="Build a REST API"
# Automation mode (auto-approves)
conductor run examples/design-review.yaml --input requirement="Build a REST API" --skip-gatesA multi-agent research workflow with tools. Demonstrates:
- Multiple specialized agents
- Tool configuration at workflow and agent levels
- Explicit context mode
- Conditional routing based on coverage
- Complex output schemas
conductor run examples/research-assistant.yaml --input topic="AI in healthcare"
# With custom depth
conductor run examples/research-assistant.yaml --input topic="Quantum computing" --input depth="comprehensive"The research assistant configured for Claude provider. Demonstrates:
- Claude provider with multi-agent workflow
- Model selection per agent
export ANTHROPIC_API_KEY=sk-ant-...
conductor run examples/research-assistant-claude.yaml --input topic="Machine learning"Research workflow demonstrating multi-provider patterns. Demonstrates:
- Provider configuration options
- Cross-provider workflow patterns
conductor run examples/multi-provider-research.yaml --input topic="Cloud computing"A comprehensive design and implementation planning workflow. Demonstrates:
- Architect agent for creating solution designs with implementation plans
- Reviewer agent for quality assessment of design and actionability
- Loop-back pattern until quality threshold is met (score >= 85)
- Structured output following design document and implementation plan templates
- MCP server integration (web-search, context7) for research
- Traceability between requirements and implementation tasks
conductor run examples/plan.yaml --input purpose="Build a user authentication system with OAuth2"
# Resume from existing plan
conductor run examples/plan.yaml --input purpose="..." --input existing_plan="path/to/plan.md"
# With verbose output
conductor -V run examples/plan.yaml --input purpose="..."An epic-based implementation workflow with multi-tier review. Demonstrates:
- Coder agent (Opus 4.5) for deep research, analysis, and implementation
- Epic reviewer agent (Opus 4.5) for per-epic quality assessment
- Committer agent (Sonnet) for git commits and plan updates
- Plan reviewer agent (Opus 4.5) for holistic review of all changes
- Fixer agent (Opus 4.5) for addressing plan-level issues
- Iterative epic-by-epic implementation with automatic plan tracking
- Two-tier review: epic-level (fast) and plan-level (thorough)
conductor run examples/implement.yaml --input plan="path/to/implementation.plan.md"
# With specific epic
conductor run examples/implement.yaml --input plan="..." --input epic="EPIC-001"
# With verbose output
conductor -V run examples/implement.yaml --input plan="..."-
Install Conductor:
uvx conductor
-
Ensure you have valid credentials for your provider:
- Copilot: GitHub authentication via
gh auth login - Claude: Set
ANTHROPIC_API_KEYenvironment variable
- Copilot: GitHub authentication via
You can validate a workflow without executing it:
conductor validate examples/simple-qa.yamlPreview the execution plan without actually running the workflow:
conductor run examples/simple-qa.yaml --dry-runSee detailed execution progress:
conductor -V run examples/simple-qa.yaml --input question="Hello"A multi-pattern workflow for testing the web dashboard. Demonstrates:
- Real-time DAG visualization with live node state updates
- Agent detail panel with streaming reasoning and tool calls
- Sequential, parallel, and script step patterns in a single workflow
# Foreground dashboard (keeps running after workflow completes)
conductor run examples/web-dashboard-test.yaml --web --input topic="Python async programming"
# Background mode (prints URL and exits immediately)
conductor run examples/web-dashboard-test.yaml --web-bg --input topic="Rust vs Go"Use the init command to create a new workflow from a template:
# List available templates
conductor templates
# Create from a template
conductor init my-workflow --template loop-
Start simple: Begin with a linear workflow and add complexity incrementally.
-
Validate often: Use
conductor validateto catch configuration errors early. -
Use dry-run: Preview execution with
--dry-runbefore running expensive workflows. -
Explicit context: Use
context.mode: explicitfor complex workflows to control exactly what context each agent sees. -
Safety limits: Always set appropriate
max_iterationsandtimeout_secondsfor workflows with loops. -
Optional dependencies: Use
?suffix for optional input references to avoid errors when agents haven't run yet.
- Workflow Syntax Reference - Complete YAML schema
- CLI Reference - Full command documentation
- Parallel Execution - Static parallel groups
- Dynamic Parallel - For-each groups