Overview
Conductor’s AI provider system enables Think members to work with multiple AI providers (OpenAI, Anthropic, Cloudflare Workers AI, custom endpoints) through a unified interface. The system automatically handles routing, failover, and provider-specific configurations.Supported Providers
Anthropic (Claude)
Official Anthropic provider for Claude models:claude-3-5-sonnet-20241022- Most capableclaude-3-opus-20240229- Highest intelligenceclaude-3-sonnet-20240229- Balancedclaude-3-haiku-20240307- Fastest
OpenAI (GPT)
Official OpenAI provider for GPT models:gpt-4-turbo-preview- Latest GPT-4gpt-4- Most capablegpt-3.5-turbo- Fast and efficient
Cloudflare Workers AI
Cloudflare’s edge AI models (no API key needed):@cf/meta/llama-3.1-8b-instruct- Fast, edge-optimized@cf/meta/llama-2-7b-chat-int8- Smaller, faster@cf/mistral/mistral-7b-instruct-v0.1- Alternative
Custom Provider
Support for custom AI endpoints (OpenAI-compatible):Provider Selection
Explicit Provider
Specify provider directly in config:Default Provider
If no provider specified, defaults to Anthropic:Environment-Based
Choose provider based on environment:Configuration
API Keys
Store API keys in environment variables:Provider Config
Common configuration options:Features
Automatic Validation
Providers validate configuration before execution:Token Usage Tracking
Automatic token counting:Provider Metadata
Access provider-specific details:Advanced Patterns
Multi-Provider Fallback
Try multiple providers:Cost Optimization
Use cheaper models for simple tasks:Provider Routing
Route based on task type:Best Practices
- Set API keys via secrets - Never hardcode keys
- Use appropriate models - Match model to task complexity
- Handle errors - Implement fallback providers
- Monitor token usage - Track costs
- Cache responses - Avoid redundant AI calls
- Test locally - Use Cloudflare provider for free testing
- Validate configuration - Check provider availability at startup
- Use system prompts - Set consistent behavior
- Implement timeouts - Prevent hanging requests
- Log provider usage - Debug and optimize

