Operations Overview
Operations are the atomic building blocks of Conductor. Each operation does one thing well. Agents use operations to do work. Ensembles orchestrate agents. Operations are where the rubber meets the road.The 12 Operations
Compute Operations
Execute logic and transform data.Data Operations
Access and manipulate data stores.storage
KV, D1, R2, Vectorize access
Communication Operations
Send messages and make requests.Presentation Operations
Render content for users.Extension Operations
Extend functionality with external tools.tools
MCP tools and custom skills
Quick Reference
| Operation | Use Case | Example |
|---|---|---|
| think | AI reasoning, text generation | Analyze sentiment, generate content |
| code | Data transformation, business logic | Calculate totals, format data |
| ml | Machine learning inference | Image classification, predictions |
| storage | Data persistence, caching | Store in D1, cache in KV |
| http | API calls, web requests | Fetch external data |
| Send notifications | Order confirmations, alerts | |
| sms | Send text messages | 2FA codes, alerts |
| html | Render web pages | Dashboard, reports |
| Generate documents | Invoices, reports | |
| page | Full-stack components | Interactive UIs |
| tools | External tool integration | Web search, file operations |
Common Configuration
All operations support:Output Access
Reference operation outputs:Performance Features
Automatic Parallelization
Operations without dependencies run in parallel:Built-in Caching
Cache expensive operations:Automatic Retry
Retry failed operations:Error Handling
Conditional Execution
Skip operations on failure:Error Context
Access error details:Best Practices
- Use the Right Operation - Each is optimized for its use case
- Cache Aggressively - Cache expensive operations
- Handle Failures - Use conditions and fallbacks
- Parallel by Default - Don’t create unnecessary dependencies
- Set Timeouts - Prevent hanging operations
- Monitor Performance - Track operation durations
- Test Thoroughly - Unit test each operation
- Version Components - Use Edgit for prompts/configs
Operation Comparison
When to Use What
think vs code:- Use
thinkfor AI reasoning, natural language - Use
codefor deterministic logic, calculations
- Use KV for caching, simple key-value
- Use D1 for structured data, complex queries
- Use
httpfor direct API calls - Use
toolsfor MCP-compatible tools
- Use
emailfor rich content, attachments - Use
smsfor urgent, short messages
- Use
htmlfor simple rendering - Use
pagefor full-stack, interactive UIs

