Installation¶
Install Draive into a dedicated Python 3.14+ environment so your project dependencies remain
isolated. We recommend uv for deterministic installs, but
standard pip works as well.
Using pip¶
Add provider extras to pull in the SDKs you need:
Combine extras for multi-provider projects:
Using uv¶
To sync an existing project with the pinned dependencies from pyproject.toml:
Optional extras¶
draive[openai],draive[openai_realtime]for OpenAI Responses/Realtime.draive[anthropic],draive[anthropic_bedrock]for Claude models (direct or via Bedrock).draive[mistral],draive[gemini],draive[cohere],draive[cohere_bedrock]for other hosted LLMs.draive[bedrock],draive[aws]for AWS model/runtime integrations.draive[ollama],draive[vllm]for local or self-hosted deployments.draive[qdrant],draive[postgres],draive[surrealdb]for vector/storage backends; the Postgres index requires thepgvectorserver extension, while a remote SurrealDB connection requires a SurrealDB 3.x server with its namespace and database already defined. SurrealDB tables have to be defined upfront as well - each feature provides a staticmigrate()(SurrealConversationMemory,SurrealTemplatesRepository,SurrealVectorIndex), while custom models are defined withSurreal.define_table.draive[rabbitmq]for message-queue integrations.draive[starlette],draive[fastapi]for serving draive applications over HTTP.draive[httpx],draive[mcp],draive[opentelemetry],draive[docs]for HTTP utilities, MCP, tracing, and docs site builds.
Verify your environment¶
You are ready to jump into the quickstart once the version prints without errors.