What It Does
Conductor is a new CLI tool from Microsoft that lets you define and run multi-agent AI workflows using YAML configuration files. While it supports GitHub Copilot, its native integration with Anthropic Claude makes it particularly relevant for Claude Code users. Instead of writing custom Python scripts to orchestrate multiple Claude agents, you can now define complex workflows—like evaluator-optimizer loops, parallel research tasks, or human-in-the-loop approval chains—in a declarative YAML format.
The tool addresses a key limitation of single-prompt interactions: a single LLM can't review its own work, research from multiple angles, or pause for human approval. Conductor provides the patterns that work for these scenarios, with built-in safety limits to prevent infinite loops.
Setup
Install Conductor using uv (recommended) or pipx:
# Using uv
uv tool install git+https://github.com/microsoft/conductor.git
# Using pipx
pipx install git+https://github.com/microsoft/conductor.git
You'll need to set your Anthropic API key as an environment variable:
export ANTHROPIC_API_KEY=your_key_here
When To Use It
Conductor shines when your Claude Code tasks need orchestration beyond what a single claude code command can handle. Here are specific use cases:

Code Review Workflows: Create an evaluator-optimizer loop where one Claude agent writes code and another reviews it, iterating until quality thresholds are met.
Parallel Research: When you need to explore multiple approaches simultaneously (e.g., "research three different database solutions for this feature"), Conductor can run agents in parallel and synthesize results.
Human Approval Gates: Insert manual checkpoints in automated workflows—perfect for production deployments or sensitive code changes where you want human oversight.
Conditional Routing: Route between different Claude agents based on output conditions. For example, if a test fails, route to a debugging agent; if it passes, route to a deployment agent.
Example Workflow
Here's a simple YAML workflow that uses Claude to answer a question:
# qa-workflow.yaml
workflow:
name: simple-qa
description: A simple question-answering workflow
entry_point: answerer
agents:
- name: answerer
model: claude-3-5-sonnet-20241022
prompt: |
Answer the following question:
{{ workflow.input.question }}
output:
answer:
type: string
routes:
- to: $end
output:
answer: "{{ answerer.output.answer }}"
Run it with:
conductor run qa-workflow.yaml --input question="What is Python?"
Advanced Features
Web Dashboard: Launch a real-time visualization of your workflow with --web flag:
conductor run workflow.yaml --web --input question="What is Python?"
The dashboard shows an interactive DAG graph, live streaming of agent outputs, and in-browser human gates.
Script Steps: Mix AI agents with shell commands. Run tests, build scripts, or git operations between Claude interactions.
Safety Limits: Set max iterations and timeouts directly in YAML to prevent runaway workflows.
Validation: Validate your workflow before execution with conductor validate workflow.yaml.
Integration with Claude Code
While Conductor runs as a separate tool, you can integrate it into your Claude Code workflow by:
- Defining complex multi-step processes in YAML
- Running them via Conductor CLI
- Using the results in your regular
claude codesessions
This separation allows you to maintain simple claude code interactions for day-to-day tasks while having powerful orchestration available for complex scenarios.





