Skip to main content

Install

Requires Python 3.10+. The SDK depends on httpx and websockets. Optional extras:

Verify

Configuration

The Hexel client accepts these options:
string
API key. Or set HEXEL_API_KEY.
string
OAuth client ID (with client_secret). Or set HEXEL_CLIENT_ID.
string
OAuth client secret. Or set HEXEL_CLIENT_SECRET.
string
Default workspace for tool operations.
float
default:"30.0"
Per-request timeout in seconds.
string
default:"https://api.hexelstudio.com"
API gateway base URL (orchestration, tools, registry).
string
default:"https://api.hexelstudio.com"
Compute API base URL (sandboxes, instances, registry).
string
default:"https://sts.hexelstudio.com"
Token service URL.

Authentication

Provide credentials directly or via environment variables:
The SDK exchanges credentials with the STS for a short-lived token (15 min) and refreshes it automatically.

Next steps

Continue to the Quickstart.