Install the VB-OS Python SDK
Requirements
Section titled “Requirements”- Python 3.10 or later
- pip (or any PEP 517-compatible installer)
Install the SDK
Section titled “Install the SDK”pip install "vb-os"This installs the core SDK and its dependencies.
Install with CLI
Section titled “Install with CLI”To include the vbos command-line tool:
pip install "vb-os[cli]"The CLI extra adds:
| Dependency | Version | Purpose |
|---|---|---|
click |
>=8.1.0 |
Command framework |
keyring |
>=25.0.0 |
Credential storage |
cryptography |
>=43.0.0 |
Token encryption |
tomli_w |
>=1.0.0 |
Config file writing |
After installation, the vbos command is available:
vbos --helpVerify the installation
Section titled “Verify the installation”import vbos
client = vbos.VBOSClient(api_key="vbos_your_key_here")user = client.users.me()print(user)client.close()Package structure
Section titled “Package structure”The SDK exposes two importable packages:
vbos– the SDK library (client classes, models, exceptions)vbos_cli– the CLI application (only available with thecliextra)
All SDK imports use the vbos package:
from vbos import VBOSClient, AsyncVBOSClientfrom vbos.models import EvaluationResult, ReplayResultfrom vbos.exceptions import VBOSError, VBOSNotFoundErrorUpgrading
Section titled “Upgrading”pip install --upgrade "vb-os"Or with CLI:
pip install --upgrade "vb-os[cli]"