Skip to main content
Use uv for project management and install the SDK from the private Backbase Artifactory.

1. Configure pyproject.toml

Add the Backbase Artifactory repository to your pyproject.toml. This tells uv where to find the bb-ai-sdk package.
pyproject.toml

2. Set credentials

Authenticate with Artifactory using environment variables. Add these to your .env file (and ensure .env is in .gitignore):
.env
The environment variable format is UV_INDEX_<NAME>_USERNAME, where <NAME> matches the name you defined in pyproject.toml (uppercased). You must export them in .env file

3. Install the SDK

Load your environment variables and add the package:
Install the instrumentation bundles you need. These pull OpenInference + OTel helpers; they do not install Agno/LangChain themselves.
Guardrails: uv add "bb-ai-sdk[guardrails]==0.1.9" --index backbase

Verification

Verify the installation was successful (expect 0.1.9):