Skip to content

Install the VB-OS Python SDK

  • Python 3.10 or later
  • pip (or any PEP 517-compatible installer)
Terminal window
pip install "vb-os"

This installs the core SDK and its dependencies.

To include the vbos command-line tool:

Terminal window
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:

Terminal window
vbos --help
import vbos
client = vbos.VBOSClient(api_key="vbos_your_key_here")
user = client.users.me()
print(user)
client.close()

The SDK exposes two importable packages:

  • vbos – the SDK library (client classes, models, exceptions)
  • vbos_cli – the CLI application (only available with the cli extra)

All SDK imports use the vbos package:

from vbos import VBOSClient, AsyncVBOSClient
from vbos.models import EvaluationResult, ReplayResult
from vbos.exceptions import VBOSError, VBOSNotFoundError
Terminal window
pip install --upgrade "vb-os"

Or with CLI:

Terminal window
pip install --upgrade "vb-os[cli]"