Switchboard in Python Coming soon

The Python SDK is being prepared for release and is not yet on PyPI. Every Switchboard endpoint is plain HTTP, so Python works today with any HTTP client:

import os

import httpx

response = httpx.post(
    "https://switchboard.valni.app/v1/switchboard/inference",
    headers={"Authorization": f"Bearer {os.environ['SWITCHBOARD_API_KEY']}"},
    json={
        "model": "claude-sonnet-5",
        "messages": [{"role": "user", "content": "Hello, Switchboard."}],
        "user": "end-user-id",
    },
    timeout=60.0,
)

print(response.json())

Get a key in Switchboard account settings, or start from the pi quickstart or the Swift quickstart. Email hello@valni.ai to hear when the SDK ships.