Skip to main content

The Hierarchy

Each layer has a specific job. No overlap, no confusion.

Components: Versioned Artifacts

Components are files that agents use during execution. Think of them as the “ingredients” that agents consume:
  • Prompts (.md) - AI instructions and templates
  • Configs (.json, .yaml) - Settings and parameters
  • Queries (.sql) - Database queries
  • Scripts (.js, .ts) - Reusable functions
  • Schemas (.json) - Data validation rules
  • Templates (.html, .md) - Output templates

Why Components Are Special

Each component gets its own version history.
You’re not stuck with “the current version.” You can cherry-pick the best version of each component from any point in history.

Example: Prompt Component

Version it:
Now agents can reference it:

Agents: Workers That Execute

Agents are executable units that perform tasks. They use operations (execution primitives) and components (versioned artifacts) to get work done.

Agent Anatomy

Operations: How Agents Execute

Operations are the execution primitives. Think of them as the “verb” of what an agent does:

think

AI reasoning - LLMs, embeddings, classification

code

JavaScript/TypeScript - Business logic, transformations

storage

Storage operations - KV and R2

data

Database operations - D1, Vectorize, Hyperdrive

http

HTTP requests - External APIs, webhooks

tools

MCP/skills access - External capabilities via protocols

email

Email operations - Sending, templates

sms

SMS operations - Twilio, etc.

html

HTML rendering - Dynamic pages

pdf

PDF generation - Reports, invoices

page

Full-stack pages - Complete web pages with forms

Custom vs Starter Kit Agents

Custom Agents - You define them using operations:
Starter Kit Agents - Ships with Conductor, ready to use:
Starter Kit agents available:
  • scraper - Web scraping with fallback strategies
  • validator - Quality scoring and validation
  • rag - RAG pipeline with R2 storage
  • hitl - Human-in-the-loop approval
  • fetcher - HTTP with retry logic
  • transformer - Data transformation
  • scheduler - Delayed/scheduled execution

Ensembles: Orchestration Workflows

Ensembles are YAML files that coordinate agents into workflows. They define what runs, in what order, and how data flows.

Ensemble Anatomy

Flow Control

Sequential (default):
Parallel:
Conditional:
Loops:

State Management

Share data across agents using state:
State is immutable - each update creates a new version.

The Versioning Multiverse

Here’s where it gets powerful: components AND agents can both be versioned independently.

Mix Versions Freely

Run all three in parallel and compare results. Welcome to the multiverse.

A/B Testing Made Trivial

Test 2 agent versions x 3 prompt versions x 2 configs = 12 variants:
Each variant runs with its specific combination of versions.

Time Travel

Reproduce bugs from last week by deploying the exact versions that were running:
Perfect reproducibility. Every time.

Edge Architecture

Your ensembles run on Cloudflare Workers at 200+ global locations.

Why Edge Matters

Traditional Orchestrators:
  • Centralized compute (single region)
  • Slow cold starts (2-5 seconds)
  • Scale requires infrastructure management
  • Geographic latency
Conductor (Edge-Native):
  • Distributed compute (200+ regions)
  • Fast cold starts (<50ms)
  • Infinite scale (automatic)
  • Near-zero latency globally

Built-in Caching

Three cache layers:
  1. KV Cache - HTTP responses, agent outputs
  2. AI Gateway Cache - LLM responses (persistent across deployments)
  3. Durable Objects - Strongly consistent state for HITL and async workflows
First request: ~200ms Cached request: <10ms

What You Can’t Do (By Design)

Ensembles can’t use operations directly:
Ensembles aren’t versioned:
Ensembles are like Kubernetes manifests - you don’t version the manifest, you update it to point to different versions of containers (agents) and configs (components).

Mental Model

Think of it like a restaurant:
  • Components = Recipes (versioned, can be updated independently)
  • Agents = Chefs (execute using recipes and tools)
  • Ensembles = Menu/Order (orchestrate which chefs make which dishes)
  • Operations = Cooking techniques (grill, bake, saute)
  • Conductor = Kitchen manager (coordinates everything)
You version the recipes and train chefs. The menu composition changes based on what’s optimal.

Next Steps

Nomenclature & Glossary

Complete terminology reference

Edgit Documentation

Component versioning system

Conductor Documentation

Edge orchestration framework

Operations Reference

All available operations