What Conductor Does
Conductor is a production-ready orchestration framework for building AI workflows that execute at the edge. You define ensembles (workflows) in YAML that coordinate agents (workers) using operations (execution primitives) to accomplish complex tasks. No DAG builders. No UI-driven workflows. No central orchestrator bottleneck. Just YAML files in Git that deploy to Cloudflare Workers.Why Edge-Native Matters
Traditional Orchestrators (Airflow, Temporal, Prefect):- Centralized servers (single region)
- Slow cold starts (2-5 seconds)
- Infrastructure management required
- Geographic latency
- Distributed compute (200+ regions)
- Fast cold starts (<50ms)
- Zero infrastructure management
- Near-zero latency globally
Quick Example
Createensembles/company-intel.yaml:
Core Components
1. Operations (Execution Primitives)
Operations define HOW agents execute. They’re the “verbs” of what agents do:think
AI reasoning with LLMs
code
JavaScript and TypeScript execution
storage
Database and storage operations
http
HTTP requests to APIs
tools
MCP tools and skills integration
Email sending operations
2. Agents (Workers)
Agents are executable units that use operations to perform tasks: Custom Agents (you define):scraper- Web scraping with 3-tier fallbackvalidator- Quality scoring with multiple evaluatorsrag- RAG pipeline with R2 storagehitl- Human-in-the-loop approval workflowsfetcher- HTTP with retry logictransformer- Data transformation utilitiesscheduler- Delayed/scheduled execution
3. Ensembles (Orchestration)
Ensembles are YAML files that coordinate agents into workflows:Key Features
State Management
Share data across agents with immutable state:Caching
Three cache layers for optimal performance:Flow Control
Sequential (default), parallel, conditional, loops, retry:A/B Testing
Test multiple variants simultaneously:Beyond Workflows: Build Web Applications
Conductor isn’t just for backend workflows. Using ensembles with HTTP triggers, you can build server-rendered web applications: Features:- HTTP triggers - Define routes with path parameters and rate limiting
- Template rendering - Handlebars, Liquid, or raw HTML templates
- Dynamic routes - URL parameters like
/blog/:slug - Content negotiation - HTML or JSON based on Accept header
- Full flow control - Use any agent operation to fetch data before rendering
Versioning (Optional)
Conductor supports component versioning through Edgit integration: Basic approach: Version control with git (standard) Advanced approach: Edgit integration for component-level versioningNote: Edgit is optional. You can use Conductor with standard git workflows.If using Edgit, you get:
- Versioned components (prompts, configs, queries, scripts)
- Versioned agent implementations
- Mix optimal versions from different points in history
- Rollback one component without touching anything else
Platform Integration
Cloudflare Workers
Conductor runs on Cloudflare Workers with access to the full platform:- KV - Key-value storage for caching
- D1 - SQL database for structured data
- R2 - Object storage for documents
- Vectorize - Vector database for embeddings
- Durable Objects - Strongly consistent state for HITL
- AI Gateway - Caching and observability for AI providers
- Workers AI - On-platform AI models
Configuration
Simplewrangler.toml configuration:
Production-Ready
812 Tests Passing
Comprehensive test coverage with Vitest
v1.8.0 Released
Production-ready and published to npm
Type-Safe
Full TypeScript support with strict types
Observable
Structured logs and metrics for every execution
Testing Your Workflows
Conductor includes Vitest for testing. The template includes working examples:pnpm test
Note: Proper ExecutionContext mocking is required. See template examples in tests/basic.test.ts.
Limitations & Considerations
Platform Constraints:- Execution time: 30s limit for free tier, 15min for paid (CPU time limit)
- Max payload: 100MB for requests/responses
- Cold starts: ~50ms (negligible for most use cases)
- Rebuilding required after adding new agents/pages (discovered at build time)
- Network binding needed for local dev: use
--local-protocol httpflag - Some operations require API keys (OpenAI, Anthropic, etc.)
- ✅ Dynamic route parameters (e.g.,
/blog/:slug) - Fixed in v1.8.0! - ✅ Static and dynamic pages
- ✅ All 12 operations
- ✅ Auto-discovery of pages, agents, ensembles
- ✅ State management and caching
Use Cases
Company Intelligence
Company Intelligence
Scrape company data and analyze with AI to generate reports and store results.Operations: http + think + storage
Document Processing
Document Processing
Extract data from PDFs and validate quality with human approval for low scores.Starter Kit: validator + hitl
RAG System
RAG System
Index documents from R2 and perform semantic search to generate contextualized answers.Starter Kit: rag
Email Workflows
Email Workflows
Parse emails and classify intent to route to handlers and send automated responses.Operations: email + think + http
A/B Testing
A/B Testing
Test multiple prompt versions and agent implementations with model configs in parallel.Feature: Version multiverse with Edgit integration
Quick Start (60 Seconds)
Get a working Conductor project instantly:- Unified CLI (Recommended)
- Direct Command
The interactive wizard handles everything:Select Conductor, enter your project name, and the wizard will create your project and install dependencies automatically.Then start the dev server:Open http://localhost:8787 🎉
- ✅ 10 example pages - Static, dynamic, forms, and SSR patterns
- ✅ Working workflows - hello-world ensemble ready to run
- ✅ Custom agents - hello agent showing code operations
- ✅ Tests - Vitest setup with passing examples
Ready to Get Started?
Your First Project
Start here! Initialize in 60 seconds
Understanding Agents
Learn the building blocks
Creating Workflows
Build your own ensembles
Architecture Principles
Edge-First
Edge-First
Cloudflare Workers + KV + D1 + R2 are the primitives. No centralized compute.
Cache-Central
Cache-Central
Multi-layer caching with TTL control reduces costs and latency by 10x.
Structured Outputs
Structured Outputs
AI operations produce machine-readable and type-safe output validated via JSON schema.
Observable by Default
Observable by Default
Every execution emits structured logs and metrics for effortless debugging.
Result-Based Error Handling
Result-Based Error Handling
No throwing exceptions in core runtime with explicit Result types for predictable error flow.
Next Steps
Your First Project
Create your first Conductor project
Core Concepts
Learn about operations and agents and ensembles
Operations Reference
All available operations
Starter Kit
Ready-to-use production agents
Playbooks
Real-world patterns and recipes
Testing & Observability
Debug and monitor your workflows
Security & Auth
API keys, permissions, and authentication
Conductor is open source. Workflows run on your Cloudflare account. We don’t see your data.You own everything.

