Installation¶
Requirements¶
Draive requires Python 3.12 or higher. The framework is built on top of Haiway for state management and structured concurrency.
Basic Installation¶
Install Draive using pip:
Optional Dependencies¶
Draive provides integrations with various AI service providers and tools. Install only what you need:
AI Service Providers¶
OpenAI¶
For GPT models, DALL-E, and embeddings (includes Azure OpenAI support):
For OpenAI Realtime API support:
Anthropic¶
For Claude models:
For Claude via AWS Bedrock:
Google Gemini¶
For Gemini models via Google AI Studio:
Mistral¶
For Mistral models (includes Azure support):
Cohere¶
For Cohere models:
For Cohere via AWS Bedrock:
Ollama¶
For local models via Ollama:
VLLM¶
For VLLM inference server (uses OpenAI-compatible API):
AWS Bedrock¶
For AWS Bedrock service (base integration):
Additional Features¶
Model Context Protocol (MCP)¶
For MCP client and server support:
OpenTelemetry¶
For observability and monitoring:
Installation Combinations¶
You can install multiple integrations together:
# For multi-provider support
pip install 'draive[openai,anthropic,gemini]'
# For AWS-based services
pip install 'draive[anthropic_bedrock,cohere_bedrock,bedrock]'
Next Steps¶
After installation, proceed to the Quickstart Guide to build your first Draive application.