Hexel client exposes sub-clients for each product area. This page lists every namespace and method.
Client
Compute
Orchestration
Tools (Tool Gateway)
The top-levelclient.tools namespace provides full Tool Gateway access.
Agent runtime
client.runtime provides helpers for building agent applications that run on Hexel Compute.
LLM instrumentation
Auto-instrument OpenAI and Anthropic calls for telemetry:Streaming
The SDK streams in two places:- Task events — iterate
client.orchestrator.task.stream(task_id)to receive SSE events (task.state,runtime.delta,task.complete, …) as a task runs. - Sandbox execution —
client.compute.sandbox.execute(...)runs code or commands and returns the collected{ "output", "status" }.
Testing
For automated tests, exercise the SDK against real sandboxes (allocate, execute, release) or stub the HTTP layer in your own test suite. Use a separate API key scoped to a non-production environment so tests never touch production resources.Next steps
Error Handling
Retries, timeouts, and errors.
Examples
End-to-end examples.

