Setup
Basic Configuration
Configure Venice as CrewAI’s LLM provider using the OpenAI-compatible interface:Your First Crew
Create a simple research crew with two agents:Multi-Agent Product Analysis Crew
A more complex example with specialized agents:Using Tools
Enhance agents with web search and other tools:SerperDevTool requires a SERPER_API_KEY environment variable from serper.dev. As an alternative, you can use Venice’s built-in web search by passing venice_parameters: {"enable_web_search": "auto"} via model_kwargs — no extra API key needed. See the LangChain guide’s Web Search Integration for an example.Model Selection Guide for CrewAI
Choose the right Venice model for each agent role:| Agent Role | Recommended Model | Why |
|---|---|---|
| Complex reasoning / Strategy | zai-org-glm-4.7 | Best private reasoning model |
| Uncensored analysis / Red team | venice-uncensored | No content filtering |
| High-volume / Fast tasks | qwen3-4b | Cheapest at $0.05/1M tokens |
| Code generation agents | qwen3-coder-480b-a35b-instruct | Optimized for code |
| Vision/multimodal tasks | qwen3-vl-235b-a22b | Advanced vision understanding |
| Budget-conscious teams | qwen3-4b (fast) + venice-uncensored (main) | Low cost combination |
Cost Optimization Tips
-
Use cheaper models for simpler agents: Not every agent needs a flagship model. Use
qwen3-4bfor formatting, summarizing, or simple extraction. -
Use
venice-uncensoredfor creative/critical roles: It’s fast, cheap, and won’t refuse uncomfortable analyses. -
Reserve flagship models for reasoning: Use
zai-org-glm-4.7only for agents that need complex reasoning or reliable function calling. -
Limit max iterations: Set
max_iteron agents to prevent runaway token usage:
Privacy Advantage
Venice’s privacy guarantees make it ideal for CrewAI use cases involving:- Confidential business strategy — Zero data retention means your competitive analysis stays private
- Sensitive data processing — Private models never log or store your data
- Red team exercises — Uncensored models give honest feedback without content filtering
CrewAI Docs
Official CrewAI documentation
Venice Models
Browse all Venice models