Skip to main content
The SDKs wrap the REST API so you can work in Python or TypeScript without constructing raw HTTP requests. They handle authentication, token refresh, and pagination for you. The CLI handles infrastructure tasks — deploying agents, managing sandboxes, checking usage — from your terminal. Pick whichever fits your workflow. Hexel Studio offers official SDKs for Python and TypeScript, plus two command-line tools. Each provides programmatic access to Compute, Orchestration, and the Tool Gateway, with authentication and token refresh handled automatically.

Choose your tool

Python SDK

pip install hexel — Python 3.10+

TypeScript SDK

npm install hexel-sdk — Node.js 18+

CLI (hexel)

Infrastructure and resource management from your terminal.

SDK coverage

There is no client.compute.instance.deploy() in either SDK. Deploy instances via the REST API or the hexel CLI. The SDKs manage instances after deployment (list, get, stop, redeploy, delete).
The Data Platform (knowledge, memory, connectors) is accessed via the REST API and Console, not the SDKs.

Two CLIs

Authentication

All clients support both methods and read the same environment variables:
See Authentication for details on token exchange and refresh.

Next steps

Pick a tool above, or start with the Python SDK quickstart.