CrewAI
Prerequisites
Installation
pip install crewai
# or with OpenAI support
pip install "crewai[openai]"Configuration
Environment Variables
OPENAI_API_KEY=your-tensorx-api-key
OPENAI_BASE_URL=https://api.tensorx.ai/v1
MODEL=openai/claude-sonnet-4-20250514Direct Code Configuration
Basic Usage
Creating Agents
Creating Tasks
Running a Crew
YAML Configuration
agents.yaml
tasks.yaml
Advanced Configuration
Custom Parameters
Multiple Models per Crew
Available Models
Model
Best For
Troubleshooting
Connection errors
Model not found
Timeout issues
Resources
Last updated
Was this helpful?

