Installation¶
Install Draive into a dedicated Python 3.12+ 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[ollama]
for local Ollama deployments.draive[cohere]
ordraive[cohere_bedrock]
for Cohere hosted or AWS Bedrock access.draive[postgres]
when you need the PostgreSQL resource backend.draive[docs]
to render documentation locally with MkDocs.
Verify your environment¶
You are ready to jump into the quickstart once the version prints without errors.