Standard setup (recommended)
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. Authenticate with Artifactory
Set your Artifactory username and either a password or an API key as environment variables. Add these variables to your.env file, and make sure .env is in .gitignore:
.env
3. Install the SDK
Load your environment variables and add the package:Observability extras (recommended for agents)
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 (expect0.1.9):